Last visit was: It is currently Sat Apr 27, 2024 12:34 am


All times are UTC-05:00




Post new topic Reply to topic  [12 posts ] 
    Author Message
     Post subject:C++ Tutorials
    PostPosted:Fri Aug 10, 2007 4:48 pm 
    User avatar
     

    Joined:Sun Feb 12, 2006 8:56 pm
    Posts:1019
    Website:http://eddieringle.com
    Location:Detroit, MI
    Anyone know of any good sites or places to learn c++/game programming? I tried it the book way but that's boring, and I can't seem to find a good online site.

    _________________
    -- Eddie Ringle

    Check out Elysian Shadows and consider backing us on Kickstarter!

    ====================================

    Image


    Top
    Offline  
     Post subject:Re: C++ Tutorials
    PostPosted:Fri Aug 10, 2007 11:03 pm 
    Literally Nine
    User avatar
     

    Joined:Sat Apr 02, 2005 3:31 pm
    Posts:1171
    Location:The vicinity of an area adjacent to a location.
    Quote:
    Anyone know of any good sites or places to learn c++/game programming? I tried it the book way but that's boring, and I can't seem to find a good online site.
    The best way is to probably learn from someone else's code. I actually learned most of game programming from Uplink and perfected my skills (especially object-oriented programming in C++) since then.

    _________________
    - Tycho

    Image


    Top
    Offline  
     Post subject:
    PostPosted:Sat Aug 11, 2007 2:45 am 
     

    Joined:Mon Jul 03, 2006 7:02 am
    Posts:16
    If you are at trainee level, you should take a look at robsite, which most host german tutorials, but there are also english ones.

    If you have basic skills, you can learn by reading code of other projects. My C++-Skills are very basic, because I never learn it (because of time), but my C# and PHP skills are expert, so there is no problem to learn in 4 or 5 days. If you have skills in another language, than you don't have a problem using C++, because you already know all the basic things and just have to internalize the orthography and grammar.

    If you cant read the description, you can ask me, I will translate it for you.

    Regards
    [/url]

    _________________
    Freiheit statt Angst -- Stoppt den Ueberwachungswahn!
    Bundesweiter Aktionstag 30.05.2008
    www.freiheitstattangst.de
    Petition unterzeichen

    Please forgive me my poor english, I'm learning it everyday more and more.


    Top
    Offline  
     Post subject:
    PostPosted:Sat Aug 11, 2007 2:53 am 
    Literally Nine
    User avatar
     

    Joined:Sat Apr 02, 2005 3:31 pm
    Posts:1171
    Location:The vicinity of an area adjacent to a location.
    Well, Java programmers have trouble grasping C++ concepts like pointers. I asked a friend of mine from Intel Corporation what he thinks about Java. I had suggested that it may be good as a starting point for learning some more practical language like C++. His reply was that, "when we get Java programmers hired at Intel and teach them C++, we basically have to tell them to forget everything they've learned and start over."

    So no, not -all- languages make it easy to transition to another. A more extreme example is Brainfuck. But that's just me being cynical.

    _________________
    - Tycho

    Image


    Top
    Offline  
     Post subject:
    PostPosted:Sat Aug 11, 2007 3:07 am 
     

    Joined:Mon Jul 03, 2006 7:02 am
    Posts:16
    Well, pointers are a good example for starting programming with nonsense. Pointers may are very helpful, but a programming language which only works well, if I use pointers seems not practical to me. You have to think of everything, if make a heavy use of pointers, this is why so many projects have memory leaks, buffer overflows or other problems of this kind. I never heard of a buffer overflow in C#. :-)

    Regards

    PS: The use of a language should be settled by the defines, what kind of application the project is. An embedded solution imho does not should be done in Java (allthough there are examples for that like navigation system in the BMW 5 car) and an application server for business intelligence should not be done in C. ;-)

    _________________
    Freiheit statt Angst -- Stoppt den Ueberwachungswahn!
    Bundesweiter Aktionstag 30.05.2008
    www.freiheitstattangst.de
    Petition unterzeichen

    Please forgive me my poor english, I'm learning it everyday more and more.


    Top
    Offline  
     Post subject:
    PostPosted:Mon Aug 13, 2007 9:40 pm 
     

    Joined:Sun Aug 05, 2007 11:51 pm
    Posts:25
    Location:Orange County, California
    Quote:
    I never heard of a buffer overflow in C#.
    Actually, there can be, since C# allows you to write 'unsafe' code that uses pointers.


    Top
    Offline  
     Post subject:
    PostPosted:Tue Aug 14, 2007 1:45 pm 
     

    Joined:Mon Jul 03, 2006 7:02 am
    Posts:16
    Yes, you are right. But to write unsafe code is in most cases not needed. You have data structure for all your needs in a standard application. There is no need to use pointers. In C or C++ you are very limited in everything you want to realize if you don't want to make use of pointers.

    An example where unsafe code is needed, when you want to implement shared libraries (dll), which are written in C and the args requires pointers.

    At least the compiler give you explicit warnings, if you want to do something strange with pointers, which is a nice way to take care of such problems.

    I really don't like to create a flamewar here, C++ is the language of that project, and everyone who works on that have to live with that fact. :-)

    _________________
    Freiheit statt Angst -- Stoppt den Ueberwachungswahn!
    Bundesweiter Aktionstag 30.05.2008
    www.freiheitstattangst.de
    Petition unterzeichen

    Please forgive me my poor english, I'm learning it everyday more and more.


    Top
    Offline  
     Post subject:
    PostPosted:Tue Aug 14, 2007 1:53 pm 
    Literally Nine
    User avatar
     

    Joined:Sat Apr 02, 2005 3:31 pm
    Posts:1171
    Location:The vicinity of an area adjacent to a location.
    Or, let's flame, but make it brief.

    *flame, flame, flame*
    *vague sexual reference*
    *scathingly brutal comment*
    *semi-apology with a "no offense, but..." approach*

    _________________
    - Tycho

    Image


    Top
    Offline  
     Post subject:
    PostPosted:Thu Aug 16, 2007 7:08 pm 
    User avatar
     

    Joined:Mon Mar 07, 2005 9:32 am
    Posts:600
    Location:localhost
    Learn x68 ASM in hex. Pretty much as "from the ground up" as it gets. Unless of course you want to type each binary bit in, one by one. But then that's pointless.

    C++ is the base language that you should learn for the C-Syntax. C is more powerful and low level, but is needlessly tedious (malloc'ing everything is annoying, and there is no OO). C# is easier than C++, but is limited to Windows only and isn't really true C-Syntax (there are a lot of extras put in to conform to `dot-net-ness` and what not).

    Oh, and Tycho, you missed "<a href="http://en.wikipedia.org/wiki/Godwin's_Law">Nazi reference</a>" from your list.

    _________________
    BAZINGA.


    Top
    Offline  
     Post subject:
    PostPosted:Thu Aug 16, 2007 9:03 pm 
    Literally Nine
    User avatar
     

    Joined:Sat Apr 02, 2005 3:31 pm
    Posts:1171
    Location:The vicinity of an area adjacent to a location.
    Quote:
    Learn x68 ASM in hex. Pretty much as "from the ground up" as it gets. Unless of course you want to type each binary bit in, one by one. But then that's pointless.
    Yes, pointless indeed. You'd have to be pretty much insane to start this way.

    _________________
    - Tycho

    Image


    Top
    Offline  
     Post subject:
    PostPosted:Thu Aug 16, 2007 9:37 pm 
    Literally Nine
    User avatar
     

    Joined:Tue Mar 01, 2005 9:00 am
    Posts:1263
    That's how I discovered TRAP commands, actually.

    4E444E754E750000

    :/


    Top
    Offline  
     Post subject:
    PostPosted:Tue Sep 04, 2007 8:34 pm 
    User avatar
     

    Joined:Mon Mar 07, 2005 9:32 am
    Posts:600
    Location:localhost
    My brain is in permenant 90 EB FD most of the time.

    _________________
    BAZINGA.


    Top
    Offline  
    Display posts from previous: Sort by 
    Post new topic Reply to topic

      All times are UTC-05:00


      Who is online

      Users browsing this forum: No registered users and 189 guests


      You cannot post new topics in this forum
      You cannot reply to topics in this forum
      You cannot edit your posts in this forum
      You cannot delete your posts in this forum
      You cannot post attachments in this forum

      Search for:
      Jump to:  
      Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
      Theme created by Miah with assistance from hyprnova