Newb question on c++ - Page 2
Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Newb question on c++

  1. #11
    Banned
    Join Date
    Jul 2002
    Posts
    877
    Most barrowed code I get from other programers have atleast a bug or two. It helps to look at other programers' code though but just see their mistakes as a chance to blend thier style with your to create a masterpiece. Then print out the code so you can look at it later to study or make it work twice as cool as it already does.

  2. #12
    Senior Member
    Join Date
    Oct 2001
    Posts
    638
    It has to be said the best way to learn to program is write programs. Use the source Luke .
    OpenBSD - The proactively secure operating system.

  3. #13
    Member
    Join Date
    Jul 2002
    Posts
    65
    Just a pick an API you wanna learn and go for it. If you wanna make windows apps, go get a book on the windows API and start writing code.

    Thats the great thing about Linux. If I want to write apps for Xwindows, I have two really good options. These being the GTK (Gnome) and QT (KDE) APIs. Because there are a ton of open source projects available written in GTK and QT, learning the APIs can be a lot easier. Also, there is tons of tutorials and ducumenation available for free on the internet. Reading other peoples code is one of the best ways to learn. Go download some programs that use one of these APIs and figure out how it works.

    I have never tried it, but QT and GTK are also both available for win32, Mac OS X and other platforms.

    Heres some links to get you started:

    http://www.trolltech.com/
    http://gtk.org/

    Hope that helps.

    --Sudo

  4. #14
    Junior Member
    Join Date
    Jul 2002
    Posts
    29
    Originally posted here by Wickdgin
    If you have not yet learned classes you may want to do so before trying to get into any GUI stuff. Pointers & classes are a huge part of C++, it is very importaint to get a handle on those. Pointers especially are very tricky for most people, so have some patience for that.
    I have been looking over some of my old text books making sure I have a good knowledge of pointers and classes

    Originally posted here by Wickdgin
    The reason I say this is that GUI libaries such as MFC, GTK, etc - are a collection of classes. In order to use them (and fully understand what your doing) you should have a good understanding of classes and object oriented programming.
    I think I am going to start getting into these after I finish reviewing my text books... and everyone seems to say that the best way to get into this is just doing it :-P

    Originally posted here by Wickdgin
    These are just my thoughts- I just think it would be easier to learn and get a grip on importaint aspects of the language before you get into programming GUI's and such.
    Thanks for your thoughts... Yours and everyone elses have really been helpful

Posting Permissions

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

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides