OT:Learning C++. Need help.

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Belyaev Dragon

OT:Learning C++. Need help.

Post by Belyaev Dragon »

Hello!
I'm currently learning C++ and I have completed the beginner's course but I still need some help to write *real* programs. For example, more things about inheritance and classes etc.. Any help (tutorials, for example) will be appreciated.
BTW C++ is a great language, it's difficult but interesting.
-Oleg
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: OT:Learning C++. Need help.

Post by Dominus »

wrong forum I'd say. Please keep those way off topic postings low.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Karlos
Posts: 149
Joined: Thu May 14, 2020 1:34 pm

Re: OT:Learning C++. Need help.

Post by Karlos »

Well, maybe he wants to learn C++ so that he can contribute to Exult. :-)


-Karl
fliptw

Re: OT:Learning C++. Need help.

Post by fliptw »

go with java first. the basics of OOP down, then start into C++
co

Re: OT:Learning C++. Need help.

Post by co »

i'd suggest 'thinking in c++' vol. 1 & 2. you can download them from www.bruceeckel.com.
Belyaev Dragon

Re: OT:Learning C++. Need help.

Post by Belyaev Dragon »

Yeah, I had an idea to start Java first, but I can't download 42Mb files :). So...
Offtopic post... Yes, I thought about that, but most C++ forums I found answer only technician's questions. And besides, this isn't much of an offtopic because...
a) Exult is a game (well Ultima is)
b)C++ is a programming language
c) Games are written using programming languages
d) Exult is written using C or C++.
And, of course, I'd LOVE to contribute to Exult when I'll know more of the language:).
-Oleg
kapouille
Posts: 7
Joined: Thu May 14, 2020 1:34 pm

Re: OT:Learning C++. Need help.

Post by kapouille »

I have collected for you a list of interesting online books to learn object oriented programming using C++

Here they are :

- You'd better start by it :
http://www.cee.hw.ac.uk/~pjbk/pathways/cpp1/cpp1.html

- Then go and see this one :
http://www.zib.de/Visual/people/mueller ... orial.html

But be warned : these are only theorical courses. You'll have to figure out by yourself after how to compile the C++ sources you've compiled! (since this depends on which C++ compiler you'll be using, I can't help you more on this part.
funkyass

Re: OT:Learning C++. Need help.

Post by funkyass »

you still need to download a fair amount of actual stuff to properly compile exult(unless yer using linux or you can compile exult in VC++).

so start out with java. you don't want to mess around with a high-level, free-form language that lets you do anything you want and not prevent you from some serious damage.
Michael T.

Re: OT:Learning C++. Need help.

Post by Michael T. »

I also have an excellent source, O'Reilly's Practical C++ Programming. I've been reading it, and although it's a pretty lengthy book, it's the best source on learning C++ I've come across so far (I'm only on chapter 9 :P). It's also a book for complete beginners (like me). It puts into consideration all the main compilers for sourcecode including Turbo C++, Borland C++, the UNIX generic compiler, and even the GNU C++ compiler. Albeit it's outdated by about 3 years, but not so much as it can't apply it to current compilers and sourcecode, not by a long shot. I think you can find it at amazon.com, but I'm not sure.
nadir
Site Admin
Posts: 407
Joined: Thu May 14, 2020 1:34 pm

Re: OT:Learning C++. Need help.

Post by nadir »

Stroustrup is to C++ as K&R are to C.
First of all, if you don't know it, learn C. Get K&R's programming in C.
Then, get Stroustrup's C++ book. It's a bit difficult, but it's the best.
Belyaev Dragon

Re: OT:Learning C++. Need help.

Post by Belyaev Dragon »

Thank you everyone!!! All your help is really really appreciated!
-Oleg
Locked