Click to See Complete Forum and Search --> : first program/language?


paladin487
12-11-2000, 09:03 PM
This has probably been done to death, but I haven't seen it, so here goes. What was the first language you learned to program in? Also, what was the first program you ever got to work?
Mine was QBASIC a few years ago. I bought the QBASIC for Dummies book and taught myself. I made this cool little DOS-based calculator program that could add, subtract, multiply, divide, and do powers. It could handle decimal points and would even handle errors(somewhat). I was really proud of it, too. http://www.linuxnewbie.org/ubb/smile.gif

paladin


------------------
If you ever drop your keys into a river of molten lava, let 'em go, cause they're gone, man. They're gone.

Gweedo
12-11-2000, 09:08 PM
The first language I learned wat True Basic. http://www.linuxnewbie.org/ubb/smile.gif

Then I went to c++ and c. Still in the process of these. So much stuff you can do withem. I do not think you can ever finish learning them. heh.

------------------
Dubbie..Dubbie..Do..
Watch out.. or the Penguin will get You ;)

Gryphin++
12-11-2000, 09:24 PM
QBasic, and these kick *** choose-your-own-adventure books that had BASIC programs as part of the book. Man i wish i could remember what the name of that series was, i'd love to go buy the set.

Strike
12-11-2000, 10:07 PM
The first programming I ever did was AppleBASIC back in 1984. The first semi-useful stuff I ever did was QBasic about 4 years after that. Can't remember the first thing I got to run. I did a lot of graphics stuff with it (won some contests even).

Serbot
12-11-2000, 11:03 PM
My first language was C++, and my first (halfway) useful program was a calculator..I'll add powers it later http://www.linuxnewbie.org/ubb/biggrin.gif

aph3x
12-11-2000, 11:51 PM
when i was 10, i used a language that i dont even know the name of, may have been BASIC... all i can remember is i used it on an apple IIe (yeah, way back then).

then i took a BASIC class in junior high. now im in college; i recently taught myself c and i just finished my first semester of structured c++, going to take oop c++ next fall.also to meet my degree requirements, i have to take a java and a visual basic class.

A_Lawn_GNOME
12-11-2000, 11:55 PM
C++ / Helloworld

miller
12-12-2000, 01:08 AM
AppleBASIC on an Apple IIgs.

The first program I ever remember writing was one where it asked for your name, and depending on the name entered it would say different things. I had a big if/else with my families names in it. It was lame, but I was pretty little, so I was proud of it.

My favorite program I ever wrote, was a calculator in C. It was a final project for a class. I was pretty proud, because everyone else just had a menu where you choose 'Add 2 numbers', 'subract 2 numbers', etc. Mine actually had a cmd line and you entered an expression, and it returned the result. You could also set variables. At the time, I didn't know to use a stack for the expression, so I actually had to parse the string piece by piece. I've now been thinking of rewriting it using a stack, but I havn't gotten around to it.

Sterling
12-12-2000, 01:43 PM
My first programming language? Umm... About six or seven years ago, I taught myself GWBasic just to have something else to do with the rather out-of-date computer we had at the time. I've learned other languages since then, but time constraints at school and such have prevented me from finishing any large projects. :-(

