Hallo.
My program keeps bombing out with an Illegal Operation message whenever the code on line 5 (following) is attempted:
1) string build_str;
2) char buffer[255];
3) ifstream file("ini_file.ini"
4) file.getline(buffer,255);
5) build_str=buffer;
This has been working okay so far, so I can only assume a wierd bug of some description.
Has anyone come across this & does anyone have any ideas for workarounds?
Any help gratefully received.
Cheers,
Douglas JL
Common sense is what tells you the world is flat.
My program keeps bombing out with an Illegal Operation message whenever the code on line 5 (following) is attempted:
1) string build_str;
2) char buffer[255];
3) ifstream file("ini_file.ini"
4) file.getline(buffer,255);
5) build_str=buffer;
This has been working okay so far, so I can only assume a wierd bug of some description.
Has anyone come across this & does anyone have any ideas for workarounds?
Any help gratefully received.
Cheers,
Douglas JL
Common sense is what tells you the world is flat.