Write to file #agl #koi #permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone, I developed a custom service, now I want to save the current status as a JSON file.
The code seems to work fine, but the result is a blank file. How it is possible? Can you help me? My code is shown below:

void writeFile(){
  std::ofstream o(f);
  o << std::setw(4) << out << std::endl;
  o.close();
}

The blank file has already installed together with the service.

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#9283) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Mute #agl | Mute #koi | Mute #permissions
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux