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

    Joined:
    Dec 2, 2009
    Messages:
    3,254 (1.87/day)
    Thanks Received:
    304
    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

    Joined:
    May 14, 2004
    Messages:
    14,796 (3.93/day)
    Thanks Received:
    11,503
    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

    Joined:
    Nov 14, 2006
    Messages:
    267 (0.09/day)
    Thanks Received:
    69
    Location:
    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