I know this is a ridiculous question but I'm new to C programming (actually just started learning it about two weeks ago so I don't know very much!)
Issue: My professor is using a PC, I use a mac.
They are running Visual C++ express and I'm running Xcode.
The course guide states anyone using a compiler other than Visual C++ express must include the correct set of preprocessor files so that the program will compile and execute in Visual Studio C++ 2008 or greater.
What exactly are the preprocessor files, is it the .cpp file?
Will a .cpp file run in any C compiler?
What must I do to ensure my professor can open and execute my C++program that I built in Xcode and that he will be opening in Visual C++ express?
Thanks for the response Zephilinox!
I thought that was the case about not being able to open it in windows so this is why I don;t understand what he means. I tried contacting him but no response and the lab is do tonight so I'm trying to figure it out myself hoping someone else knows how this would be possible.
So if I just send him a .cpp file he wouldn't be able to open it because he's on a PC and I'm a Mac. You would think that as long as it's in .cpp format that anyone with a c compiler could open it?