Results 1 to 11 of 11

Thread: C Programming

  1. #1
    Senior Members' Member Matt1eD's Avatar
    Join Date
    Feb 2005
    Location
    London
    Posts
    2,462
    Thanks
    0
    Thanked
    0 times in 0 posts
    • Matt1eD's system
      • Motherboard:
      • MSI K9N6SGM-V GeForce 6100
      • CPU:
      • Athlon 64 LE-1620 2.41GHz
      • Memory:
      • 2 GB DDR2
      • Storage:
      • 1.25 TB
      • Graphics card(s):
      • Onboard
      • PSU:
      • eBuyer Extra Value 500W!
      • Operating System:
      • XP Pro

    C Programming

    I have used VB for sometime now, and would like to learn a version of C. Which whould I start off with?

  2. #2
    Commander Keen
    Join Date
    Nov 2003
    Location
    217.27.240.214
    Posts
    624
    Thanks
    0
    Thanked
    0 times in 0 posts
    c++ handles someof the more gritty aspects of programming that you are not used to.

    there is a c++ tutorial
    http://www.cprogramming.com/tutorial.html
    here is a c vs c++ companrison..
    http://www.eventhelix.com/RealtimeMa...erformance.htm

    Personally.. If you fancy entering an object oriented language, I can only recommend java Since it has numerous advantages.

  3. #3
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Java is an OOPL as is C++. Java is much easier but C++ is much harder

  4. #4
    Senior Members' Member Matt1eD's Avatar
    Join Date
    Feb 2005
    Location
    London
    Posts
    2,462
    Thanks
    0
    Thanked
    0 times in 0 posts
    • Matt1eD's system
      • Motherboard:
      • MSI K9N6SGM-V GeForce 6100
      • CPU:
      • Athlon 64 LE-1620 2.41GHz
      • Memory:
      • 2 GB DDR2
      • Storage:
      • 1.25 TB
      • Graphics card(s):
      • Onboard
      • PSU:
      • eBuyer Extra Value 500W!
      • Operating System:
      • XP Pro
    Thanks.

    Matt

  5. #5
    Goat Boy
    Join Date
    Jul 2003
    Location
    Alexandra Park, London
    Posts
    2,428
    Thanks
    0
    Thanked
    0 times in 0 posts
    Is there a reason for wanting to learn C? I'd advise learning Java or C# - they are much less error prone when starting out.
    "All our beliefs are being challenged now, and rightfully so, they're stupid." - Bill Hicks

  6. #6
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    C is a nasty, nasty language. c# is fairly pleasant, or java.

    or even perl, you can do a lot with perl

  7. #7
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    C/C++ is only 'nasty' when your not used to it, learning all the variable types, how far you can cast, pointers etc can be a real nightmare for folks learning the language.. And there is a very good reason for this, C++ is a language where the programmer controls the program, not its developers. As such is a VERY powerful language, however that power allows you to make terrible mistakes as well, but its your job to find and correct them.

    And in my opinion this is far better for you, how can you learn while being insulated from screwups by bytecode inturpreters?

    But it isn't horrible, and once you get into it chances are you'll never look back, C is a base for MANY different programming languages.

    But if your going to learn a system programming language, go for C++, It has more friendlier features, STL (Standard Template Library) isn't all that difficult to use.

    basic hello world C++ program
    Code:
    #include <iostream>
    using namespace std;
    
    int main(int argc, char* argv)
    {
        cout << "Hello World!!" << endl;
        return 0;
    }
    people generally spend too much time bashing C/C++ because of what they have heard from other non-C/C++ coders, its silly really.
    Last edited by aidanjt; 09-02-2005 at 02:13 PM.

  8. #8
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    've got a degree on the basis of my C, i'm not just saying it's unpleasant for no reason

  9. #9
    Junior Senior Member Aaron's Avatar
    Join Date
    Jul 2003
    Location
    London, England
    Posts
    1,516
    Thanks
    0
    Thanked
    1 time in 1 post
    I went from FORTRAN (don't ask ) to C to C++ to Java.

    I'd probably suggest starting with Java to be honest. It's good to start thinking in terms of OO design as earlier as possible and Java hides a few of the trickier concepts, such as pointers and garbage collection, from the programmer.

    Java is also good because the online documentation is very good and some of the free IDEs are rather good.

  10. #10
    Goron goron Kumagoro's Avatar
    Join Date
    Mar 2004
    Posts
    3,107
    Thanks
    37
    Thanked
    153 times in 126 posts
    Why not learn both java and C++ thats what we did at uni, seeing as you already know
    a prog lang it shouldnt be any prob to learn both at the same time.

  11. #11
    Senior Members' Member Matt1eD's Avatar
    Join Date
    Feb 2005
    Location
    London
    Posts
    2,462
    Thanks
    0
    Thanked
    0 times in 0 posts
    • Matt1eD's system
      • Motherboard:
      • MSI K9N6SGM-V GeForce 6100
      • CPU:
      • Athlon 64 LE-1620 2.41GHz
      • Memory:
      • 2 GB DDR2
      • Storage:
      • 1.25 TB
      • Graphics card(s):
      • Onboard
      • PSU:
      • eBuyer Extra Value 500W!
      • Operating System:
      • XP Pro
    thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 13-03-2005, 09:25 PM
  2. GBA programming book - free download
    By malfunction in forum Software
    Replies: 2
    Last Post: 05-02-2005, 04:11 PM
  3. A few [geeky] programming lang jokes
    By Spud1 in forum Software
    Replies: 3
    Last Post: 02-02-2005, 05:19 PM
  4. Messy programming and how to fix it (Java)
    By Purple in forum Software
    Replies: 2
    Last Post: 12-10-2004, 08:27 AM
  5. Programming N00b :P
    By fraggie in forum Software
    Replies: 1
    Last Post: 15-03-2004, 12:41 AM

Posting Permissions

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