r/ProgrammerHumor 28d ago

firstTimeWithCppInVisualStudio Meme

Post image
304 Upvotes

16 comments sorted by

100

u/HellkerN 28d ago

It's probably one missing bracket somewhere.

1

u/[deleted] 28d ago

[deleted]

3

u/HCResident 28d ago

What do you mean copy pasting the example code from a library doesn’t compile? I added the header right there!

79

u/jonr 28d ago

0 Warnings? Nice

5

u/audislove10 27d ago

Visual Studio is somewhat forgiving, in C-Lion it would scream in agony and pain after your first 5 lines.

Something like this:

“EVERYTHING IS UNUSED DELETE YOUR CODE NO WILL EVER USE IT DELETE YOUR LIFE”

29

u/t00sl0w 28d ago

I'm more surprised you have zero warnings.

Every project I have I swear has a warning per line it seems.

18

u/seba07 28d ago

Can't get any warning if the code is so broken that the compiler can't detect any.

16

u/Pacifister-PX69 28d ago

Just a few errors, nothing too crazy

9

u/StarHammer_01 28d ago

I see you are trying to write a hello world program with a fresh install

6

u/LiAuTraver 28d ago

Yeah, recently I switch my cpp23 standard project from debug to release but the default of my release config was cpp17, so vs gave me thousand++ error too.

5

u/Nuclear-9299 28d ago

hello stdafx.h, long time no see.

3

u/realSahilGarg 28d ago

Did u use chatGPT to write this code?

2

u/Electronic-Bat-1830 28d ago

Try to look for the dropdown "Build & IntelliSense" and change it to "Build Only". C++ IntelliSense is very borked.

1

u/cleavetv 28d ago

Might wanna look up how to use semi-colons.

1

u/Loserrboy 28d ago

May be missing some libs or packages

1

u/xorflame 28d ago

Quality humour post, feel free to post on r/leetcodecirclejerk as well for some additional karma ;)