• Lucid Dreaming - Dream Views




    Results 1 to 25 of 31

    Hybrid View

    1. #1
      Emotionally unsatisfied. Sandform's Avatar
      Join Date
      Jul 2007
      Gender
      Location
      Texas
      Posts
      4,298
      Likes
      24

      Ask/Tell about --- Coding. Programming. General script writing.

      I've played around a bit in Java before, not getting past a few lessons short of making a tetris game hehe. But I'm trying my hand at learning it again. I feel cheated though when I try to write programs, it feels like all the work has been done for me and all I'm doing is tracing other peoples steps. Anyways...C ++ here I come.

      http://www.cprogramming.com/tutorial.html

      Taking free tutorials but I decided to make this a ask and tell thread (as in you can tell me what ever you like, and I am going to ask whatever I want =P.)

      I will probably be dropping in little things that tickle me as I'm doing it as well as providing you guys with any original content that I create. I don't intend on flooding you guys with with HELLO WORLD! Or random number generators hehe.

    2. #2
      The Blue dreamer bluefinger's Avatar
      Join Date
      Apr 2007
      Gender
      Location
      UK
      Posts
      1,629
      Likes
      0
      Coding.... Best tip: Never try to reinvent the wheel. Seriously, if someone did something which works and does not like someone's nightmare in code form, then use it.

      C++ is good, but hard. I know it, since I had to program in it (normal software AND graphics programming). Java is okay, used it for networking programs. Other languages include Turbo Pascal and Visual Basic.
      -Bluefinger v1.25- Enter the madness that are my dreams (DJ Update, non-LD)

      "When you reject the scientific method in order to believe what you want, you know that you have failed at life. Sorry, but there is no justification, no matter how wordy you make it."

      - Xei

      DILD: 6, WILD: 1

    3. #3
      Emotionally unsatisfied. Sandform's Avatar
      Join Date
      Jul 2007
      Gender
      Location
      Texas
      Posts
      4,298
      Likes
      24
      I've done some visual basic as well. +=). But my skill level is still at that which is

      Do this: ****
      Ok...Cool that worked.
      Do this: ****
      Ok...wait it isn't working....maybe if I cut and paste...Hey that worked...but mine didn't, let me do it again...hey it still isn't working and it is exactly the same!


      Lol.

      It isn't so much that I want to invent the wheel it is just that it feels like...it feels more like I'm piecing together a puzzle than creating one when I code....even if it is "original" in some respects (since I have done a few original one using pieces of other programs.)

      What do you do btw blue?
      Last edited by Sandform; 07-30-2008 at 04:47 PM.

    4. #4
      The Blue dreamer bluefinger's Avatar
      Join Date
      Apr 2007
      Gender
      Location
      UK
      Posts
      1,629
      Likes
      0
      Quote Originally Posted by Sandform View Post
      I've done some visual basic as well. +=). But my skill level is still at that which is

      Do this: ****
      Ok...Cool that worked.
      Do this: ****
      Ok...wait it isn't working....maybe if I cut and paste...Hey that worked...but mine didn't, let me do it again...hey it still isn't working and it is exactly the same!


      Lol.

      It isn't so much that I want to invent the wheel it is just that it feels like...it feels more like I'm piecing together a puzzle than creating one when I code....even if it is "original" in some respects (since I have done a few original one using pieces of other programs.)
      To be honest, that is what programmers do. They piece together the program with code that works. What is original is then getting all the pieces to work together with as few bugs as possible. It is a weird way of doing things, but it is the reality,
      -Bluefinger v1.25- Enter the madness that are my dreams (DJ Update, non-LD)

      "When you reject the scientific method in order to believe what you want, you know that you have failed at life. Sorry, but there is no justification, no matter how wordy you make it."

      - Xei

      DILD: 6, WILD: 1

    5. #5
      Emotionally unsatisfied. Sandform's Avatar
      Join Date
      Jul 2007
      Gender
      Location
      Texas
      Posts
      4,298
      Likes
      24
      Quote Originally Posted by bluefinger View Post
      To be honest, that is what programmers do. They piece together the program with code that works. What is original is then getting all the pieces to work together with as few bugs as possible. It is a weird way of doing things, but it is the reality,
      I've learned that since I started...I was put off of the idea originally but now I might as well get used to it. I have an old friend who is a coder from back when coding just started out. She was originally a librarian but then they got a new "toy" and no one knew how to use it so she started playing with it and that started her into coding and now there are lots of businesses that have old systems need her but I think she is retired now...anyway the point of the story is that when I first started thinking about it and I told her that I didn't like coding because it was a lot simpler than I thought it would be she said "people think we walk on water but we just know where the stones are hidden."

      I guess what I'm saying is I would like to know why my code is doing what it is doing vs. why the program is doing what it is doing...

      (the program does what it does because the code said so...but the code is doing it because the systems says so hehe.)
      Last edited by Sandform; 07-30-2008 at 05:02 PM.

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

      Especially low-level languages like C++ and D, ASM, etc. YOU CAN DO ANYHTING WITH THEM.

    7. #7
      Emotionally unsatisfied. Sandform's Avatar
      Join Date
      Jul 2007
      Gender
      Location
      Texas
      Posts
      4,298
      Likes
      24
      Blue hey, do you think I'll lose anything if I start out with microsoft visual basic?

      I decided it would be easier since it gives you free tutorials with download.

    8. #8
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      Quote Originally Posted by Sandform View Post
      do you think I'll lose anything if I start out with microsoft visual basic?
      respect

      I kid, I kid....

    9. #9
      Emotionally unsatisfied. Sandform's Avatar
      Join Date
      Jul 2007
      Gender
      Location
      Texas
      Posts
      4,298
      Likes
      24
      Quote Originally Posted by Ynot View Post
      respect

      I kid, I kid....
      Is it that bad? lol.

    10. #10
      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.

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

    12. #12
      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

    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
    •