Find the answer to your Linux question:
Results 1 to 2 of 2
I am undergoing a training program on C++ .My College has demanded a project of C++ on Linux, but my company (from where i am taking training) is providing me ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    26

    C coding windows-linux

    I am undergoing a training program on C++ .My College has demanded a project of C++ on Linux, but my company (from where i am taking training) is providing me C++ training on windows, NOT LINUX. If I make a project there (on windows), then how can I convert code for Linux??

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by swamilfy View Post
    I am undergoing a training program on C++ .My College has demanded a project of C++ on Linux, but my company (from where i am taking training) is providing me C++ training on windows, NOT LINUX. If I make a project there (on windows), then how can I convert code for Linux??
    As long as you're not making any Windows-specific system calls (like COM objects or the Windows graphics toolkit) your code will be portable. All you would need to do is recompile it using the Linux version of your C++ compiler. Command-line C/C++ is pretty system transparent for the most part.
    Registered Linux user #270181
    TechieMoe's Tech Rants

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...