Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 3 123 LastLast
Results 1 to 15 of 32

Thread: C++ Learning?

  1. #1
    Regular Coder dniwebdesign's Avatar
    Join Date
    Dec 2003
    Location
    Carrot River, Saskatchewan
    Posts
    846
    Thanks
    15
    Thanked 10 Times in 10 Posts

    C++ Learning?

    I would like to learn some C++ or C or whatever one is best. Where would be a good place to start? Can a C++ program interact with a MySQL Database? So if I want a program to interact with a database so users information is updated easily (such as a billing program or something), is that possible? But as for know where would be a good place to start for someone with no experice in programming except with noob Java (taked 2 first year university courses). Thanks
    Dawson Irvine
    CEO - DNI Web Design
    http://www.dniwebdesign.com

  • #2
    Regular Coder
    Join Date
    Feb 2003
    Location
    California
    Posts
    925
    Thanks
    0
    Thanked 0 Times in 0 Posts
    C++ would be better for you to start with than C and yes, it works with MySQL or so Ive heard. The link below has some tutorials. It is also above this thread.

    http://www.codingforums.com/showthread.php?t=40778


    Jason

  • #3
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    I would personally learn Assembler over c/c++. I've heard it's more powerful than C/C++ and easier to program. Anyhow, I'm learning it now - I scrapped all plans to learn C/C++....

  • #4
    JPM
    JPM is offline
    Regular Coder
    Join Date
    Mar 2004
    Location
    Norway
    Posts
    204
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool

    Code:
     would personally learn Assembler over c/c++. I've heard it's more powerful than C/C++ and easier to program
    I dont know any assembly at all, though I dont really think that it is more powerfull than C, it just gives you more control of the computer. I also dont think learning assmbly as an first language would be a good idea, unless all you want to do is write virii
    <JPM />

  • #5
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by JPM
    Code:
     would personally learn Assembler over c/c++. I've heard it's more powerful than C/C++ and easier to program
    I dont know any assembly at all, though I dont really think that it is more powerfull than C, it just gives you more control of the computer. I also dont think learning assmbly as an first language would be a good idea, unless all you want to do is write virii
    Well I don't know really - it depends on your views and what you want to learn. Personally I want to learn Assembler and then maybe c++ afterwards. However C++ isn't as fast as C and to get a good grip on learning c++ you need to have a knowledge of C - well a grasp of it anyhow..or so I'm told.

  • #6
    New Coder
    Join Date
    Jun 2003
    Posts
    92
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you can do a lot more stuff with C++ then assembly but assembly might be easier to start with than C++.

  • #7
    Regular Coder
    Join Date
    Feb 2003
    Location
    California
    Posts
    925
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you don't need to know any C to learn C++ though they are very similar. I personally started with C++ and then moved to C and I like them both but only during compile time do I remember all the syntax differences...


    Jason

  • #8
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    I think I'll stick to my original plan....assembler ...however i might attempt to learn assembler then move to c++, depending on how thing go.

  • #9
    cfc
    cfc is offline
    Regular Coder
    Join Date
    Dec 2004
    Location
    Keswick, Ontario
    Posts
    251
    Thanks
    0
    Thanked 0 Times in 0 Posts
    would personally learn Assembler over c/c++. I've heard it's more powerful than C/C++ and easier to program
    C and C++ are more sophisticated than assembly, but I wouldn't want to try coding a desktop application (or any application for that matter) entirely in a language that requires me to take explicit control of all functions of every device in and attached to my computer. It's a low-level language that has its place, and it will either prove useless or impractical in comparison to C++ without a solid knowledge of at least one other programming language (such as C++) and a need to write some code that works on a low level with some device (ie interacting with a graphics card for a computer game).
    Last edited by cfc; 01-07-2005 at 03:42 AM.

  • #10
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by weazel
    However C++ isn't as fast as C
    There are tests that shows there is little to no difference in runtime speed.

  • #11
    teh Moderatorinator
    Join Date
    Sep 2004
    Location
    USA
    Posts
    2,472
    Thanks
    4
    Thanked 40 Times in 40 Posts
    Quote Originally Posted by weazel
    I would personally learn Assembler over c/c++. I've heard it's more powerful than C/C++ and easier to program.
    I've never heard of assembler being easier than C or C++. I've heard the opposite...

  • #12
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    mmhmm...well I don't know - thats what I've heard. Anyhow, I'm going to read through some tutorials and find a few assembler compiliers so I can start learning this....

  • #13
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by hemebond
    There are tests that shows there is little to no difference in runtime speed.
    Well from what I heard, some parts of C were faster than the equivilant in C++

  • #14
    cfc
    cfc is offline
    Regular Coder
    Join Date
    Dec 2004
    Location
    Keswick, Ontario
    Posts
    251
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If there's a speed difference (which I seriously doubt there is), it's negligable. C++ compilers will compile straight C because C++ is basically C with extensions that can make programs easier and more efficient to code. If you learn C, you will basically be learning C++ without OOP and some other notable differences (ie cout and cin). They are different languages, but C++ is completely backwards compatible with C and C++ would never have been invented if C were ideal for coding modern applications. Getting a serious procedural programming perspective could either help or hinder your future (almost inevitable) understanding and application of OOP concepts, it's entirely your call.

  • #15
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    mmh......I've never researched into C++ much apart from a few basic tutorials into the basic functions of it but after your somewhat interesting explanation, I will definatly do more research into it. However Assembler seems a better choice to create viruses (I will express this strongly - i am NOT going to do this, and have no intention to btw).

    -Jamie


  •  
    Page 1 of 3 123 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
    •