GCC & the XCode toolset fully support the standard C and C++ languages. MSVC still didn't have complete C++ compliance last time I used it, but that was some time ago. In any case, the deviations are small and adapting 'proper' C++ code takes a very small amount of time. There are also versions of GCC for Windows such as. There aren't any IDEs as nice as XCode, but there are several that are usable. I'm no expert so I don't want to suggest anything. What you obviously won't be able to do is develop programs that are intended to use Microsoft's specific Windows libraries, which roughly means anything that performs operations you wouldn't expect a text based operating system to perform. There are third party libraries that let you do things like create and manipulate windows in sufficiently generic ways to build on both Mac and Windows, but I suspect they'll be outside of the realm of your course. So, it really depends what your course is about. If it is more about the normal language without any Microsoft extensions - e.g. Data processing, manipulation, advanced calculations, etc - then you won't have any problem. If it starts to head into 'we're going to design our window here, then make it work by writing this code.' Or 'we'll display the output in a simple message box' then you probably won't be able to use a Mac for development - but it is still worth looking into the Windows versions of GCC. The programs are very simple, such as the one I am working on now: Write a program that writes to a file, projectile.txt, a table that shows the height of a projectile launched straight up, for each second from launch time (time zero) until the projectile hits the ground. The last entry in the table should show a projectile height of 0. The height after t seconds is given by: S = Vot -1/2gt^2 Very basic, easily coded in a few minutes but it does use Command Prompt in Windows, which is why I wasnt sure if OSX has a similar Command Prompt (maybe Terminal or something? Eclipse mars free download - Eclipse Classic (32 bit), Digital Mars C/C++ Compiler, Eclipse Classic (64 bit), and many more programs. Before you begin. Depending on how you obtained the CDT, you might have also received a toolchain with a built-in CDT integration. If you downloaded the CDT from the Eclipse web site, then you will require a toolchain before you can build and debug any projects. The standard CDT supports integration with the GNU toolchain. Gcc compiler. ![]() ) I guess I will just open up Xcode and see what happens.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2019
Categories |