Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Your first program ever

Name: Anonymous 2009-06-05 14:00

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: Anonymous 2009-06-05 14:09

i wrote an ansi c compiler

Name: Anonymous 2009-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: Anonymous 2009-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.

Name: Anonymous 2009-06-05 14:38

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

Name: Anonymous 2009-06-05 14:42

My first real program was a script that randomly picked an image from a folder, resized/padded it so it fit my screen and set it as wallpaper.

At least that's what I think it did.

Name: Anonymous 2009-06-05 14:43

>>5
Lol.  Only java monkeys start learning to program by doing exercises.
You might want to read SICP.

Name: Anonymous 2009-06-05 14:45

I learnt to program by reverse-engineering Chipmunk Basic binaries at the age of 8.

Name: Anonymous 2009-06-05 14:47

>>7
I did, when I was mature enough to comprehend it in its glory.

Name: Anonymous 2009-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: Anonymous 2009-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: Anonymous 2009-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: Anonymous 2009-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: Anonymous 2009-06-05 16:07

I have no recollection whatsoever.

Name: Anonymous 2009-06-05 16:09

Factorial. I remember it as it was yesterday. In fact, it was yesterday. I write a factorial every day.

Name: Anonymous 2009-06-05 18:25

>>15
You have become recursion!!

Name: Anonymous 2009-06-05 18:32

>>13

Enterprise? Java? They don't go together well!

Name: Anonymous 2009-06-05 19:50

A prime number generator

Name: Anonymous 2009-06-05 20:11

My first program asked for quotes. If you passed ` or ', it deleted your relevant system files because those are not quotes.

Name: Anonymous 2009-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: Anonymous 2009-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: Anonymous 2009-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: Anonymous 2009-06-06 0:19

My first program was the Davinci virus

Name: Anonymous 2009-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: Anonymous 2009-06-06 8:50

First program?  Printing a sine wave out on a line printer, like how God intended your first program should be.

Name: Anonymous 2009-06-06 9:21

>>25
HAHA. Read YAHT.

Name: Scibble !vrg7uH8CdI 2009-06-06 10:16

I made a small game in flash as my first program, it was just a simple shooter.

Name: Anonymous 2009-06-06 10:27

My first program was inventing Assembly and using it to run Crysis on max setting at 60fps on an ENIAC.

Name: Anonymous 2009-06-06 10:49

i wrote a new firmware for my HP-9100 calculator

Name: Anonymous 2009-06-06 13:03

>>24
A few months???
Read SICP!

Name: Anonymous 2009-06-06 20:32

Doubly Linked List Library

Name: Anonymous 2009-06-06 21:56

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)

█████
█└──█
█ ☺ █
█┐ │█
█████

Name: Anonymous 2009-06-06 22:08

>>32
Looks really nice :)

Name: Anonymous 2009-06-06 22:22

IRC bot which kicked ppl out if they entered text 3 times without anyone else replying to them

Name: Anonymous 2009-06-06 23:19

If you remember your first program you haven't been programming long enough.

Name: Anonymous 2009-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.

Name: Anonymous 2009-06-07 1:58

>>36
Who are you trying to impress?

Name: Anonymous 2009-06-07 2:39

>>37
back to /pr/, please.

Name: Anonymous 2009-06-07 2:52

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.

Name: Anonymous 2009-06-07 3:09

>>39
s/RC4/every stream cipher in existence

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List