• Lucid Dreaming - Dream Views




    Page 2 of 2 FirstFirst 1 2
    Results 26 to 31 of 31
    1. #26
      Member Serith's Avatar
      Join Date
      Feb 2007
      Gender
      Location
      Minnesota
      Posts
      435
      Likes
      1
      Pyrofan1: Thanks! That's exactly the kind of thing I was looking for, and it looks like it's easy to understand.

      ninja 9578: Yeah, I've noticed C++ is tough to learn. I've considered learning Python instead, but I've already finished a class at my high school teaching C++, as well as spending hours learning more on my own, so at this point it's probably more convenient for me to just continue with C++ rather than switch to another language, even one as similar to C++ as C.

    2. #27
      Emotionally unsatisfied. Sandform's Avatar
      Join Date
      Jul 2007
      Gender
      Location
      Texas
      Posts
      4,298
      Likes
      24
      You have those at your school? Lucky!

    3. #28
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      Yeah, seriously. Most school start off with Java.

      I don't think anyone really uses Python other than Linux developers I might be wrong, but I don't think it's very useful to know.

    4. #29
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      Quote Originally Posted by ninja9578 View Post
      I don't think anyone really uses Python other than Linux developers I might be wrong, but I don't think it's very useful to know.
      oh gawd,
      now you've done it.....

    5. #30
      宇宙です。。。 •Neko•'s Avatar
      Join Date
      Sep 2006
      Gender
      Location
      Scotland
      Posts
      658
      Likes
      3
      The programming language I know the best is TI BASIC. I used to make games on my calculator if I was bored at school.

      I did a little bit of Java, but I'll wait until I get to learn it properly at university, along with Haskell.

    6. #31
      The Nihilist MrDoom's Avatar
      Join Date
      Apr 2008
      Gender
      Location
      U$A
      Posts
      187
      Likes
      0
      Quote Originally Posted by Ynot
      just a few things,
      avoid using "using"
      I know all the tutorials use it, but it can bite you in the arse
      (it pulls all the functions and objects into the current namespace, and can lead to naming conflicts)
      personally, I think it's really bad practise
      but others may say different
      You are correct.

      Quote Originally Posted by Seismosaur
      'Using namespace std/ w/e' saves time writing out std:: and minimizes the chance you'll mistype std::cout or cin or whatever you are using.
      You are also correct.

      Go the middle road: instead of bringing the whole namespace into scope, bring individual directives.

      So instead of typing using namespace std;, you type using std::cout;, etc. Then when you want to use a specific but not-so-oftenly-used item within a namespace other than the one that's been brought into scope, you clarify it in full.

      That way you keep the scope resolution clean of unneccessary clutter and you save time by keeping frequently-used constructs in scope while fully qualifying the rare ones.
      Truths are material, like vegetables and weeds; as to whether vegetable or weed, the decision lies in me.
      --Max Stirner

    Page 2 of 2 FirstFirst 1 2

    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
    •