Member Avatar for GreenDay2001

I have just started with Visual C++ 2005 Express Edition. I have also installed Platform SDK with it. I have few questions:

  1. I couldn't see line numbers, or gutter on the editor. How could I toggle gutter/line numbers.

  2. I saw the include directory of the VC. I saw that several header files are without extensions such as iostream. And there are several other header files too with .h extension such as conio.h, dos.h etc. I know that we could declare header files with #include<iostream> or #include<iostream.h>. But what does this mean. Previous version i.e. VC6 didn't had anything like this.

  3. Platform SDK includes MFC, so does VC2005 express supports MFC.

Recommended Answers

All 4 Replies

1) seet tools->options->text editor->all languages->line numbers

2) using #include <iostream> is the preferred way for C++ for standard library includes, #include <iostream.h> is deprecated.
The major difference is that the first uses namespaces heavily, the second doesn't for backwards compatibility reasons.

3) You can write MFC code, but you won't get "wizards" and "designers" for your screens, you'll have to do them by hand.

Member Avatar for iamthwee

Don't bother with MFC.

Don't bother with MFC.

You will probably have to know it because there are millions of programs out there that use it. I use MFC all the time and don't have a problem with it any more -- it has a very very steep learning curve, up to a year ot more. Today, new projects would be easier if written with C# or Forms.

Member Avatar for GreenDay2001

Another question, I saw in VC 2005 Express web page that it supports Designing, i.e. insert controls in the Window and all. Whats that, cause it does not support Designing.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.