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 Offline
    H Offline
    homegrown
    wrote on last edited by
    #1

    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

    R E A J J 17 Replies 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

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

      on the good ole spectrum 48k 10 Print "Hello World" 20 Goto 10 think thats the right syntax! :rolleyes:

      R H R 3 Replies 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
        Ed Poore
        wrote on last edited by
        #3

        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 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

          A Offline
          A Offline
          Anders Molin
          wrote on last edited by
          #4

          Hmm, I don't really remember.. But, 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. When I got it hooked up to my parents TV, I thought I could use it as a calculator, so when I wrote "10+10=" it should show the result. The ZX 81 always started every line with a Basic keyword which was hardcoded to different keys on the keyboard so you didn't have to write them yourself. I pressed the key for "print" without knowing what it was supposed to do, and wrote "10+10=" and nothing happened. Hmmm :confused: Then I deleted the "=" and pressed enter, and huh! The TV actually showed "20" on the next line. After that I started to read the manual and a looong adventure into programming started. I know, not my first program, but related I think :)

          - Anders My new photo website[^]

          D 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

            J Offline
            J Offline
            J4amieC
            wrote on last edited by
            #5

            I used to copy Basic programs out of magazines with my dad into an Acorn Electron (evil twin of the BBC Basic). This was circa 1985. Those things were thousands of lines long with no debugger - if it didnt run it was a case of scanning through line for line to try to spot the typo. Occasionaly the magazine itself would contain a typo - those were the REALLY fun ones.

            --- How to get answers to your questions[^]

            realJSOPR R 2 Replies 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

              J Offline
              J Offline
              Jorgen Sigvardsson
              wrote on last edited by
              #6

              Tax = Round(Price * TaxFactor, 2) - Price Your app reengineered. Mwahahah!

              -- Mit viel Oktan und frei von Blei, eine Kraftstoff wie Benziiiiiiin!

              H 1 Reply Last reply
              0
              • J J4amieC

                I used to copy Basic programs out of magazines with my dad into an Acorn Electron (evil twin of the BBC Basic). This was circa 1985. Those things were thousands of lines long with no debugger - if it didnt run it was a case of scanning through line for line to try to spot the typo. Occasionaly the magazine itself would contain a typo - those were the REALLY fun ones.

                --- How to get answers to your questions[^]

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #7

                The first program I remember writing without any help from anyone was in 1979 and was on an Atari 400. It was written in Atari Basic and calculated complex numbers. The first program I ever made available for download was in 1983 and allowed the user to select his own color scheme inside the Turbo Pascal 1.0 editor.

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                1 Reply Last reply
                0
                • R ra ra ra ra

                  on the good ole spectrum 48k 10 Print "Hello World" 20 Goto 10 think thats the right syntax! :rolleyes:

                  R Offline
                  R Offline
                  Ray Kinsella
                  wrote on last edited by
                  #8

                  you and me both brother .... :-D

                  Regards Ray "Je Suis Mort De Rire" Blogging @ Keratoconus Watch

                  1 Reply Last reply
                  0
                  • J Jorgen Sigvardsson

                    Tax = Round(Price * TaxFactor, 2) - Price Your app reengineered. Mwahahah!

                    -- Mit viel Oktan und frei von Blei, eine Kraftstoff wie Benziiiiiiin!

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

                    :omg: i think i only discovered the ability to round two classes later :laugh:

                    :: 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

                      C Offline
                      C Offline
                      coolestCoder
                      wrote on last edited by
                      #10

                      My first program was a QBASIC program which played the indian national antheme. ( the secret is that i copied it from somewhere and just runned it ) But what a feeling that time ! I was on the moon when it completed successfully !!:-D


                      "A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder


                      Anant Y. Kulkarni

                      _ 1 Reply Last reply
                      0
                      • R ra ra ra ra

                        on the good ole spectrum 48k 10 Print "Hello World" 20 Goto 10 think thats the right syntax! :rolleyes:

                        H Offline
                        H Offline
                        hairy_hats
                        wrote on last edited by
                        #11

                        So it wasn't just me fiddling with Speccies in WH Smiths then!

                        Asynes yw brassa ages kwilkynyow.

                        1 Reply Last reply
                        0
                        • J J4amieC

                          I used to copy Basic programs out of magazines with my dad into an Acorn Electron (evil twin of the BBC Basic). This was circa 1985. Those things were thousands of lines long with no debugger - if it didnt run it was a case of scanning through line for line to try to spot the typo. Occasionaly the magazine itself would contain a typo - those were the REALLY fun ones.

                          --- How to get answers to your questions[^]

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

                          Ya I started with those as well , The mags I used where called 'INPUT' and you could be certain that if he program was more than 5 lines long, it wouldn't work. Me and my brother would spend hours typing them in on the ZX spectrum (not easy as half rubber keys had rubbed off from playing games) to find they wouldn't work. Then spend ages trying to find a typo. Only to find out in another 5 issues time that yes they had got it wrong and they published some 'errata' to correct the program. :mad: the errata corrections never worked either though!! grrrrrrr was a frustrating time, and hasn't got that much better over the years!!

                          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

                            A Offline
                            A Offline
                            Alsvha
                            wrote on last edited by
                            #13

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

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

                            H 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

                              B Offline
                              B Offline
                              benjymous
                              wrote on last edited by
                              #14

                              On the Tandy TRS80 my dad recovered from a skip when his University was having a clearout - I think it was something along the lines of: 10 PRINT "HELLO RICHARD" 20 GOTO 10 Then (with lots of help from my Dad) we made some kind of snow program, with white asterisks falling down the screen. The TRS80 was incredibly limited to what you could actually do - it had no graphics, just upper case characters and punctuation.

                              -- Help me! I'm turning into a grapefruit! Buzzwords!

                              J 1 Reply Last reply
                              0
                              • C coolestCoder

                                My first program was a QBASIC program which played the indian national antheme. ( the secret is that i copied it from somewhere and just runned it ) But what a feeling that time ! I was on the moon when it completed successfully !!:-D


                                "A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder


                                Anant Y. Kulkarni

                                _ Offline
                                _ Offline
                                _AK_
                                wrote on last edited by
                                #15

                                Anant Y. Kulkarni wrote:

                                ( the secret is that i copied it from somewhere and just runned it )

                                Born programmer.. :)

                                Best Regards, Apurva Kaushal

                                1 Reply Last reply
                                0
                                • A Anders Molin

                                  Hmm, I don't really remember.. But, 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. When I got it hooked up to my parents TV, I thought I could use it as a calculator, so when I wrote "10+10=" it should show the result. The ZX 81 always started every line with a Basic keyword which was hardcoded to different keys on the keyboard so you didn't have to write them yourself. I pressed the key for "print" without knowing what it was supposed to do, and wrote "10+10=" and nothing happened. Hmmm :confused: Then I deleted the "=" and pressed enter, and huh! The TV actually showed "20" on the next line. After that I started to read the manual and a looong adventure into programming started. I know, not my first program, but related I think :)

                                  - Anders My new photo website[^]

                                  D Offline
                                  D Offline
                                  Daniel Turini
                                  wrote on last edited by
                                  #16

                                  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 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
                                    Marc Clifton
                                    wrote on last edited by
                                    #17

                                    The first program I wrote that I remember was a text-based (teletype actually) Star Trek game on a PDP-11. 10x10 grid, your ship, phasers, photons, Romulan Neutral Zone, a couple planets to investigate, a space station to dock with. You basically had to wipe out the Romulans and save the planets, but some of them lurked hidden behind the neutral zone and you had to go hunt them down. Every turn reprinted the grid with updated positions and stats like shields, energy, etc. Let's see, that was in 8th grade, I think, over 30 years ago. Marc

                                    Thyme In The Country

                                    People are just notoriously impossible. --DavidCrow
                                    There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
                                    People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

                                    H 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

                                      L Offline
                                      L Offline
                                      Lost User
                                      wrote on last edited by
                                      #18

                                      Too long ago to remember exactly - probably something to perform some simple calculations in BBC Basic (around 1983/1984).

                                      1 Reply Last reply
                                      0
                                      • R ra ra ra ra

                                        on the good ole spectrum 48k 10 Print "Hello World" 20 Goto 10 think thats the right syntax! :rolleyes:

                                        R Offline
                                        R Offline
                                        Ray Hayes
                                        wrote on last edited by
                                        #19

                                        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

                                        A R 2 Replies 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

                                          C Offline
                                          C Offline
                                          Chris Losinger
                                          wrote on last edited by
                                          #20

                                          it was probably 10 PRINT "Yay "; 20 Goto 10 in BASIC, on a Commodore PET.

                                          image processing | blogging

                                          H 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