Gotta lay off the programming.

  • Aggressive
  • Amazed
  • Amused
  • Angelic
  • Angry
  • Artistic
  • Asleep
  • Bashful
  • Blah
  • Bored
  • Breezy
  • Brooding
  • Busy
  • Buzzed
  • Chatty
  • Cheeky
  • Cheerful
  • Cloud 9
  • Cold
  • Cold Turkey
  • Confused
  • Cool
  • Crappy
  • Curious
  • Cynical
  • Daring
  • Dead
  • Depressed
  • Devilish
  • Doh
  • Doubtful
  • Drunk
  • Energetic
  • Fiendish
  • Fine
  • Flirty
  • Gloomy
  • Goofy
  • Grumpy
  • Happy
  • Hot
  • Hung Over
  • In Love
  • In Pain
  • Innocent
  • Inspired
  • Lonely
  • Lurking
  • Mellow
  • Mischievious
  • Nerdy
  • None
  • Not Worthy
  • Paranoid
  • Pensive
  • Psychedelic
  • Question
  • Relaxed
  • ROFLMAO
  • Sad
  • Scared
  • Shocked
  • Sick
  • Sleepy
  • Sneaky
  • Snobbish
  • Spaced
  • Stressed
  • Sunshine
  • Sweet Tooth
  • Thinking
  • Tired
  • Twisted
  • Vegged Out
  • Worried
  • Yee Haw
  • Page 1 of 3 123 LastLast
    Results 1 to 15 of 34
    1. #1
      Tobias Reiper's Avatar
      Tobias Reiper is online now Persona non grata
      ---
       
      Join Date
      May 12th, 2003
      Location
      Here and there
      Posts
      1,734
      Male - Christian
      Mentioned
      0 Post(s)

      Gotta lay off the programming.

      I've been working on my programs so much that It's even started to show up in my typing and thought patterns. For example, I constantly find myself ending my sentences in semicolons; Not only that, but I'm starting to think in terms of conditional statements; It's bad enough I use to type them out in chat, but now I'm starting to think them. << endl;

      For example, when deciding whether to go to bed or not, I find my thought process going something like this:

      void main() {
      float BedTime = 10.0;
      if (Time == BedTime)
      {
      if (Energy > 0)
      {
      BedTime += .5 //I'm a procrastinator to the point of putting off going to bed
      Energy -= 1;
      }
      else
      {
      BedTimeRoutine(LogOut,ClearBed,LightsOff)
      }
      }
      }

      Do you think I need a break from programming?
      I am a firm believer in gun control. As a matter of fact, I'm on the range every chance I get to improve my ability to control my gun.

    2. #2
      Solly's Avatar
      Solly is offline Ex-twebber
      ---
       
      Join Date
      January 27th, 2003
      Location
      Northampton
      Posts
      15,056
      Male - Christian (other)
      Mentioned
      0 Post(s)
      void main() {
      float SpamTime = 10.0;
      if (Time == SpamTime)
      {
      if (Energy > 0)
      {
      SpamTime += .5 //I'm programming too much lately
      Energy -= 1;
      }
      else
      {
      SpamTimeRoutine(ChillOut,ClearDesktop,CoffeeOn)
      }
      }
      }

    3. #3
      AcousticJS's Avatar
      AcousticJS is offline I resolved to know nothing...
      ---
       
      Join Date
      January 30th, 2003
      Location
      Hexham
      Posts
      1,775
      Male - Christian
      Mentioned
      0 Post(s)
      Quote Originally posted by Fatty Arbuckle
      Do you think I need a break from programming?
      Not until you sort out the bug in your code. Honestly, it's such a basic error as well!
      My name is Jon and you're more than welcome to use it.
      God made me geeky, and when I code I feel His pleasure...


    4. #4
      AcousticJS's Avatar
      AcousticJS is offline I resolved to know nothing...
      ---
       
      Join Date
      January 30th, 2003
      Location
      Hexham
      Posts
      1,775
      Male - Christian
      Mentioned
      0 Post(s)
      Oops, I should really say bugs in your code... All of the same kind though. Oohh, and another error I've just spotted - this one's different though. You must really like compiler error messages

      Maybe the question should be, do I need a break from programming?
      My name is Jon and you're more than welcome to use it.
      God made me geeky, and when I code I feel His pleasure...


    5. #5
      $cirisme's Avatar
      $cirisme is offline From another world
      Cool
       
      Join Date
      January 26th, 2003
      Location
      United States
      Posts
      24,215
      Male - Christian
      Mentioned
      0 Post(s)
      It's bad enough I use to type them out in chat, but now I'm starting to think them.
      I do that too;

      It gets annoying;

      Because I have to intentionally;

      Will myself to not do it;

      Just a note, $cir is right. -Sparko

    6. #6
      Em7add11's Avatar
      Em7add11 is offline next if /^[\*|\[]/;
      ---
       
      Join Date
      January 27th, 2003
      Location
      Ontario
      Posts
      28,538
      Male - Atheist
      Mentioned
      0 Post(s)
      I used to type my away messages in C.

      I would even get out the C reference manuals I have to make sure they were correct.
      In the grave they chose to make their beds
      Now all that they've created comes crashing down,
      Down upon their heads
      Death is waiting

    7. #7
      Jade's Avatar
      Jade is offline Blue eyes crying in the rain
      Pensive
       
      Join Date
      January 26th, 2003
      Location
      Tulsa, Oklahoma
      Posts
      9,280
      Female - Christian
      Mentioned
      0 Post(s)
      Reading these posts is enough to make a wannabe English major go crazy.

    8. #8
      AcousticJS's Avatar
      AcousticJS is offline I resolved to know nothing...
      ---
       
      Join Date
      January 30th, 2003
      Location
      Hexham
      Posts
      1,775
      Male - Christian
      Mentioned
      0 Post(s)
      I've just noticed that neither of you have indented your code either.
      My name is Jon and you're more than welcome to use it.
      God made me geeky, and when I code I feel His pleasure...


    9. #9
      Solly's Avatar
      Solly is offline Ex-twebber
      ---
       
      Join Date
      January 27th, 2003
      Location
      Northampton
      Posts
      15,056
      Male - Christian (other)
      Mentioned
      0 Post(s)
      'Cous, I know nothing about code whatsoever, I just adjusted his, so blame him!

      Anyway, see you all on Monday, God willing sllly

    10. #10
      Em7add11's Avatar
      Em7add11 is offline next if /^[\*|\[]/;
      ---
       
      Join Date
      January 27th, 2003
      Location
      Ontario
      Posts
      28,538
      Male - Atheist
      Mentioned
      0 Post(s)
      Quote Originally posted by AcousticJS
      I've just noticed that neither of you have indented your code either.
      Tweb removes extra spaces.

      This sentence has one leading space.
      This sentence has ten leading spaces.
      Last edited by Em7add11; May 21st 2004 at 12:19 PM. Reason: argh, spelling
      In the grave they chose to make their beds
      Now all that they've created comes crashing down,
      Down upon their heads
      Death is waiting

    11. #11
      $cirisme's Avatar
      $cirisme is offline From another world
      Cool
       
      Join Date
      January 26th, 2003
      Location
      United States
      Posts
      24,215
      Male - Christian
      Mentioned
      0 Post(s)
      Code:
      				not if you do
       
       
       
       			  this :wink:

      Just a note, $cir is right. -Sparko

    12. #12
      Jade's Avatar
      Jade is offline Blue eyes crying in the rain
      Pensive
       
      Join Date
      January 26th, 2003
      Location
      Tulsa, Oklahoma
      Posts
      9,280
      Female - Christian
      Mentioned
      0 Post(s)
      Keep it up and I'll move this to the computer lab.

    13. #13
      Tobias Reiper's Avatar
      Tobias Reiper is online now Persona non grata
      ---
       
      Join Date
      May 12th, 2003
      Location
      Here and there
      Posts
      1,734
      Male - Christian
      Mentioned
      0 Post(s)
      I'm a bit rusty with C++, since my compiler has to be reinstalled before I can do any more programming.

      The only bugs I can really find are not declaring Energy, which is a global variable (I didn't include the global variables, headers, or the function declarations to save space), and seemingly passing function calls as parameters, which the variables passed to BedTimeRoutine are booleans that control the flow of the function.

      If you've only used DevC++ (or similar) then main not returning a value would be a problem, but in Microsoft Visual Studio void main() is perfectly acceptable.

      It would have been easier if my compiler worked, though, since my technique is to program, compile, fix errors, compile again, fix errors, repeat until I finish the program.
      I am a firm believer in gun control. As a matter of fact, I'm on the range every chance I get to improve my ability to control my gun.

    14. #14
      AcousticJS's Avatar
      AcousticJS is offline I resolved to know nothing...
      ---
       
      Join Date
      January 30th, 2003
      Location
      Hexham
      Posts
      1,775
      Male - Christian
      Mentioned
      0 Post(s)
      Quote Originally posted by Fatty Arbuckle
      I'm a bit rusty with C++, since my compiler has to be reinstalled before I can do any more programming.
      Well, if it's C++, my understanding is that main() always returns an int value - the void made me think you were writing in C.

      The only bugs I can really find are not declaring Energy, which is a global variable (I didn't include the global variables, headers, or the function declarations to save space),
      Fair do's - shoulda guessed there'd be a header file somewhere!

      and seemingly passing function calls as parameters, which the variables passed to BedTimeRoutine are booleans that control the flow of the function.
      Ooh, missed that one.

      If you've only used DevC++ (or similar) then main not returning a value would be a problem, but in Microsoft Visual Studio void main() is perfectly acceptable.
      Ah, ok. Shoulda read the whole post before starting to reply

      It would have been easier if my compiler worked, though, since my technique is to program, compile, fix errors, compile again, fix errors, repeat until I finish the program.
      You also missed off a couple of semi-colons. That was the first error I spotted.

      I really should stop programming quite so much. And probably go get some fresh air instead.
      My name is Jon and you're more than welcome to use it.
      God made me geeky, and when I code I feel His pleasure...


    15. #15
      $cirisme's Avatar
      $cirisme is offline From another world
      Cool
       
      Join Date
      January 26th, 2003
      Location
      United States
      Posts
      24,215
      Male - Christian
      Mentioned
      0 Post(s)
      my technique is to program, compile, fix errors, compile again, fix errors, repeat until I finish the program.
      Me too.

      Just a note, $cir is right. -Sparko

    Page 1 of 3 123 LastLast

    Similar Threads

    1. Programming?
      By Matt the Bat in forum Computer Lab
      Replies: 23
      Last Post: September 11th 2011, 02:44 PM
    2. anyone do web programming?
      By Summoned n00b in forum Computer Lab
      Replies: 16
      Last Post: February 1st 2008, 07:31 PM
    3. Learning Programming
      By Matt the Bat in forum Computer Lab
      Replies: 24
      Last Post: July 28th 2006, 12:37 AM
    4. ti-83 programming?
      By ih8censorship in forum Computer Lab
      Replies: 8
      Last Post: July 18th 2006, 04:13 AM
    5. Gotta lay off the programming.
      By Tobias Reiper in forum Rec Room
      Replies: 23
      Last Post: May 22nd 2004, 02:17 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
    •