Linux C++ Programming

Discussion in 'Linux - General discussion' started by IrishCola, Dec 14, 2011.

  1. IrishCola

    IrishCola Member

    Joined:
    Nov 25, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    11
    Hi I was just wondering whats the difference in programming C++ on Linux Compared to Windows?
     
  2. ps355528

    ps355528 Active member

    Joined:
    Aug 17, 2010
    Messages:
    1,071
    Likes Received:
    28
    Trophy Points:
    78
    nothing at all .. C++ is a programming language and those of us who do any at all usually just use a plaintext editor.
     
  3. ps355528

    ps355528 Active member

    Joined:
    Aug 17, 2010
    Messages:
    1,071
    Likes Received:
    28
    Trophy Points:
    78
    but that is about the specifics of coding "for" the different platforms.. not the methods of actually writing the code.. using as the writing platform wincrap, linux, unix, beos.. whatever. I script in python, perl and ruby.. platform independent where possible.. anybody who hacked an old black xbox has probably used a couple of applications I wrote with Ruby for that platform.. I don't code for wincrap at all.. who would?.. it's proprietary garbage and the sooner it and it's oneclick obsessed sheeple are gone the better the world will be.

    it puzzles me why people even come asking such totally off mission questions here in a dead area of an entertainment oriented site.. there must be better places... unless of course it's spambots...
     
  4. ddp

    ddp Moderator Staff Member

    Joined:
    Oct 15, 2004
    Messages:
    39,167
    Likes Received:
    136
    Trophy Points:
    143
    spammer spammed
     
  5. jasonbrien

    jasonbrien Member

    Joined:
    Apr 2, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    11
    C++ is a programming language which is always same in every platform.
     
  6. shoppers

    shoppers Member

    Joined:
    Sep 11, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    11
    C++ is just a computer programming language that is well defined in the norm ISO/IEC 14882:1998. So every compiler which calls itself C++-Compiler will be able to interpret the syntax, that the grammar (specified in that norm) produces -> No syntax-difference!

    So the main-differences you will come across, are the supplied libraries, tools and frameworks; No MFC on Linux ;-) As long as you use standard C++, your program will compile under Windows as well as under Linux or any other environment. If you are interested in "cross-platform C++" you may want to take a look at a project called widgets (ask Google) that wraps platform-specific things like thread-, mouse- and display handling in a common way, so that you are able to build even cross-platform GUI-Apps.
     

Share This Page