------------------
-Sterling
-This post made with the Lizard! (http://www.mozilla.org)

The_Stack
12-12-2000, 06:36 PM
Applesoft BASIC on an Apple][e in 1986.

My first program was something like:

10 PRINT "HELLO"
20 GOTO 10

After a year, I learned 6502 assembly and messed around with the mini-assembler, writing little asm programs and having fun hacking Apple DOS 3.3

Death on Wheels
12-12-2000, 07:03 PM
AUTOEXEC.BAT

http://www.linuxnewbie.org/ubb/smile.gif

------------------
Kurt Weber
Shell scripts? Shell scripts? We don't NEED no stinkin' shell scripts!
White, heterosexual, middle-class, and proud!
I've never understood why Bill Gates would name his company after his penis.

bonefish
12-13-2000, 09:23 AM
<html>
<head>
<title>My first webpage!!!</title>
</head>
<body>

<h1><center>Hi!!</center></h1>

</body>
</html>
-------

Right now I'm halfway learning c++.

(0+++<

DesertWolf
12-14-2000, 09:08 AM
Basic on an old IBM in 1977.

------------------
Once you learn something, it can never be taken away.

frustratedlinuxnewbie
12-14-2000, 11:09 AM
basic on an old SHARP pocket computer.

------------------
I'm bored :(

stavefan
12-14-2000, 11:14 AM
started with html for a spanish class(my minor) in college...caught the coding bug...changed majors from chem to comp sci/math and then learned c++....first program in c++....."Hello World"...gotta love that one....its been a wild ride ever since...

------------------
Sometimes strange things can be very beautiful...

Aleixa, "V", "Honey Lake"

TheLinuxDuck
12-14-2000, 11:24 AM
Somewhere around 1980, my dad had this killer engineer's calculator that was programmable. It could even do some games and such.. I'd spend hours keying in code on that thing to play a game for about an hour, and when it shut off, the code was gone.. ::sigh::

Of course, I think I was entering code in from Rainbow magazine on my brothers CoCo before that..

Anyone remember the one-liners?

------------------
TheLinuxDuck
Wait... that's a penguin?!?!?
:wq

pointreyes
12-14-2000, 04:53 PM
AppleBASIC in 1982.

First program: Kepler's Law, if a planet is locate so many miles from the Sun, how long does it take to revolve around the Sun.

I could only use the program for the first few planets since I had the 64K limit. However, I confirmed my formula was correct through using an old Radio Shack slide-rule calculator.

Phuzon
12-14-2000, 04:56 PM
qbasic, but I don't remember if I really completed any programs. But I'm learning C now I am almost done writing a program that will post news on my web page http://www.linuxnewbie.org/ubb/smile.gif

LindisfarneBabe
12-31-2000, 09:57 PM
The first ever language that I ever wrote a program in was BBC basic(Be about the Brit equivalent to Apple IIe basic). Those were very simple programs though that didnt really do much:

10 REM A program by Linda Schwartz
20 Print"Robbots are great"
30 GOTO 20

Then from there I had a very long gap away from an form of programming. Started playing with Linux which sort of re kindled my interest, so I wanted to learn C(even typed in and got 'Hellow World' to run). I tried to enrol for a C class at college, but was told as I'd not done programming before I had to start with Pascal, which is where I'm to now.

jemfinch
01-01-2001, 04:00 AM
I learned C++ syntax first. Then I learned C syntax. Then I learned to program in Perl. Then I learned to program in C. Then I learned Python.

Jeremy

binaryDigit
01-01-2001, 05:16 PM
first language: plc (programmable logic controllers)
first program: sawmill trimmer program. i was really proud of this one. the machine automation in a trimsaws program isn't easy to do. moving operator input data with a board through limit switches and then making the saws drop accordingly.

now i'm learning c/c++.
i wrote a tic-tac-toe program in c++.



------------------
http://home.earthlink.net/~pebice/philLinux.html (http://home.earthlink.net/~pebice)

TechGuy
01-05-2001, 01:41 AM
AppleSoft Basic 1984, wrote a lottery system on it and even sold a few copies of it. Then on to MS-BASIC that could be compiled. Then Visual Basic (which I love). Does Python have a GUI similiar to VB?

raistlin42
01-05-2001, 06:01 AM
DOS batch, or GW-Basic if that doesn't count.
The first "program" I got working was a batchfile that would rewrite autoexec.bat and config.sys and reboot so I could get more memory for my games (ah, dos 3!)

Sandy

typical75
01-06-2001, 06:15 PM
Learning C++ and I just finished my first useful program (even though it isn't very portable), an alarmclock that will play MP3's or a MPEG-4 movie to wake you up.

hswoolve
01-06-2001, 06:28 PM
I know it was a BASIC, on a line terminal ... but what it did I've long since forgotten. Anyone remember diagraming out flowcharts?

gaxprels
01-06-2001, 06:35 PM
C64 Basic on my mom's Commodore. Then DOS batch scripts. Then Borland Turbo Pascal 7.0. Then I discovered Linux http://www.linuxnewbie.org/ubb/smile.gif and I've learned C, C++, SH/BASH Scripting, HTML 4.0, and VMS Macro Assembler since. I am currently working on learning JavaScript, Java, Perl, and OpenGL Libs for C/C++. I like programming. http://www.linuxnewbie.org/ubb/smile.gif

gene
01-09-2001, 02:00 AM
PHP. I had to figure out a way to write contact forms for my web site and get away from MS front page extensions so my friends told me PHP was the best way to go.



------------------
i no gashopa. i jus litle eg peka. u hep me get out a dis eg. i tipe lot a cod an be big pwin like u.

anti_seen
01-09-2001, 05:58 PM
When I was very young I did some code on an old apple. But recently I have been learning Perl and Bash. Perl was a very easy language for me to learn and it tied in with what I was doing at the time ( a lot of Linux sysadmin ).

------------------
Radio Shack, You've got questions...
We've got blank stares.

sincka
01-10-2001, 12:01 AM
First lang -> C++
Very first prog ->

// Program 1.1

#include <iostream.h>

void main()
{
cout << "Hello! "
"Congratulations on your first"
"C++ program";
}


Useful prog I did all by myself -> calc (x/+-). It was pretty cool actually... and I still have it.

------------------
Evil Is Good

Frymaster
01-10-2001, 04:10 AM
PL/1 i went to an urban high school with zero budget, so even though it was the mid-80's all they could afford was a card reader hooked up to a 50 baud Gandalf modem talking to a pdp-11/70 at the university that had a PL/1 compiler. I wrote the game of life for my final project in grade 10. still have those damn cards too....

cs25x
01-10-2001, 07:59 AM
data general nova machine code, june 20 1969.
(As in put prog in on front panel switches.)
Then i moved on to assembler.
First real thing i wrote was a great hack into basic, created virtual machines like countdown timers and relay switches.

That box had an add time of 5.6 MICRO seconds and 8Kb of core. The super nova had an add time of 800 Nano seconds and that got down to 300 if you had -- semiconductor memory --

So I must be old

000000000000000000000000000000

Damaged
01-10-2001, 09:09 PM
BASIC + on a Vax 780 (VMS). Then Apple BASIC.

spickus
01-11-2001, 09:27 PM
Am I the only one who learned BASIC on a VIC-20?

Larkfellow
01-12-2001, 04:34 AM
Originally posted by spickus:
Am I the only one who learned BASIC on a VIC-20?
11 years old. I learned BASIC on a Commodore Pet. I had a bunch of programs that I stole from the school that I typed in myself. But other than that my very first program was something like this....
10 print "Shut up!"
20 goto 10
run

First "useful" program was a "Stock market" game. Where you start off with so much money, you buy shares and then you could sell them or leave your money in the shares. Each turn the price of the shares would change. Because it was just on a Pet I eventually wrote out a cheat sheet which had all of the best moves to make (since the random function alway came with up with the same numbers in the same order every the program was run). I liked it.. come to think of it maybe I will write a new and improved version of it in C++.

Passed up the Vic-20 because I thought the Commodore Pet was better because it was bigger (Hey, I was 11 and didn't know the better). Wished later that I had of taken the Vic-20.


------------------
-- Never Monkey With Another Monkey's Monkey