April 26th, 2003, 05:53 AM
Visual or no?(C++)
im currently learning visual C++ and i want to know if i should start learing Visual C++ or just plain old C++? what would be the benefits of the better choice? thanks!
i brake for flipper babies
April 26th, 2003, 06:25 AM
You should learn plain old C++. Most text books that I have (I have a lot of them) teach plain old C++. Visual C++ is a compiler. In order to execute your code you need a compiler. To learn how to use this compiler itself is a challenge. So, you better start with C++ first before you learn how to use all the features in your compiler.
To use "plain old C++" that is in your text book, all you need to do is to open your new file in your Visual C++, click File, then click C++ source file. You can type all your C++ codes here & compile & execute it.
I have Microsoft Visual Studio 6 Enterprise Edition & now they come out with Microsoft Visual.NET. I bought the enterprise edition also. Damn it! I haven't mastered the old version & now they want us to learn the new one like C#.
April 26th, 2003, 06:32 AM
I agree with Shakira, and would simply add that if you intend to be a straight-up Windows coder, then it doesn't hurt to start learning the (dark and obfuscated... ) Win32 API and MFC, most Windows programs of any value written in C++ will use either or both of these.
Get OpenSolaris http://www.opensolaris.org/
April 26th, 2003, 07:53 AM
well both of these languages are great i believe you should learn both but i would be better for you to learn c++(plain)first as far as vc++ is concerned it is simply wonderful for windows OS.from network programming to system programming from hacking tools to antihacking tools you can create every possible application including virus.but if you want to program in linux or unix OS i will say c++(plain) is the best choice.
April 26th, 2003, 08:35 AM
Since it seems you already have, or have access to visual C++, I would recommend starting with Console applications and leaving the visual windows stuff until you have a very firm and comfortable understanding in basic C++. Since the "(dark and obfuscated... ) Win32 API and MFC" is nothing but a specific extension of C++, it's only natural to learn the base, then the extentions. This way, if you decide to move to other platforms like *nix (you will if you konw what's good for you ) you should have little problem, as you will only be learning another extension to the foundation of knowledge you've already created.
hope that helps.
April 26th, 2003, 10:17 AM
The win32api is not based on c++ but c. Most people access it from a c++ environment, though. Shakira: Visual C++ is not a compiler but an IDE.
UpperCell's adivice is a good one, start with creating console applications in Visual C++. Then, when you know the basics of C++ (control structures, object orientation, inheritance etc.) you can move on creating graphical applications using MFC or the win32api. Maybe you at that time want to move right on to the .Net extensions in Visual C++, that might be a good choice. After all, Microsoft say they will abandon MFC in a few years.
First console, then graphics is the usual way of learing c++ in any university I've heard of, and should be a good choice.
April 26th, 2003, 01:02 PM
Its easy to go from knowing C++ to VC..its significantly harder to go the other way. So if you only ever want to learn one lang go with VC, otherwise go with c++.
Also watch your focus, don't worry as much about syntax at first, you need to learn how to program, for most professional programmers the lang is irrelevant and they can pick up a new lang. in a week to a month(a month if you are going from a functional background like c or perl to say a procedural like LISP). This is because the underlying principles of all langs are the same its just the syntax you need to figure out.
Who is more trustworthy then all of the gurus or Buddha’s?
April 27th, 2003, 05:31 AM
proactive is right...Visual C++ is not a compiler but an IDE. First start off by learning C++. Then when you feel that you have mastered the basic concepts, and feel prepared for the next level, you should get into vc++ and master that...
Support your right to arm bears.
^^This was the first video game which i played on an old win3.1 box
April 27th, 2003, 01:04 PM
I agree with most of the programming geeks here, that one should learn c/c++ first then go to the Visual one. I believe that the libraries of Visual C from M$ is not upto the task, so if you really want the real strength---------go for c++.
VC is good to have for some extra advantage for your help and ease, but you should first learn the rules to break them properly. Now, go to the market and buy a good book on C++... I think a month is enough to learn basics of C++, extra hard can pay you off...
If you ask me, I'll always say, learn C++ first. It's easy!
Life would have been alot easier if I had the source code!
April 27th, 2003, 01:40 PM
C language is great language .. i agree with shakira either to start learn from old C and then Vs C . you can use cprogramming.com to learn more about that .