About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
Learn C++ with Esenthel
Author Message
yvanvds Offline
Silver Supporter

Post: #1
Learn C++ with Esenthel
Hey

I've been working on programming course material over the last few years. Originally it was in Dutch only (as my job requires to teach in Dutch), but I've started to translate it.

There's still a lot of work: only the first three parts are translated and the other parts need a revision in dutch before i start translating them. Still, it is a pdf of over 100 pages now.(Parts on Gui, Databases, Networking and 3D Worlds should follow as soon as I've found time to translate some more.)

The target audience are people who've followed a very basic programming course, preferably with C++. I assume the reader knows what variables and loops are, and has done some basic exercises like console applications.

This is not an Esenthel course as such. The goal is learning more about C++, but Esenthel is used to do that. I found that my students found it rather engaging to learn by making little games. Also, using Esenthel is a good way to learn about working with a library, reading header files and organizing bigger projects.

Anyway, here it is:

http://mutecode.com/eecourse/
08-07-2016 09:52 PM
Find all posts by this user Quote this message in a reply
Alexsee Offline
Member

Post: #2
RE: Learn C++ with Esenthel
Wow, a substantial contribution. Thank you.
08-07-2016 10:39 PM
Find all posts by this user Quote this message in a reply
Jben Offline
Member

Post: #3
RE: Learn C++ with Esenthel
Amazing! Thank you
08-08-2016 12:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Learn C++ with Esenthel
Fantastic work!

Small issue I've found:
http://mutecode.com/eecourse/downloads/E...rse_EN.pdf
page 19
Code:
Str myString = 42 ; // will generate an error
Few releases ago, I've added more constructors to the Str class, so this works OK now.
The problem was originally related to NULL macro used as pointer, but being actually 0 integer, however since I've switched to 'null' (macro to nullptr) then this is no longer an issue.

Code:
myString = "score: " + 42; // correct
myString = 42 + "score: "; // wrong

actually both are wrong, because if in C++ you do
"score: " + 42
Then the result is actually a pointer to the string (char*), 42 characters later.

Str str;
str+42; // but this is OK, because this is Str operator+

S+"score: " + 42 // this is also OK


Page 42:
Code:
How to get a random color? The RGB values which make up a color have a value between
0 and 255. To randomize a color, try this:
Color myColor;
myColor.set(Random (255) , Random (255) , Random (255));

better to use Random(256), it will give 0..255

And pages 90..92 still have some untranslated text.

Hope this helps smile
08-08-2016 01:25 AM
Find all posts by this user Quote this message in a reply
yvanvds Offline
Silver Supporter

Post: #5
RE: Learn C++ with Esenthel
Big thank you for the corrections, Greg.
08-08-2016 12:49 PM
Find all posts by this user Quote this message in a reply
Ezequel Offline
Member

Post: #6
RE: Learn C++ with Esenthel
Wow, this looks really great, thank you!
(I speak Dutch so I can read all smile )
08-10-2016 10:12 PM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #7
RE: Learn C++ with Esenthel
A great contribution. Will look at this with interest. Thanks!
08-24-2016 11:59 AM
Find all posts by this user Quote this message in a reply
Post Reply