Page 1 of 1

My first program

PostPosted: Tue Jun 03, 2008 7:15 am
by AdventWolf
It's not a psp homebrew game or anything, but I made my first program in C++.
Well I made a lot of stuff, but this I made on my own :D.

It's a simple calculator program that can deal with 2 numbers and can either Add, Subtract, Multiply, or Divide them.
It's not much but I'm happy *tear*.
It's only really 48 lines of code though.

Instructions:
Once you start the program it asks you whether you want to
[1] Add.
[2] Subtract.
[3] Multiply.
[4] Or Divide.

So ya just type 1, 2, 3, or 4 and press enter.

Then you HAVE to enter 2 numbers either:

*enter 1 then press enter then enter the 2nd and press enter.
*Or enter one, then press the spacebar and enter the 2nd, then press enter.

Then it solves the equation.

Here it is.

I updated it so when you enter an invalid number at the main menu, then it will loop around so you can try again. Instead of aborting the operation.

PostPosted: Tue Jun 03, 2008 8:51 am
by crait
Well, where's the download link?!
I wanna try it!

BTW: I use C :)

PostPosted: Tue Jun 03, 2008 11:05 am
by AdventWolf
Ah cool :). Here it is.

PostPosted: Tue Jun 03, 2008 11:30 am
by Salzgablah
sweet, you going to school for it? or just teaching yourself?

PostPosted: Tue Jun 03, 2008 11:44 am
by AdventWolf
Just teaching myself. I bought a book a while back so I'm going by that mainly.

PostPosted: Tue Jun 03, 2008 1:21 pm
by blackzmage
C++ is some hard donkey sh*t. hell i got a book but im sticking with javascript/flash/html/xml.....

PostPosted: Tue Jun 03, 2008 2:55 pm
by BKFraiders7
I tried downloading....but i cant tell which ones the letter beside the cat to download it.

PostPosted: Tue Jun 03, 2008 3:14 pm
by AdventWolf
Oh lol, yea I hate that.
I uploaded it to sendspace
http://www.sendspace.com/file/da5801

I updated it so when you enter an invalid number at the main menu, then it will loop around so you can try again. Instead of aborting the operation.

PostPosted: Tue Jun 03, 2008 5:57 pm
by crait
I couldn't figure out how to put in numbers to multiply or whatever..
But I love how you said "Are you stupid?"
And if you already know a little C++ then you can get started on the PSP. It's really fun.
And whenever you get something good made, it's great to release it and have people thank you for it :) and know that you've helped people :D

PostPosted: Tue Jun 03, 2008 7:02 pm
by AdventWolf
Once you start the program it asks you whether you want to
[1] Add.
[2] Subtract.
[3] Multiply.
[4] Or Divide.

So ya just type 1, 2, 3, or 4 and press enter.

Then you HAVE to enter 2 numbers either:

*enter 1 then press enter then enter the 2nd and press enter.
*Or enter one, then press the spacebar and enter the 2nd, then press enter.

Then it solves the equation.

And yea, the "Are you stupid?" seemed like a nice add :P
I will maybe start working on psp stuff here soon but I'm having trouble installing the stuff I need in order to make the programs. I gotta look more into it though. What stuff do you use?

PostPosted: Wed Jun 04, 2008 7:52 am
by crait
Cyqwin and PSP toolchain.
Took about 24 hours to install all of it. Lol.
blackzmage wrote:C++ is some hard donkey sh*t. hell i got a book but im sticking with javascript/flash/html/xml.....

If you know Action Script for Flash, it's basically the same thing ;)

Re: My first program

PostPosted: Wed May 25, 2022 4:15 am
by michealshawn
My first program, which I put all of my efforts into, is designing and developing custom sites that meet the needs of your company. We believe that once an idea has been tried, it may not work again. As a result, with our business strategies and bulletproof marketing, we assist website owners in developing new ideas. It entails offering custom-built design and development services that can assist you as a beginner. Our team provides consulting services, site maintenance, and theme and plugin development to business owners. https://qwertyexperts.com/services/wordpress/

Re: My first program

PostPosted: Wed May 25, 2022 4:26 am
by emmaamelia126
My first program, which I put all of my efforts into, is designing and developing custom sites that meet the needs of your company. We believe that once an idea has been tried, it may not work again. As a result, with our business strategies and bulletproof marketing, we assist website owners in developing new ideas. It entails offering custom-built design and development services that can assist you as a beginner. Our team provides consulting services, site maintenance, and theme and plugin development to business owners.
https://qwertyexperts.com/services/wordpress/