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

C++ extension

Joined
Dec 2, 2009
Messages
3,351 (0.64/day)
System Name Dark Stealth
Processor Ryzen 5 5600x
Motherboard Gigabyte B450M Gaming rev 1.0
Cooling Snowman, arctic p12 x2 fans
Memory 16x2 DDR4 Corsair Dominator Pro
Video Card(s) 3080 10gb
Storage 2TB NVME PCIE 4.0 Crucial P3 Plus, 1TB Crucial MX500 SSD, 4TB WD RED HDD
Display(s) HP Omen 34c (34" monitor 3440x1440 165Hz VA panel)
Case Zalman S2
Power Supply Corsair 750TX
Mouse Logitech pro superlight, mx mouse s3, Razer Basiliskx with battery
Keyboard Custom mechanical keyboard tm680
Software Windows 11
Benchmark Scores 70-80 fps 3440x1440 on cyberpunk 2077 max settings
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
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
26,956 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
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.
 

MrSeanKon

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

Attachments

  • extensions.png
    extensions.png
    80.8 KB · Views: 378
Top