Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Learning C++

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Posts
    97

    Default Learning C++

    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, and I hated it).

    I have a "For Dummies" book (Don't laugh too much, Library loan) 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?

    Cheers, InSanCen.

  2. #2
    Senior Member
    Join Date
    Feb 2008
    Posts
    681

    Default

    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.

    filetypedf C++

    filetypedf "learning C++"

    etc.

    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
    [FONT=Courier New][SIZE=2][FONT=Courier New]hehe...
    [/FONT][/SIZE][/FONT]

  3. #3
    Junior Member
    Join Date
    Feb 2007
    Posts
    31

    Default

    Hi m8 I have just started to learn c++ aswell.
    I have never learnt any other languages so it should be fun

    Iam currently reading http://www.amazon.co.uk/Sams-Teach-Y..._sim_b_title_2

    http://www.cplusplus.com/doc/tutorial/

  4. #4
    Senior Member
    Join Date
    Feb 2008
    Posts
    681
    [FONT=Courier New][SIZE=2][FONT=Courier New]hehe...
    [/FONT][/SIZE][/FONT]

  5. #5
    Junior Member
    Join Date
    Nov 2007
    Posts
    97

    Default

    .lonewolf

    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

  6. #6
    Member PeppersGhost's Avatar
    Join Date
    Jan 2008
    Posts
    204
    <EeePc 1000HA BT4/W7 USB boot Alfa500 GPS BlueTooth>

  7. #7
    Very good friend of the forum hhmatt's Avatar
    Join Date
    Jan 2010
    Posts
    660

    Default

    Here's an interesting site I came across recently.

    http://www.intelligentedu.com/blogs/...-at-youtubecom

  8. #8
    Senior Member
    Join Date
    Feb 2008
    Posts
    681

    Default

    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/ -
    [FONT=Courier New][SIZE=2][FONT=Courier New]hehe...
    [/FONT][/SIZE][/FONT]

  9. #9
    Junior Member
    Join Date
    Nov 2007
    Posts
    97

    Default

    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$?

  10. #10
    Very good friend of the forum hhmatt's Avatar
    Join Date
    Jan 2010
    Posts
    660

    Default

    For GUI programming it has been discussed here:

    http://forums.remote-exploit.org/showthread.php?t=11152

    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.

    Good Luck

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •