Thread: New to C++

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    34

    New to C++

    Hey All, I am new to C++ and I am beginning to write some things using the Dev-Cpp, I have been making my things in MS-DOS prompt, so once my program has been opened, it opens in that (YAY).

    Okay but I have a few questions, 1. How can I make a program? 2. How can I make a search for MS-DOS prompt? 3. How can I make a search program?

    If anyone can help, it would be grateful.

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I don't think I quite get you here.
    How can I make a program? You use the IDE (dev-cpp), write code and compile and you have your app.
    And 2 & 3? What do you mean?

    I'm assuming you're talking about console apps, not MS-DOS because that's ancient and doesn't exist in modern OSes.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Mar 2008
    Posts
    34
    Yes, I mean console, so when you double click the program it comes up with a screen, and you click search for games (Example) and it looks in your C drive for any file with "Games" in its file.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    When you mean "click," I assume that's a GUI, not a black screen where text comes up and you type in values and such?
    Like explorer. You can bring up find, type what to find and then search. That kind of thing?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User
    Join Date
    Mar 2008
    Posts
    34
    Exactly! You no what I mean! So can you help me? It would be great if you have tell me and add me and you probably could go through it with me.

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Well, that's somewhat complicated. The GUI realm of C++ is very complicated and requires a lot of prior experience with the language.
    All newbies are recommended to learn the basics with console apps first until such time comes that they've mastered the underlying language before attempting a GUI.
    I'll have to recommend the same because a GUI is not easy to make.

    BUT! There are other alternatives. You can try another language, such as C# or Visual Basic, since they can allow you to jump get-go into making GUIs.
    Unfortunately, I cannot help with those languages since I am unfamiliar with them.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed