www.webdeveloper.com
Results 1 to 9 of 9

Thread: C++, help, beginner with C++

  1. #1
    Join Date
    Aug 2005
    Location
    Arizona, USA
    Posts
    59

    Talking 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

  2. #2
    Join Date
    Oct 2005
    Posts
    6
    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:

    http://www.bloodshed.net/download.html

    good luck

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona, USA
    Posts
    59
    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

  4. #4
    Join Date
    Jun 2004
    Location
    4846′36″ N 910′48″ E
    Posts
    3,747
    it's actually a compiler and not a decompiler.
    A good ressource is 3dBuzz: register for free, and you can get the c++ training VTM for free. It's really cool!

    oh, and by the way, your sig sucks!

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona, USA
    Posts
    59
    I know Dev-C++ is a compiler, that's why I have it and you didn't answer my question when I asked what was wrong with the program I was working on.

  6. #6
    Join Date
    Jun 2004
    Location
    4846′36″ N 910′48″ E
    Posts
    3,747
    ...and i didnt say i would, i just gave a link to a faboulous resource

  7. #7
    Join Date
    May 2004
    Location
    Manhattan NY
    Posts
    6,028

  8. #8
    Join Date
    Jun 2004
    Location
    4846′36″ N 910′48″ E
    Posts
    3,747

  9. #9
    Join Date
    Oct 2005
    Posts
    6
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles