Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. The First Program You Ever Wrote

The First Program You Ever Wrote

Scheduled Pinned Locked Moved The Lounge
c++delphiquestion
47 Posts 28 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H homegrown

    just thinking back between to the first time, and the very first program ever that i ever "wrote" was a DOS "application" [yes, it was called an application] that had to calculate tax [@ 14%]on any price you input. ANY price. ;P > Enter price: 10.00 Tax = 1.14 Total Price = 11.40 and it was sooo cool! nevermind it took me the best of three hours to write with borland c++ :D [and i copied half of it anyway cos i just didn't get what all the ;'s were doing there] the journey from that day to now... well, let's just say things are a little different- but programming still remains sooo cool. anyhoooo.. i was wondering just where/how did most programmers start out with their first ever "application"?

    :: have the courage to use your own reason

    M Offline
    M Offline
    Matthew Bache
    wrote on last edited by
    #27

    The first real (i.e. useful) program I wrote was at University. It was written in FORTRAN and processed data from a spectrometer for one of my projects. I forget the actual purpose of the project, but do remember finding programming more enjoyable than the physics I was meant to be doing! Even so, it took me 14 years to get around to doing more programming, when I finally embarked on the Computer Science course that led to my current career.

    1 Reply Last reply
    0
    • H homegrown

      just thinking back between to the first time, and the very first program ever that i ever "wrote" was a DOS "application" [yes, it was called an application] that had to calculate tax [@ 14%]on any price you input. ANY price. ;P > Enter price: 10.00 Tax = 1.14 Total Price = 11.40 and it was sooo cool! nevermind it took me the best of three hours to write with borland c++ :D [and i copied half of it anyway cos i just didn't get what all the ;'s were doing there] the journey from that day to now... well, let's just say things are a little different- but programming still remains sooo cool. anyhoooo.. i was wondering just where/how did most programmers start out with their first ever "application"?

      :: have the courage to use your own reason

      E Offline
      E Offline
      El Corazon
      wrote on last edited by
      #28

      homegrown wrote:

      i was wondering just where/how did most programmers start out with their first ever "application"?

      depends on how you define my first application. I modified a text only game on a TRS-80 Model I that was bombing Russia (cold war). I added graphics (radar screen) so that you could see targets, enemies, and approaching missiles trying to take you out. My first program written from the ground up was a polar coordinate mapping program of spider webs, choose center of screen, weave web until reaches a wall.... It was just learning the graphics system of my new computer I bought for myself in High School.

      _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

      H 1 Reply Last reply
      0
      • R Ray Hayes

        I'm sure I used to do something like PRINT "Hello ", or something else at the end of the line which resulted in the output going all over the screen rather than a column down the left. If I had more time, I put a loop in there and changed the foreground and background colours too!

        Regards, Ray

        R Offline
        R Offline
        ra ra ra ra
        wrote on last edited by
        #29

        Ahh yes, its all coming back to me. INK and PAPER. sooo self explanatory!!! so now we can have something a bit more colourful like this: 10 RANDOMIZE 1 20 CLS 30 PAPER INT (RND*7) : INK INT(RND*7) 40 PRINT "MY brother smells "; 45 POKE 23692,255 50 GOTO 30 I changed the text to something I would have more likely output at the tender age of 8 or 9 when I got my speccy! ok so I admit I can't remember my ZX spectrum BASIC this well. I found a manual hingy on the web.... http://www.1000bit.net/support/manuali/zxspectrum/contents.htm[^]

        1 Reply Last reply
        0
        • E El Corazon

          homegrown wrote:

          i was wondering just where/how did most programmers start out with their first ever "application"?

          depends on how you define my first application. I modified a text only game on a TRS-80 Model I that was bombing Russia (cold war). I added graphics (radar screen) so that you could see targets, enemies, and approaching missiles trying to take you out. My first program written from the ground up was a polar coordinate mapping program of spider webs, choose center of screen, weave web until reaches a wall.... It was just learning the graphics system of my new computer I bought for myself in High School.

          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

          H Offline
          H Offline
          homegrown
          wrote on last edited by
          #30

          Jeffry J. Brickley wrote:

          depends on how you define my first application.

          your first application would be any software program that was designed to perform a specific task. i;m not sure if the definition cateres for quality though [ie. did it actually work and how well? :)] nonetheless, for a first app... not bad

          :: have the courage to use your own reason

          E 1 Reply Last reply
          0
          • H homegrown

            just thinking back between to the first time, and the very first program ever that i ever "wrote" was a DOS "application" [yes, it was called an application] that had to calculate tax [@ 14%]on any price you input. ANY price. ;P > Enter price: 10.00 Tax = 1.14 Total Price = 11.40 and it was sooo cool! nevermind it took me the best of three hours to write with borland c++ :D [and i copied half of it anyway cos i just didn't get what all the ;'s were doing there] the journey from that day to now... well, let's just say things are a little different- but programming still remains sooo cool. anyhoooo.. i was wondering just where/how did most programmers start out with their first ever "application"?

            :: have the courage to use your own reason

            N Offline
            N Offline
            Nic Rowan
            wrote on last edited by
            #31

            homegrown wrote:

            and the very first program ever that i ever "wrote" was a DOS "application" [yes, it was called an application] that had to calculate tax [@ 14%]on any price you input. ANY price.

            I had to write the EXACT same program. Except I had to do it in Pascal (back in '95) :~ I still have it somewhere I think... It didn't have any procedures or functions. It was just one loooong block of code. Well, it seemed long back then it's probably only a few lines but I remember I had to (Gasp) scroll down to get to the bottom of the code.


            Capital Punishment means never having to say "you again?" As easy as 3.141592653589793238462643383279502884197169


            H 1 Reply Last reply
            0
            • H homegrown

              Jeffry J. Brickley wrote:

              depends on how you define my first application.

              your first application would be any software program that was designed to perform a specific task. i;m not sure if the definition cateres for quality though [ie. did it actually work and how well? :)] nonetheless, for a first app... not bad

              :: have the courage to use your own reason

              E Offline
              E Offline
              El Corazon
              wrote on last edited by
              #32

              homegrown wrote:

              did it actually work and how well?

              I made the game "look" incredible compared to before. But we offered it back to the company that made it, the author pressed that any modifications to his code belonged to him, it was our first example of software legal battles, and we were in 9th grade. We had a team, I taught the others programming and we all through around "could you do this" and I did it. The game looked great, played great, the legal battle was short, we gave up the code, I never modified another program, and almost didn't go into programming... I just missed it so much when I wasn't programming, I saved up enough to buy my own a couple years later.

              _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

              H 1 Reply Last reply
              0
              • N Nic Rowan

                homegrown wrote:

                and the very first program ever that i ever "wrote" was a DOS "application" [yes, it was called an application] that had to calculate tax [@ 14%]on any price you input. ANY price.

                I had to write the EXACT same program. Except I had to do it in Pascal (back in '95) :~ I still have it somewhere I think... It didn't have any procedures or functions. It was just one loooong block of code. Well, it seemed long back then it's probably only a few lines but I remember I had to (Gasp) scroll down to get to the bottom of the code.


                Capital Punishment means never having to say "you again?" As easy as 3.141592653589793238462643383279502884197169


                H Offline
                H Offline
                homegrown
                wrote on last edited by
                #33

                Nic Rowan wrote:

                I had to write the EXACT same program

                what are the odds? must have been the choice of the decade back then.. '96 for me. :laugh: our lecturer was inot his GIS C++ stuff back then.. so pascal was out but i remember a few "geeks" in the class room complaining becos c++ wasn't as friendly as the pascal they were used to... of course.. i had NO clude as to what they were talking about..

                :: have the courage to use your own reason

                1 Reply Last reply
                0
                • A Arjan Schouten

                  Yep, something with POKE 53280,X and POKE 53281,X on the C64 if I recall correct. ;)

                  Arjan

                  R Offline
                  R Offline
                  Ryan Binns
                  wrote on last edited by
                  #34

                  Arjan Schouten wrote:

                  Yep, something with POKE 53280,X and POKE 53281,X on the C64 if I recall correct.

                  Yup :). Those numbers sound awfully familiar

                  Ryan

                  "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                  H 1 Reply Last reply
                  0
                  • E El Corazon

                    homegrown wrote:

                    did it actually work and how well?

                    I made the game "look" incredible compared to before. But we offered it back to the company that made it, the author pressed that any modifications to his code belonged to him, it was our first example of software legal battles, and we were in 9th grade. We had a team, I taught the others programming and we all through around "could you do this" and I did it. The game looked great, played great, the legal battle was short, we gave up the code, I never modified another program, and almost didn't go into programming... I just missed it so much when I wasn't programming, I saved up enough to buy my own a couple years later.

                    _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                    H Offline
                    H Offline
                    homegrown
                    wrote on last edited by
                    #35

                    Jeffry J. Brickley wrote:

                    it was our first example of software legal battles, and we were in 9th grade

                    taking on the heavies from an early age then, heh ;) maybe that kind of thing [software legal wrangles] should be included as part of programming certification ? ...

                    :: have the courage to use your own reason

                    E 1 Reply Last reply
                    0
                    • A Alsvha

                      Can't remember, to many years ago, but it was in Comal 80.

                      --------------------------- 127.0.0.1 - Sweet 127.0.0.1

                      H Offline
                      H Offline
                      homegrown
                      wrote on last edited by
                      #36

                      Comal 80 ? never heard of it [not that i have a wealth of knowledge in programming languages] but it sounds like a prescription drug more than a programming language.. :laugh:

                      :: have the courage to use your own reason

                      1 Reply Last reply
                      0
                      • R Ryan Binns

                        Arjan Schouten wrote:

                        Yep, something with POKE 53280,X and POKE 53281,X on the C64 if I recall correct.

                        Yup :). Those numbers sound awfully familiar

                        Ryan

                        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                        H Offline
                        H Offline
                        homegrown
                        wrote on last edited by
                        #37

                        are we still talking about programming and languages? :-D although, i guess if you had to actually listen to programmers talk they would sound like trippin' rappers .. ? but i'm glad some things have changed...

                        :: have the courage to use your own reason

                        1 Reply Last reply
                        0
                        • E Ed Poore

                          Well my first program shows my families attitude & mentality to life. It was aptly named: Kill Donkey. Thinking back it was like a very simple Tamagotchi, the donkey was born, you fed it, you killed it, you ate it. :rolleyes:


                          Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9 Ed

                          H Offline
                          H Offline
                          homegrown
                          wrote on last edited by
                          #38

                          riiight.. so, you erm.. still programming? :)

                          :: have the courage to use your own reason

                          E 1 Reply Last reply
                          0
                          • D Daniel Turini

                            Anders Molin wrote:

                            ut, I got a ZX81 back in 1981 ;) I still remember when I unpacked it and looked at the keyboard, and wondered about what all that "run", "goto" and other stuff did.

                            Recently I used a ZX81 emulator coded in JavaScript (:omg:) and I was shocked that I still remember most of those keyboard commands (on the "K" cursor state): "J" for "LOAD", "L" for "LET", and so on.

                            I don't see dead pixels anymore... Yes, even I am blogging now!

                            H Offline
                            H Offline
                            homegrown
                            wrote on last edited by
                            #39

                            in terms of which is more shocking..i think it's gonna be a photo finish between

                            Daniel Turini wrote:

                            Recently I used a ZX81 emulator coded in JavaScript

                            and

                            Daniel Turini wrote:

                            I still remember most of those keyboard commands

                            :: have the courage to use your own reason

                            1 Reply Last reply
                            0
                            • H homegrown

                              just thinking back between to the first time, and the very first program ever that i ever "wrote" was a DOS "application" [yes, it was called an application] that had to calculate tax [@ 14%]on any price you input. ANY price. ;P > Enter price: 10.00 Tax = 1.14 Total Price = 11.40 and it was sooo cool! nevermind it took me the best of three hours to write with borland c++ :D [and i copied half of it anyway cos i just didn't get what all the ;'s were doing there] the journey from that day to now... well, let's just say things are a little different- but programming still remains sooo cool. anyhoooo.. i was wondering just where/how did most programmers start out with their first ever "application"?

                              :: have the courage to use your own reason

                              M Offline
                              M Offline
                              Miszou
                              wrote on last edited by
                              #40

                              The first program I remember writing, was a BASIC game for the 48k Oric. I called it "Bug Man Boris" and the idea was to control a bug-catcher (Boris) and catch a bug that was randomly moving about the screen. As soon as it was caught, another one would appear and the time limit allowed to catch the bug was decreased. The best part about it was the User-Defined Graphics (UDGs), that you could create by manipulating the memory locations that held the character font. Each character was 8x8 pixels, so you could just "poke" new binary values into the right memory locations. It taught me everything I know about binary :cool: I submitted the game to an Oric-User magazine, and they rejected it. I was very disappointed at the time, but my disappointment turned to understanding when the magazine published its final issue the following month.


                              The StartPage Randomizer | The Timelapse Project | A Random Web Page

                              H 1 Reply Last reply
                              0
                              • H homegrown

                                Jeffry J. Brickley wrote:

                                it was our first example of software legal battles, and we were in 9th grade

                                taking on the heavies from an early age then, heh ;) maybe that kind of thing [software legal wrangles] should be included as part of programming certification ? ...

                                :: have the courage to use your own reason

                                E Offline
                                E Offline
                                El Corazon
                                wrote on last edited by
                                #41

                                homegrown wrote:

                                taking on the heavies from an early age then, heh

                                Loosing to the heavies at an early age... We were young and inexperienced in what to do about things like that, especially when companies throw around threats. And the author was extremely angry and wanted our code with a cease and disist order to change any of his code in the future. He was furious that we had "changed it". I thought it looked 10 times better, and perhaps he did too -- I could imagine that would be infuriating that a couple of teenagers that taught themselves programming from a TRS-80 basic manual had mad a highly detailed graphics version of his game. Or perhaps he really did think we ruined it. It almost discouraged me from programming again... it did for a while... but I found I actually missed it, not doing it for over a year, so I saved for my own computer, and wrote everything from scratch after that. :)

                                _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                H 1 Reply Last reply
                                0
                                • E El Corazon

                                  homegrown wrote:

                                  taking on the heavies from an early age then, heh

                                  Loosing to the heavies at an early age... We were young and inexperienced in what to do about things like that, especially when companies throw around threats. And the author was extremely angry and wanted our code with a cease and disist order to change any of his code in the future. He was furious that we had "changed it". I thought it looked 10 times better, and perhaps he did too -- I could imagine that would be infuriating that a couple of teenagers that taught themselves programming from a TRS-80 basic manual had mad a highly detailed graphics version of his game. Or perhaps he really did think we ruined it. It almost discouraged me from programming again... it did for a while... but I found I actually missed it, not doing it for over a year, so I saved for my own computer, and wrote everything from scratch after that. :)

                                  _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                  H Offline
                                  H Offline
                                  homegrown
                                  wrote on last edited by
                                  #42

                                  funny story.. i guess how *dare* a couple of kids improve professional code.. :) btw: can u remember how you got hold of the source code? cos then clearly modifying it was "ok" [assuming obtained *legally*?] ah well, long ago.. but what is interesting is

                                  Jeffry J. Brickley wrote:

                                  It almost discouraged me from programming again

                                  u glad u went ahead anyway and still at it after all that's gone and done?

                                  :: have the courage to use your own reason

                                  E 1 Reply Last reply
                                  0
                                  • M Miszou

                                    The first program I remember writing, was a BASIC game for the 48k Oric. I called it "Bug Man Boris" and the idea was to control a bug-catcher (Boris) and catch a bug that was randomly moving about the screen. As soon as it was caught, another one would appear and the time limit allowed to catch the bug was decreased. The best part about it was the User-Defined Graphics (UDGs), that you could create by manipulating the memory locations that held the character font. Each character was 8x8 pixels, so you could just "poke" new binary values into the right memory locations. It taught me everything I know about binary :cool: I submitted the game to an Oric-User magazine, and they rejected it. I was very disappointed at the time, but my disappointment turned to understanding when the magazine published its final issue the following month.


                                    The StartPage Randomizer | The Timelapse Project | A Random Web Page

                                    H Offline
                                    H Offline
                                    homegrown
                                    wrote on last edited by
                                    #43

                                    the game sounds prophetic in terms of a software development lifecycle :) but it does seem that from the beginning, programming has inherited a legacy of some really odd sounding names [including other posts too]: Oric? could easily be a character in a sci-fi novel and Oric raverses the wilderness in his trusty UDG in search of evil *somethings* ...

                                    :: have the courage to use your own reason

                                    1 Reply Last reply
                                    0
                                    • H homegrown

                                      funny story.. i guess how *dare* a couple of kids improve professional code.. :) btw: can u remember how you got hold of the source code? cos then clearly modifying it was "ok" [assuming obtained *legally*?] ah well, long ago.. but what is interesting is

                                      Jeffry J. Brickley wrote:

                                      It almost discouraged me from programming again

                                      u glad u went ahead anyway and still at it after all that's gone and done?

                                      :: have the courage to use your own reason

                                      E Offline
                                      E Offline
                                      El Corazon
                                      wrote on last edited by
                                      #44

                                      homegrown wrote:

                                      funny story.. i guess how *dare* a couple of kids improve professional code.. btw: can u remember how you got hold of the source code? cos then clearly modifying it was "ok" [assuming obtained *legally*?] ah well, long ago.. but what is interesting is

                                      I loaded it off the casette, and sent a break during excecution. We're talking 1979, when the game was baught on cassette tape and played into the computer as a binary scream (stream if you want to be specific, but if you ever listened to a bitstream...). The game was all in basic, so I simply interrupted game-play rewrote the game and saved it on our own cassette. There wasn't a "binary" on the Model I, there was only obfuscated Basic and Basic.

                                      _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                      H D 2 Replies Last reply
                                      0
                                      • E El Corazon

                                        homegrown wrote:

                                        funny story.. i guess how *dare* a couple of kids improve professional code.. btw: can u remember how you got hold of the source code? cos then clearly modifying it was "ok" [assuming obtained *legally*?] ah well, long ago.. but what is interesting is

                                        I loaded it off the casette, and sent a break during excecution. We're talking 1979, when the game was baught on cassette tape and played into the computer as a binary scream (stream if you want to be specific, but if you ever listened to a bitstream...). The game was all in basic, so I simply interrupted game-play rewrote the game and saved it on our own cassette. There wasn't a "binary" on the Model I, there was only obfuscated Basic and Basic.

                                        _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                        H Offline
                                        H Offline
                                        homegrown
                                        wrote on last edited by
                                        #45

                                        Jeffry J. Brickley wrote:

                                        obfuscated Basic

                                        LOL

                                        :: have the courage to use your own reason

                                        1 Reply Last reply
                                        0
                                        • E El Corazon

                                          homegrown wrote:

                                          funny story.. i guess how *dare* a couple of kids improve professional code.. btw: can u remember how you got hold of the source code? cos then clearly modifying it was "ok" [assuming obtained *legally*?] ah well, long ago.. but what is interesting is

                                          I loaded it off the casette, and sent a break during excecution. We're talking 1979, when the game was baught on cassette tape and played into the computer as a binary scream (stream if you want to be specific, but if you ever listened to a bitstream...). The game was all in basic, so I simply interrupted game-play rewrote the game and saved it on our own cassette. There wasn't a "binary" on the Model I, there was only obfuscated Basic and Basic.

                                          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                          D Offline
                                          D Offline
                                          Dan Neely
                                          wrote on last edited by
                                          #46

                                          Jeffry J. Brickley wrote:

                                          the game was baught on cassette tape and played into the computer as a binary scream (stream if you want to be specific, but if you ever listened to a bitstream...).

                                          I remember trying to get a free game that was bundled in a mag from vinal into a trash80-color computer by putting the record on a turn table and recording a cassette. So much pain, and I never got a readable copy either. :(

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups