#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Location
    Quebec, Canada
    Posts
    4
    Rep Power
    0

    Don't waste your time coming (double-topic)


    ...
    Last edited by Appollo; August 20th, 2003 at 11:17 AM.
  2. #2
  3. No Profile Picture
    status unknown
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    262
    Rep Power
    12
    It's certainly possible to learn C++ as a first programming. That said, it is a complex language, but there's no reason why it can't be your first. Many other languages could also equally well be your first language, so you need to consider what you're trying to achieve. If you're happy so far with C++ from what you've learnt then by all means stick with it.

    As for tutorials, they vary greatly in quality. In my opinion you're much better off investing in a beginners book. It will always be there for you as a reference, and will usually cover all of the basics of the language. There's a large number of beginners books to choose from, and most of them are reasonably priced so money shouldn't be too much of an issue.

    As you progress, you'll want to add additional books to your collection - there's no single book that I've seen that will teach you everything you need to know about C++. But a beginners book will get you off to a better start than online tutorials IMO.

    And hang around in forums such as this, or a relevant newsgroup, for help when you need it.

    [Edit:- ah, you deleted your post text while I was writing ;-) ]
  4. #3
  5. Contributing User

    Join Date
    Aug 2003
    Location
    UK
    Posts
    5,114
    Rep Power
    1803
    C and C++ cover all the bases from systems level and embedded programming to full blown desktop applications, and in that respect you cannot go wrong. However because of thier general purpose nature, they may not be the quickest way of producing some applications.

    Having said that products like Borland's C++ Builder and to some extent Visual C++ help improve productiviy in visually rich applications. (I have heard that C++.Net is better in the RAD department).

    C and to a lesser extent C++ (of which C is a subset) compilers are available for the widest range of processors and platforms, for that reason if you wish to (one day) program professionally, and especially if you are interested in embedded systems, then C/C++ are the languages to learn. If you will only ever code desktop applications, then whatever gets the job done. Programming for the Web particularly may require learning a wider range of more specialist programming and scripting languages, such as Java for example, but learning C++ first will do no harm.

    For a tutorial see http://www.cplusplus.com. Note however, that the tutorial strictly adhere to ANSI standards, and the MinGW CGG compiler that DevC++ uses is rather strict about compliance. The guys at http://sourceforge.net/forum/forum.php?forum_id=48211 can help you with this, but mostly it is a case of removing the .h extension from standard C++ headers, and declareing "using namespace std ;" after the includes. The tutorial also discusses C style strings and the C string library, but not the C++ string class.

    My preferred tutorial is the electrionic one bundled with Visual C++ 6.0SE. It is base on Ivor Horton's Getting Started with Visual C++, but despite the title covers only pute ANSI C++ console mode apps. so does not obfuscate things by diving into GUI applications.

    With DevC++ you get no visual development tools, not even a resource editor. You can get these tools from third parties on the web. You also get no GUI class library like MFC. wxWindows is an alternative, otherwise you are stuck with Petzold style Win API programming, but that is good for the soul, and you will at least get a better understanding of what is going on under the hood.

    Try www.maxcode.com/downloads for electronic books and tutorials that can be downloaded.

    Clifford.
  6. #4
  7. Contributing User

    Join Date
    Aug 2003
    Location
    UK
    Posts
    5,114
    Rep Power
    1803
    You edited while I was answering the question that was there,! Now the answer looks silly because I have a answerd a question that is no longer there!

    Clifford

IMN logo majestic logo threadwatch logo seochat tools logo