|
||||||
| C Tutorials All C Tutorials and Code |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
I'm going to start working on some C++ tutorials, but I want to start with this basic question, first.
1) You will need some books. How advanced you can start depends a lot on your background, so we'll start with that. If you've never used an object-oriented programming language before, you will want to begin with a gentler introduction. The Teach Yourself series or For Dummies books aren't bad for this, but they will not make you an expert, either. One of the best books to arrive at is The C++ Programming Language, by Bjarne Stroustrup. It is not for the faint of heart, but it will help you a LOT. 2) If you know C or Java already, be prepared for some surprises and bumps along the way. Java handles a number of things quite differently from C++, even though they look similar. Java also does a number of things for you (garbage collection) that C++ simply does not do. Similarly, if you know C, you will be tempted to do things in C++ the same way you did them in C because you can. Don't do it! C++ has its own way of doing things. If you have a C++ book that wants to teach you C first, get rid of it! C++ is not just C with cl***es. C++ is a different language with different rules and restrictions, as well as different preferred ways of doing things. 3) Be aware that a lot of people/companies have provided a lot of extensions to C++. For example, C++ does not provide any graphical utilities. Microsoft's Visual C++ offers additional stuff for that. Borland's C++ has different ways to do the same. wxWidgets, GTK+, and other group efforts provide more. I know that making programs "pretty" with a nice GUI is fun, but worry about how the language works, first. It is easy to get lost in exploring how various GUI toolkits work and forget how the basics work. I recommend using Dev-C++ as an initial development environment because it's free, and doesn't distract you with lots of extras. 4) Finally, write a lot of code with patience. C++ is a language that can easily take years to become good at, and even the creator is learning new ways of using it.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
| Sponsored Links |
|
|
|
|||||
|
Once one is pretty confident in knowing how the language works, what tools would you suggest for GUI design? Which are the most flexible, and which are the easiest to use? Thanks.
__________________
http://www.mattnichols.net |
|
|||||
|
wxWidgets has a book out now that talks about using it, and is cross platform. For myself, I think the key is to wait until you understand the other aspects and pick a choice that is well-do***ented. wxWidgets and GTK+ will probably give you the most support via forums as you learn.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
Sounds good, thanks for the advice.
__________________
http://www.mattnichols.net |
| Sponsored Links |
|
|
|
|||
|
why should we get rid of books which start with C?
C is compatible with C++ and it's easier for starters.Much of them are overlapped.In my opinion, it's really helpful to learn some kownledge about C before rush into C++.
__________________
www.dynamsoft.com – the leading developer of version control and issue tracking software provider |
|
|||||
|
Because C is NOT a useful subset of C++. For example, C requires you to learn the syntax for scanf and printf, which are both rather tricky to remember/learn. By comparison, cin and cout are much easier to work with.
Also, when using C you frequently have need of macros, which are almost never needed in C++. To me, it makes no sense to learn something in C, then throw it out to learn the C++ way of doing things.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||
|
Good topic and I agree with original poster. I'm self-studying primarily from C++ Primer Plus, 5th Edition, currently at chapter 8, functions re - templates & serialization. A little confusing at the moment though I'm hoping it will clear itself up as I progress.
Ultimately, I want to GUI program using C++, for personal purposes, and I'm realising that a good understanding in the basics (or the non GUI stuff) is paramount. Just my 2 cents worth. |
![]() |
| Tags |
| test |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows XP Tricks & Tips!!!!..new ones. | pranky | Tutorials | 9 | 08-23-2008 03:22 PM |
| Netmeeting Could not Start Solution | Jordan | Computer Software/OS | 3 | 08-18-2007 03:39 PM |
| IRC: Where do I start? | I like pie | General Programming | 1 | 04-27-2007 11:34 AM |
| Calculate Quarterly dates from a Start date | reachpradeep | Database & Database Programming | 0 | 03-05-2007 07:19 AM |
| Is it worth learning C now? | Kaabi | C and C++ | 13 | 07-15-2006 10:13 AM |
| Xav | ........ | 1322.18 |
| MeTh0Dz|Reb0rn | ........ | 1053.7 |
| morefood2001 | ........ | 879.43 |
| John | ........ | 877.37 |
| marwex89 | ........ | 869.98 |
| WingedPanther | ........ | 830.24 |
| Brandon W | ........ | 735.07 |
| chili5 | ........ | 309.39 |
| Steve.L | ........ | 239.84 |
| dcs | ........ | 216.02 |
Goal: 100,000 Posts
Complete: 82%