1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

C++ extension

Discussion in 'Programming & Webmastering' started by Aleksander, Nov 30, 2012.

  1. Aleksander

    Dec 2, 2009
    3,261 (1.55/day)
    Thanks Received:
    Hi all!
    As learning more C++ means learning more tackles,
    I was seriously thinking of renaming all the .cpp files to .CPP in the future,
    but before doing that i guess is better to ask.
    Is it true that .CPP is more compatible with all the OS versions?

    If you know about .C than its ok, you can give your cents
  2. W1zzard

    W1zzard Administrator Staff Member

    May 14, 2004
    15,622 (3.78/day)
    Thanks Received:
    that's just because unix file systems are case sensitive ... so .CPP != .cpp

    pick one convention and stick to it. stuff like .cPp = bad

    as soon as you start using any windows api functions your code isnt portable anymore.
    Aleksander says thanks.
  3. MrSeanKon

    MrSeanKon New Member

    Nov 14, 2006
    267 (0.08/day)
    Thanks Received:
    Athens in love with Anna :)
    The photo is taken from C++ Primer Plus by Stephen Prata (Waite group => famous in 80s & 90s).

    Attached Files:

    Aleksander says thanks.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page