C++

Here wizards, magicians, sorcerers and everybody can rest a bit and talk about anything they like.

Just remember to respect the rules.

C++

Postby herbie » Oct 11th, '11, 17:26

Hello!

I have never done programming and dont know much about C and C++.

Where should I start? What is good editor? Are there good wiki sites or free ebooks? And how about irc channels on differend networks, where I can found helpful people?
--- herbie
herbie
 
Posts: 8
Joined: Jun 29th, '11, 20:30
Location: Finland

Re: C++

Postby Akien » Oct 12th, '11, 19:56

I don't know much about C or C++ so I don't have an answer, though I am sure that some of us may help you.

But could a moderator move this thread to The Wizards Lair? This isn't about Basic support for Mageia, it's a general question about programming.
Image
Co-leader of Mageia's packaging and development team (dev).
List of packages I maintain.
User avatar
Akien
 
Posts: 171
Joined: Jun 5th, '11, 22:54
Location: Brunswick, Germany

Re: C++

Postby isadora » Oct 12th, '11, 20:08

Topic has been moved.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2765
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: C++

Postby ruel24 » Oct 13th, '11, 02:52

I sincerely suggest you start with C and move to C++ after. Most C++ books will cover some basic C, but will quickly move into C++. IMHO, it takes quite awhile to grasp the concepts involved in programming, much like grasping the concept of double entry accounting. The problem lies in the object oriented nature. It gets kind of complex and confusing. This is why I say you should learn C, first.

If you've never programmed before at all, you might want to consider something like C for Dummies. It'll hold your hand quite well. After that, I recommend a book with lots of exercises. I learned from an author by the name of Dave Mark, but his books are geared for Mac enthusiasts. It doesn't mean you can't do the same exercises on Linux. You just have make the adjustment. Deitel and Deitel books are generally filled with exercises.
ruel24
 
Posts: 52
Joined: Jun 21st, '11, 02:38

Re: C++

Postby Max » Oct 13th, '11, 19:46

I suggest that for the first bits of programming you do that you do not use an IDE (integrated developer's environment). This gives you a much greater feel for what it is that you are doing, and you understand it much better.
I was taught Java like that, and I fully grok the whole concept. I was taught C++ by using an IDE, and I'm pretty lost if something breaks. (At least, I was at first. Not using the recommended IDE (Visual Studio) I had a lot of trouble setting up my build environment, so I did get a feel for how it works).
So to start with, you just need a text editor (kwrite has very good syntax highlighting), gcc and some minimal shell skills.
After that you can graduate to an IDE that will take care of a lot of the peripheral stuff and let you concentrate on writing code. I personally like Eclipse, but the package for Mageia seems to be broken. You can also use Code::Blocks. But that one seems a little wonky to me. I guess because I'm not used to it.
As far as tutorials go, http://cplusplus.com/ has some very good stuff, including a downloadable PDF tutorial for programming beginners.
Image
User avatar
Max
 
Posts: 269
Joined: Apr 4th, '11, 09:16


Return to The Wizards Lair

Who is online

Users browsing this forum: No registered users and 1 guest

cron