Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Help with C++ 2010 Express

  1. Apr 25, 2010 #1
    Does any one know where I can find lists of the names of functions, header files and key words along with the definitions and uses? I have no information beyond about 1985. I am sure there are some that were kept through the ANSI changes but I rerally need those and the only book I found hasn't been released yet.
    All my writing of software is from 25 years ago and I am going to finally bring myself out of the twentieth century (DOS) and into the twenty-first (Windoze).
    I am going to be writing (re-writing) software for myself (as I have always done) and they are stand-alone applications with print functions and database files. I don't know if the applications will need DLLs or not but I would imagine that having them would reduce the complexity of the applications.
    Thanks for any assistance,
  2. jcsd
  3. Apr 25, 2010 #2

    There are at least 4 C++ compilers in use. (gnu, microsoft (visual c++/cli), Borland and Intel) There is a limited standard library, and you'll find a link to the respective committee in the corresponding wikipedia article. There are tons of open libraries for everything you have to scrape together from all around the net. Many people use the boost libraries. If you want to use microsoft stuff there is the microsoft developers network, where all of their libs and apis are documented, but their stuff costs money.

    I am not quite sure what your plans are. Programming applications with buttons to click is a very different way of programming. If you think about learning this I would like to encourage you to learn a newer garbage collected language like C# or java, it won't cost you much more time. The programs look almost identical to c++, and unless you are very sophisticated you won't notice a speed difference, but programming is much faster.
    Last edited: Apr 25, 2010
  4. Apr 25, 2010 #3
  5. Apr 26, 2010 #4


    User Avatar
    Homework Helper

    Download and install one or more of the free C/C++ compilers / development enviroments, such as Visual C++ express. In the case of visual C++ 2010, there's a console window link that will place you in the main VC directory. From there you can "cd" to include, and see a list of include files. Look for ones similar to what you're old programs used, then browse inside the include files to search for library function names. Most of the name changes to the really old stuff are minor.

    I did find that cgets(), now called _cgets(), is broke and was not planned to be fixed in VS 2010, even though the bug was reported years ago. The last version I know that works was Visual C/C++ 4.1. It would be possible to create a replacement for it with a slight variation in the name, but I use VC 4.0 or 4.1 for old code, since I rarely need to debug the old stuff.
  6. Apr 26, 2010 #5
    I am planning drop down windows that get their contents from files (user editable text) and page scroll for long pages. It will have to be menu driven to some extent because the program will switch between input and output windows. It will contain a database that the user generates from inside the software, config files for screen colors and formats. The main output is going to be generated by a recursive algorithm and will be capable of generating up to 1000 lines of output for a single "page".

    I am not really interested in C# or java as this will be a stand-alone application with no "outside" dependancies (other than Windows OS).

    I have downloaded Visual C++ 2010 Express. Since I am writing for Windows it seems best to use the MS IDE. If _cgets() is broken can you use the cgets() instead? ( I believe I used getch() for all my input but I will have to check to be sure.
    Jeff, I should tell you that the original programs were written with Borland C++ and the differences that exist make it difficult to get "similar" function names.
    Last edited: Apr 26, 2010
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook