Ferrous Moon
http://www.ferrousmoon.com:80/forums/

C++ Tutorials
http://www.ferrousmoon.com:80/forums/viewtopic.php?f=52&t=884
Page 1 of 1

Author:  eddieringle [Fri Aug 10, 2007 4:48 pm ]
Post subject:  C++ Tutorials

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.

Author:  Tycho [Fri Aug 10, 2007 11:03 pm ]
Post subject:  Re: C++ Tutorials

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.

Author:  MikeG [Sat Aug 11, 2007 2:45 am ]
Post subject: 

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]

Author:  Tycho [Sat Aug 11, 2007 2:53 am ]
Post subject: 

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.

Author:  MikeG [Sat Aug 11, 2007 3:07 am ]
Post subject: 

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. ;-)

Author:  zig [Mon Aug 13, 2007 9:40 pm ]
Post subject: 

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.

Author:  MikeG [Tue Aug 14, 2007 1:45 pm ]
Post subject: 

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. :-)

Author:  Tycho [Tue Aug 14, 2007 1:53 pm ]
Post subject: 

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*

Author:  Burningmace [Thu Aug 16, 2007 7:08 pm ]
Post subject: 

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.

Author:  Tycho [Thu Aug 16, 2007 9:03 pm ]
Post subject: 

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.

Author:  Miah [Thu Aug 16, 2007 9:37 pm ]
Post subject: 

That's how I discovered TRAP commands, actually.

4E444E754E750000

:/

Author:  Burningmace [Tue Sep 04, 2007 8:34 pm ]
Post subject: 

My brain is in permenant 90 EB FD most of the time.

Page 1 of 1 All times are UTC-05:00
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/