Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
I'm developing in c++ but yet need to use FILE * from c (I know fstream option) I want to read line by line [code] string str; char* line; while(!feof(file) && FIleLength(file)>0 && fgets(line, 1024, file)) { str=line; str.append("hi"); fputs(str.c_str(),file) } [/code] I have a few concerns: 1) What if … |
|
I use in my code (c++) CopyFile and DeleteFIle do these fumctions throw exceptions? do I need to surround them with try and catch?:) |