Okay, so I started learning C++ very recently and so far I've got the "Hello World!" program memorized. I'm still not perfectly sure what each and every line does but I have a bit of an idea. I know that I got all of the statements (correct me if they're not called statements :P and congradulate me if I'm right!) but Visual C++ 2010 says it failed!
When I goto build solution it says 0 solutions and 1 fail... Anyone wana tell me what's wrong? I mean if I debug it then it works but debugging doesn't change anything and just stays the same but becomes successful and runs the program... I use Win32 Console Application.
Posts 1–9 of 9 · Page 1 of 1
Post a Reply
Tags for this Thread
None
What Error does it give you?
Like whit said, provide the error.
Don't use win32 console application.
Create a blank project, and on the right or left, right click the folder called 'source files' , add, new item. click C++ file and name it.
The code is right so u must be compiling it wrong. My advice? deselect precompiled headers next time you make a console app.
what why said... or keep precompiled headers and dont change the _tmain() or whatever the default function was, to main. Cause theres nothing wrong with ur code..
Also if u have trouble figuring out what the lines mean read the last thread you made here. I gave a retardedly long explination and you didnt even read it </3
Originally Posted by mookamoka3
what why said... or keep precompiled headers and dont change the _tmain() or whatever the default function was, to main. Cause theres nothing wrong with ur code..
Also if u have trouble figuring out what the lines mean read the last thread you made here. I gave a retardedly long explination and you didnt even read it </3
I actually did read it but all I could rlly figure out was the end lol <3
Originally Posted by mookamoka3
what why said... or keep precompiled headers and dont change the _tmain() or whatever the default function was, to main. Cause theres nothing wrong with ur code..
Also if u have trouble figuring out what the lines mean read the last thread you made here. I gave a retardedly long explination and you didnt even read it </3
I actually did read it but all I could rlly figure out was the end lol <3
Originally Posted by Unicow
I actually did read it but all I could rlly figure out was the end lol <3
I actually did read it but all I could rlly figure out was the end lol <3
(in other words, this has been solved)
Originally Posted by freedompeace
(in other words, this has been solved)
No... All he did was tell me the functions of each line... This has nothing to do with my problem...