Sinisterly
First Program You Made? - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Coding (https://sinister.ly/Forum-Coding--71)
+--- Thread: First Program You Made? (/Thread-First-Program-You-Made)

Pages: 1 2 3


First Program You Made? - infamous_CnC - 03-20-2013

Mine was a 1 player tic-tac-toe game! Biggrin
What was y'alls?
Feel free to post a picture too!

Here's a picture of what it looked like kinda; http://gyazo.com/5f8a5290ed3914dbf08ca9a93d87ee10
I changed some things up, but nothing much.

* http://ostermiller.org/calc/tictactoe.html


RE: First Program You Made? - Sunlight - 03-20-2013

Your first application should be a 'Hello World' application or you didn't start out correctly.

My first real application was a UDP Packet Receiver/Sender.


RE: First Program You Made? - Vitani - 03-20-2013

wtf is a 'Hello World' it can't be a game with such a simple code?


RE: First Program You Made? - infamous_CnC - 03-20-2013

(03-20-2013, 11:41 PM)Vitani Wrote: wtf is a 'Hello World' it can't be a game with such a simple code?

I think this is what he means; http://en.wikipedia.org/wiki/Hello_world_program


RE: First Program You Made? - ✧Sirius Paradox✧ - 03-20-2013

My first was obviously the "Hello World" application, but after that I made a "Computer Best Friend" which was basically an application you could type things you like in to it and it said "Really? me too bro!" that was hilarious.


RE: First Program You Made? - Sunlight - 03-20-2013

(03-20-2013, 11:41 PM)Vitani Wrote: wtf is a 'Hello World' it can't be a game with such a simple code?

A Hello World application is usually the first application someone makes. You are right, it is not a game. What it does is simply print 'Hello World' in a message box.


RE: First Program You Made? - Spire_CnC - 03-21-2013

My first was obviously the "Hello world!" as well, but it didn't say "Hello world!", it said, "Hi, I'm Bob the computer." Lol.

Next was a game to play rock, paper, scissors with. Only took 36 lines of code and I still have it xD


RE: First Program You Made? - Stickle™ - 03-23-2013

Everyones is "hello World" just to know how it all works, and how to print the word.

Code:
#include <stdio.h> <--Just made this fast to show you guys, basic coding--> int main() { printf("Hello World/n"); return 0; }

But then i looked into C more and started to learn about Integers and Strings.

One of my first programs was - Decimal to binary conversion.

Which looks like this.

Code:
#include <stdio.h> <--Just made this fast to show you guys, basic coding--> int main() { int n, c, k; printf"Enter an interger in decimal number system\n"); scanf("%d", &n); printf("%d in binary number system is:\n", n); for (c = 31; c >= 0; c--) { k = n >> c; if (k & 1) printf("1"); else printf("0"); } printf("\n"); return 0; }



RE: First Program You Made? - Nazism - 03-23-2013

My first application was actually a program that asked me if i want to see my timetable and if i typed yes it showed my timetables


RE: First Program You Made? - OversouL - 03-24-2013

I made a lot of fake programs back then when I was still using keyloggers : $