C/C++ Where can I find information on C++ 2010 Express for a software rewrite?

  • Thread starter Thread starter PaulS1950
  • Start date Start date
  • Tags Tags
    C++
AI Thread Summary
The discussion centers on finding updated resources for programming in C++, specifically lists of functions, header files, and keywords, as the original poster seeks to modernize their software development skills after a long hiatus. They express a need for information that accommodates ANSI changes and mention challenges with transitioning from older programming practices. Several participants highlight the existence of multiple C++ compilers, including GNU, Microsoft Visual C++, Borland, and Intel, and suggest utilizing the Microsoft Developer Network for documentation on libraries and APIs. The conversation also touches on the advantages of learning newer languages like C# or Java, which offer garbage collection and faster programming experiences, although the original poster prefers to stick with C++ for standalone applications. They have downloaded Visual C++ 2010 Express and are exploring its features, while also addressing specific issues with legacy functions like _cgets(). The discussion emphasizes the importance of adapting to modern programming environments while maintaining compatibility with older code.
PaulS1950
Messages
151
Reaction score
0
Does anyone 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,
Paul
 
Technology news on Phys.org
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3035.pdf

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:
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.
 
Ox,
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".

Rootx,
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).


Jeff,
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:
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top