Author Topic: Cross platform compatibility  (Read 2272 times)

Offline kevdawg86

  • Single posting newcomer
  • *
  • Posts: 2
Cross platform compatibility
« on: August 25, 2015, 07:07:12 am »
I am new to programming and new to code blocks. What I'm needing to find out is if code blocks is cross compatible. I am taking a C++ class at my college and they are using code blocks on Windows 7 machines but I have a MacBook pro at home. If I work on code at home will it transfer over to my school computer and vice versa? I just wanted to check into this before I worked on a bunch of code only to find out it won't transfer. Thanks for any help you can provide.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Cross platform compatibility
« Reply #1 on: August 25, 2015, 07:23:10 am »
In general yes !
But different compilers might need different settings.
If that's the case (most likely) you can have a project-file and create platform-specific targets in it.
It might also work to have a different project-files and only share the sources/headers.