• Lucid Dreaming - Dream Views




    Results 1 to 25 of 26

    Hybrid View

    1. #1
      What's up <span class='glow_006400'>[SomeGuy]</span>'s Avatar
      Join Date
      Nov 2007
      LD Count
      About 1
      Gender
      Location
      Tmux on Debian
      Posts
      2,862
      Likes
      130
      DJ Entries
      4
      Well, CProgramming.com is what I use, and it works fine. It has C/C++ tutorials. It actually teaches the language too. I suggest C first, because, well look at the diference:
      Code:
      #include <stdio.h>
      int main()
      {
        printf("Hello World!");
        getchar();
        return 0;
      }
      ^^C
      Compared to:
      Code:
      #include <iostream>
      
      using namespace std;
      
      int main()
      {
        cout<<"Hello World!";
        cin.get();
      
        return 1;
      }
      ^^C++
      C is more, well, in ENGLISH. Try that first.

      Hey guys, I'm back. Feels good man
      ---------------------------------------------------
      WTF|Jesus lul
      spam removed

    2. #2
      Member Achievements:
      1 year registered Veteran First Class 5000 Hall Points

      Join Date
      Sep 2004
      Gender
      Location
      Seattle, WA
      Posts
      2,503
      Likes
      217
      Quote Originally Posted by xXSomeGuyXx View Post
      Well, CProgramming.com is what I use, and it works fine. It has C/C++ tutorials. It actually teaches the language too. I suggest C first, because, well look at the diference:
      Code:
      #include <stdio.h>
      int main()
      {
        printf("Hello World!");
        getchar();
        return 0;
      }
      ^^C
      Compared to:
      Code:
      #include <iostream>
      
      using namespace std;
      
      int main()
      {
        cout<<"Hello World!";
        cin.get();
      
        return 1;
      }
      ^^C++
      C is more, well, in ENGLISH. Try that first.
      Um... it's not the englishness of it that makes it more complex. It's the OO/templates stuff, which is a whole separate competency, taught in separate classes, etc.

      If that's what you're worried about, I suggest you go ahead and learn the basics in C++... if you're learning the procedural stuff, then use C++, which lets you do things like declare variables just as they're about to be used:

      Code:
      for(int i = 0; i < n; ++i) { ... }
      That's illegal in C, because you aren't allowed to declare i there... have to declare it at the top of the scope. But then when you get into classes and stuff, you'll know what all that "<<" stuff is all about.

      Also, the STL makes a lot more sense than the libraries that do some similar stuff that you have in C.

    3. #3
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      Quote Originally Posted by Replicon View Post
      But then when you get into classes and stuff, you'll know what all that "<<" stuff is all about.
      Syntactical Sugar


      I forget who said that, but I've always liked it as a description

    4. #4
      Member Achievements:
      1 year registered Veteran First Class 5000 Hall Points

      Join Date
      Sep 2004
      Gender
      Location
      Seattle, WA
      Posts
      2,503
      Likes
      217
      Heh yeah, that's basicaly it. This ain't lisp after all

    5. #5
      Opethian Wrathful's Avatar
      Join Date
      Mar 2008
      Gender
      Location
      Queensland
      Posts
      162
      Likes
      0

      Thanks people

      All your advices are very helpful actually. Another thing I was not sure what programming language I should go with but you narrowed it down.
      And if I had wheels, I'd be a wagon.

    6. #6
      !DIREKTOR! Adam's Avatar
      Join Date
      Jan 2007
      Gender
      Location
      Aquanina's closet
      Posts
      5,195
      Likes
      34
      Thank god I'm just an Analyst lol HTML is about the limit to my language skills!

    7. #7
      What's up <span class='glow_006400'>[SomeGuy]</span>'s Avatar
      Join Date
      Nov 2007
      LD Count
      About 1
      Gender
      Location
      Tmux on Debian
      Posts
      2,862
      Likes
      130
      DJ Entries
      4
      lolz

      Hey guys, I'm back. Feels good man
      ---------------------------------------------------
      WTF|Jesus lul
      spam removed

    8. #8
      Banned
      Join Date
      May 2007
      LD Count
      Loads
      Gender
      Location
      Digital Forest.
      Posts
      6,864
      Likes
      386
      Quote Originally Posted by xXSomeGuyXx View Post
      Well, CProgramming.com is what I use, and it works fine. It has C/C++ tutorials. It actually teaches the language too. I suggest C first, because, well look at the diference:
      Code:
      #include <stdio.h>
      int main()
      {
        printf("Hello World!");
        getchar();
        return 0;
      }
      ^^C
      Compared to:
      Code:
      #include <iostream>
      int main()
      {
        std::cout<<"Hello World!";
        std::cin.get();
        return 0;
      }
      ^^C++
      C is more, well, in ENGLISH. Try that first.
      ??

    9. #9
      What's up <span class='glow_006400'>[SomeGuy]</span>'s Avatar
      Join Date
      Nov 2007
      LD Count
      About 1
      Gender
      Location
      Tmux on Debian
      Posts
      2,862
      Likes
      130
      DJ Entries
      4
      Those are programms.

      Hey guys, I'm back. Feels good man
      ---------------------------------------------------
      WTF|Jesus lul
      spam removed

    10. #10
      Banned
      Join Date
      May 2007
      LD Count
      Loads
      Gender
      Location
      Digital Forest.
      Posts
      6,864
      Likes
      386
      ...

      That hardly shows a difference.

      C++ can use Printf.

    11. #11
      What's up <span class='glow_006400'>[SomeGuy]</span>'s Avatar
      Join Date
      Nov 2007
      LD Count
      About 1
      Gender
      Location
      Tmux on Debian
      Posts
      2,862
      Likes
      130
      DJ Entries
      4
      Oh, really? I didn't know that. Shows how much I know...

      Hey guys, I'm back. Feels good man
      ---------------------------------------------------
      WTF|Jesus lul
      spam removed

    12. #12
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      Quote Originally Posted by xXSomeGuyXx View Post
      Oh, really? I didn't know that. Shows how much I know...
      I think that printf is considered a legacy command and no one really uses it. Except for me, I use it all the time for debugging because I hate using breakpoints unless I have to.

    Bookmarks

    Posting Permissions

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