Visual or no?(C++)
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Visual or no?(C++)

  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    72

    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!
    http://www.outwar.com/page.php?x=812668

    i brake for flipper babies

  2. #2
    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#.

  3. #3
    Senior Member
    Join Date
    Mar 2003
    Posts
    245
    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.

    Good luck.
    Get OpenSolaris http://www.opensolaris.org/

  4. #4
    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.

  5. #5
    Senior Member
    Join Date
    Apr 2003
    Posts
    147
    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.

  6. #6
    Senior Member
    Join Date
    Nov 2001
    Posts
    472
    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.
    ---
    proactive

  7. #7
    Senior Member
    Join Date
    Mar 2003
    Location
    central il
    Posts
    1,779
    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?

  8. #8
    Senior Member
    Join Date
    May 2002
    Posts
    344
    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

  9. #9
    Junior Member
    Join Date
    Apr 2003
    Posts
    26

    Agreed!

    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!
    Good luck...
    Life would have been alot easier if I had the source code!

  10. #10
    Senior Member
    Join Date
    Feb 2003
    Posts
    211
    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 .
    When I lay me down to sleep, Pray the LORD my soul to keep.
    If I die before i wake, Pray the LORD my soul to take.

    http://www.AntiOnline.com/sig.php?imageid=389

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •