What was your first program ever? I mean, beyond the hello world and exercises; the first one you came up with yourself?
For me it was a Scheme program that made given text (from file) all upper/lower case. It asked the user for case, then did the converting, but if the user provided anything else than ``up'' or ``down'' as the mode, the program displayed the header that said ``learn to type, faggot'', and then printed an endless sequence of ASCII penises. It was a nice easter egg. Lol, good old days.
Name:
Anonymous2009-06-05 14:09
i wrote an ansi c compiler
Name:
Anonymous2009-06-05 14:14
Uhh, apart from endless Sepples [code]Please enter your name:, \nPlease enter your date of birth:, \nHello %s, you are younger than Hitler[code] pseudo-games, unfinished crapbags and 30-line programs that did the most basic things, I think it was an infinite barberpole generator that took a phrase from you and continually printf'd it and shifted the first character onto the end. Looked pretty neat.
Name:
Anonymous2009-06-05 14:23
My first program was in Pascal, it printed a man in ascii walking(by printing and clearing the screen constantly) and then asking: "Do you want to fire a kamehameha?(y/n)", you can imagine what it did. I was very proud of it, i even got a loser into programming by showing it to him. Too bad that piece of shit preferred to learn Delphi.
I mean, beyond the hello world and exercises;
Lol. Only java monkeys start learning to program by doing exercises.
My first program (the one I wrote after the compulsory ``INCREDIBLE CALCULATOR'' was… I don't remember. But it was in QBASIC because I didn't learn any other languages until I was 12. (My second language was Pascal and the third was C.)
>>7
I did, when I was mature enough to comprehend it in its glory.
Name:
Anonymous2009-06-05 15:05
I think it was some kind of horrible stick figure game in QBasic. Probably a platformer or something. No, the figure didn't have moving limbs.
Name:
Anonymous2009-06-05 15:23
Guessing a number the computer picked between 1 and 100 where the computer gave "higher" and "lower" feedback. Generally, this, compound interest calculators (for e.g. credit cards), and seives are the first things I try out in any new language. I think I will add rational arithmetic and continued fractions to this, though.
Name:
Anonymous2009-06-05 15:30
pascal;
you were required to enter your name, and if your name wasnt my name the program would endlesly print that they're a fegget.
it was yesterday ;_;
Name:
Anonymous2009-06-05 15:44
An ENTERPRISE application in Java. I get paid, I don't have time for toy programs or for being interesting.
Name:
Anonymous2009-06-05 16:07
I have no recollection whatsoever.
Name:
Anonymous2009-06-05 16:09
Factorial. I remember it as it was yesterday. In fact, it was yesterday. I write a factorial every day.
My first program asked for quotes. If you passed ` or ', it deleted your relevant system files because those are not quotes.
Name:
Anonymous2009-06-05 21:19
A pokemon text battle game. You could only play as about 7 of them, but I was in middle school at the time and red/blue just came out.
Name:
Anonymous2009-06-05 23:52
A sudoku generator was my first program that I made aside from the initial hello world and some looping things.
Name:
Anonymous2009-06-06 0:04
I made a StarCraft trainer in x86 assembly. It created a simple dialog window with two buttons for activating the effects of the trainer (unlimited minerals / unlimited vespene.) Upon receiving a button click, it would find the process ID of starcraft.exe and use WriteProcessMemory to patch the code which subtracted resources, so instead of subtracting resources whenenver you built stuff it would add resources.
Name:
Anonymous2009-06-06 0:19
My first program was the Davinci virus
Name:
Anonymous2009-06-06 1:18
>>21
I tried to write a sudoku generator and failed after a few months of programming. I think I'll revisit this problem some day and show it who's boss.
Name:
Anonymous2009-06-06 8:50
First program? Printing a sine wave out on a line printer, like how God intended your first program should be.
I made a textual game called "Mazeman" in QBasic that used the extended ASCII characters to make a maze. There was a little 3x3 area you could see, and you had to go around the maze to collect keys and find the exit.
Looked something like this (assuming it renders properly)
█████
█└──█
█ ☺ █
█┐ │█
█████
IRC bot which kicked ppl out if they entered text 3 times without anyone else replying to them
Name:
Anonymous2009-06-06 23:19
If you remember your first program you haven't been programming long enough.
Name:
Anonymous2009-06-07 1:36
A simple message delivery system, with encryption (an algorithm similar to rc4, but broken in a way that made it necessary to brute-force a 16-bit key (generated from the plaintext before encrypting) in addition to knowing the right 256-bit key to decrypt it) and some very ugly hacks to work around limitations of the file locking in QBASIC.
Encryption algorithm that, upon looking back, was suspiciously similar to RC4 in that it used a permutation table modified by a key and the stream to be encrypted.