Free for PREMIUM members
Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
BYTE *buf = new BYTE;
delete  buf;
Open in new window
// The data we wish to write to file
std::string sData("Hello world");
// Open the file as a stream (destructor will close for us)
// If file was opened ok...
// Write out data to it
ofs << sData;
// If write error then report it
std::cerr << "Failed to write data" << std::endl;
ofstream os("bytedata.dat", ios_base::binary);
while(oEditStreamImpl->isActive_ && --count)
Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.