Author Topic: Files on Mac  (Read 1389 times)


  • Guest
Files on Mac
« on: March 17, 2018, 09:16:31 am »
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.
#include <iostream>
#include <fstream>
using namespace std;
int main()
{ ifstream f("");
int x;

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!

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2773
Re: Files on Mac
« Reply #1 on: March 17, 2018, 12:05:31 pm »
and we have absolute no idea what you want and what your problem is....
Please give more information...

Offline yolo_ninja

  • Single posting newcomer
  • *
  • Posts: 5
Re: Files on Mac
« Reply #3 on: April 19, 2018, 07:56:04 am »
I'm in high School to and learning c++, if you want PM me, glad to talk and help each other.