Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


First Program You Made? filter_list
Author
Message
First Program You Made? #1
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

Reply

RE: First Program You Made? #2
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.

Reply

RE: First Program You Made? #3
wtf is a 'Hello World' it can't be a game with such a simple code?

Reply

RE: First Program You Made? #4
(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

Reply

RE: First Program You Made? #5
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.

Reply

RE: First Program You Made? #6
(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.

Reply

RE: First Program You Made? #7
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
Here to help! - Need anything, pm me.
I can also make graphics for anyone, pm me.
Call me Uncle Spire.

Reply

RE: First Program You Made? #8
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;
}

Reply

RE: First Program You Made? #9
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


[Image: TV2OhSG.png]

Reply

RE: First Program You Made? #10
I made a lot of fake programs back then when I was still using keyloggers : $
[Image: dHJ4Beo.gif]
Hidden Lesson: Reactions are always instinctive whereas responses are always well thought of.

Reply







Users browsing this thread: 1 Guest(s)