|
![]() |
#1 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() Yay I made my first program (besides hello world or exercieses) in c++. Its a multiplication program. Enter two numbers and it tells you the answer. Nothing special but I am proud of it (since it is my first program)
angelfire.com/ak5/opc/multi.zip (copy and paste) I will add onto it as I know my knowledge grows. |
||
![]() ![]() |
|
![]() |
#2 | ||
![]() ![]() ![]() Join Date: Jun 2004
Location: Norwich, England
Posts: 1,325
|
![]() Very interesting!
|
||
![]() ![]() |
|
![]() |
#3 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() cool, how much does it cost to register this program
|
||
![]() ![]() |
|
![]() |
#4 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() 50 cents
|
||
![]() ![]() |
|
![]() |
#5 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() my newest program is a extreamly short text game where you input name # and smaller # to get a short storie! nothing much but hey like he said i pround of myself LOL btw are you using a book, I am its called "beginning C++ game Programming" :guns:
------------DragonLancer
__________________
---------------------------------------------------------- If anyone wants me I'll be in the Angry Dome!!! ---------------------------------------------------------- |
||
![]() ![]() |
|
![]() |
#6 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() cool. I am using Jesse Liberty's: Teach yourself C++ in 21 days. Also my dad helps me a bit (he is a professional). BTW this is the code is used:
Code:
#include <iostream> #include <conio.h> using namespace std; int multiply (int a, int b) { return (a * b); } int main() { int a = 0; int b = 0; int c = 0; *cout << "===================================================\n"; cout << "|^_^Welcome to Filip's Multiplication Program!!^_^|\n"; cout << "===================================================\n"; cout << "\nPlease enter a number to be multiplied\n"; cout << "Number to be multiplied is ==> "; cin >> a; cout << "\nPlease enter a number to multiply it by\n"; cout << "Number to multiply by is ==> "; cin >> b; c = multiply(a, b); cout << "\nThe answer is ==> " << c << "\n\n"; cout << "Press any key to exit the program.\n"; _getch(); return 0; } |
||
![]() ![]() |
|
![]() |
#7 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() oh and you know what the smallest program possible?
Code:
int main() { } |
||
![]() ![]() |
|
![]() |
#8 | ||
![]() ![]() ![]() Join Date: Sep 2004
Location: Dentergem, Belgium
Posts: 1,811
|
![]() Cool work
|
||
![]() ![]() |
|
![]() |
#9 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2005
Location: Shella, Kenya
Posts: 710
|
![]() My favorite program I did while learning was an artificial psychologist, using switches.
whee. I asked it questions for hours. Like: Me: Am I crazy? Dr: Yes, that does sound like an interesting theory. |
||
![]() ![]() |
|
![]() |
#10 | ||
![]() ![]() ![]() Join Date: Sep 2004
Location: Dentergem, Belgium
Posts: 1,811
|
![]() Mine was a toilet simulator. It first asked whether you're male or female, then what you'd do. If you'd poo while standing, you'd get a message 'bout it dropping down into your pants. If you're a guy and you're peeing while not moving the seat up, you'd get a message 'bout that. As a female, you'd get some message 'bout it running down your legs. Biggest difference was that males could pee while standing and females could menstruate. Sick little thing, and nobody wants to give it back for a Windows remake with pics. Still was a good coding exercise; a good laugh and is quite notorious under my friends.
|
||
![]() ![]() |
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Program for download | sh-tfish | Old Suggestions | 19 | 04-05-2009 09:19 AM |
Dos Program | pup | Troubleshooting | 4 | 30-06-2006 12:36 PM |
An Old Dos Program | JimmyJ | Trash Can | 12 | 21-06-2006 10:49 AM |
Document Program Help | nimicitor | Tech Corner | 3 | 20-10-2005 09:51 PM |
Looking For A Good P2p Program | MrBackAlleySka | Tech Corner | 17 | 07-09-2005 07:49 PM |
|
|
||
  |