how do you run a program made in c++. when i click run, it says "c:\ document and settings... text1 file not found" and all sort of crap. when i click compile it says "no compile tool associated with the file extension". is it because i need a compiler. and where can i get one. it's like looking for graphic, they keep sending you to another site, and you end up with nothing.
you have to save the files as .c or .cpp or it won't compile them
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
yes i dont have any idea on what i do. i just had the money, and then bought the dam thing.
i managed to track down this site
http://www.bloodshed.net/dev/devcpp.html
but the link is broken.
but how do i save it as a c or cpp file.
Ignore the other thing I said, this will do that for you. And yeah, you'll need a tutorial like Tigs said, otherwise you're just jumping into the deep end
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
okay i finally got it, but what do i do now. all of those beginner tutorials doesnt explain shit. they say this tutorial is for people there dont even know what scripting is. then they give you a short explain on what the c++ is. then they start giving you those examples there print text to the screen. then they say now run it. congratulations you just made your first c++ program. when they tell it's a newbie tutorial why the hell cant they exlpain how you run it.
i still cant run it. i can run it from dev but it's the same thing with c++.
It's teaching you how to make C++, not how to use a compiler. Different people use different compilers and editors.
In Dev-C++:
1. Start a new project, and pick console application
2. Edit and save Main.cpp. You know how to save, right?
3. Go to Execute -> Compile to make it into an exe
4. Run the exe yourself or go to execute -> run
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
Yeah, C++ is just a language. A compiler turns C++ code into something you can run on a computer. Same goes for any other language... BASIC, PASCAL, COBOL, and even MMF/TGF/KNP to an extent
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G