User forums > General (but related to Code::Blocks)
Files on Mac
(1/1)
Aniudean001:
Before asking the question, I have to say that I don't know much about codeblocks, I'm still in high school and the Windows pcs there have no problem in reading files. My Mac does.
So:
#include <iostream>
#include <fstream>
using namespace std;
int main()
{ ifstream f("file.in");
int x;
while(f>>x)
cout<<x;
f.close();
}
This is a simple example of what I know of these files, I know how to create it, but it just won't work as it does on a Windows pc.
And I have absolutely no idea how to make it work.
Please help!
BlueHazzard:
and we have absolute no idea what you want and what your problem is....
Please give more information...
yolo_ninja:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
yolo_ninja:
I'm in high School to and learning c++, if you want PM me, glad to talk and help each other.
Navigation
[0] Message Index
Go to full version