If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hybrid View

C++, help, beginner with C++

Hello, I am just beginning C++. Although, I am only finding tutorials that use other programs to type in the code. Can I type this with any text editor like PHP/HTML/XML. If so, what extension do I use to save it. Oh, and one last question, its not needed, but if you want, could someone give me any links to great tutorials. Thanks!
Thanks for reading and/or helping me out!
-Cobra

I suppose you could use any text editor for writing your c++ code (the extension for c++ files is .cpp) but you'll still need a compiler to process your code and give you an executable file. I'm a newbie at c++ too, i use the Bloodshed Dev-C++ IDE and i like it, give it a try:

ya, I already have that, I already use that decompiler. I have run into another problem though. When I get a program decompiled and run it, the DOS window or whatever will pop up and close, like a blink. I'm doing simple programs right now, here, look here. I'm confused with this, I need some online tutoring, anyone know of anyone that can help me on any IM or something?
Thanks,
-Cobra

You probably already found the solution but, just in case: use cin.get() at the end of your code to make the program wait for some input, thus giving you time to see if the prog did what it was supposed to do.