I am trying to teach myself C++ Programming. Partly because I feel I need to be able to contribute something back to the *nix Conmmunity, partly because I will likely need it for the career path I want to take in the future, and partly because I like a challenge (When I last looked at C, the only thing I knew was ASM on the Z80:eek:, and I hated it).
I have a "For Dummies" book (Don't laugh too much, Library loan:o) and have found a website that seems quite informative (cprogramming.com).
I am one of the awkward people that need to know WHY as well as HOW before everything clicks into place (I write some nifty BASIC, alas, that will get me nowhere and it's sloooow even when compiled).
Has anybody any other suggestions that you think will help me (Links to sites you though were great, references etc? Am I barking up the wrong tree?
I'd suggest going through that book a few times, step by step. Then progress to more advanced topics and examples. As with anything, practice, practice practice is the only way.
Edit: there's thousands of sites all over the internet.
The best thing to know, is how to narrow down your searches with Google.
Try searching using these strings.
filetype:pdf "learning C++"
Instead of left clicking on the resulting pdf's.
Right click them and select "Save link as" then save to some location on your hard drive.
You'll find everything you need.
Teaching to fish
Hi m8 I have just started to learn c++ aswell.
I have never learnt any other languages so it should be fun :D
Iam currently reading http://www.amazon.co.uk/Sams-Teach-Y..._sim_b_title_2
Although I though my GoogleFu was better than the average, i never knew you could search for FileTypes. Duly noted for (extensive) future use. Thank you.
Reference sheets are exactly what I was after. Although in a different language's, I know how to construct a program, it's more of a Syntax reference I'll need while building up my knowledge of the Commands, arrays etc...
I didn't want to place my thread in Programming because I have never considered myself a programmer (Well, in a relevant way, unless you want Z80 Assembly or BASIC (Hisoft) for the Atari 680x0).
Again, thanks for the responses. Great community, hopefully I'll be able to give something back soon, although I doubt my learning curve will be anywhere near ShamenVirtuel's ;)
You can search directories as well
intitle:"index of" "parent directory" c++ pdf -htm -html -php
This index has some nice stuff - dl.njfiw.gov.cn/books/C/ -
That is indeed a nice find.
Most of that will be coming down my pipe soon (Once I get a grasp on the major features, I'll be looking to learn GUI's, hence the Visual C++ is there a *nix equivalent?)
Quick Question if someone out there is fluent in C++ and a more powerful BASIC.
Is there a C/C++ Equivalent of LEFT$ or RIGHT$?
For GUI programming it has been discussed here:
I personally don't know much about it since I'm still learning myself.
About your left and right functions... I'm assuming these are very similar to the vb functions. I've found working with strings to be a bit more difficult in c++ but I think the first place you might want to look at is putting the string into an array and then using a do loop to look for the ' ' (space). Hopefully someone with more experience knows a quicker and more efficient way to do this.