| Mirage Source http://www.miragesource.net/forums/ |
|
| Teh Calc C++ http://www.miragesource.net/forums/viewtopic.php?f=142&t=5507 |
Page 1 of 1 |
| Author: | GIAKEN [ Thu Apr 16, 2009 11:49 pm ] |
| Post subject: | Teh Calc C++ |
I made this a long long time ago...before I knew VB. I think I'll either pick C++ back up again or go with Java. Attachment:
|
|
| Author: | Kenko [ Fri Apr 17, 2009 12:12 am ] |
| Post subject: | Re: Teh Calc C++ |
Very basic. It does what it needs to, though. |
|
| Author: | Nean [ Fri Apr 17, 2009 12:15 am ] |
| Post subject: | Re: Teh Calc C++ |
Lol @ bugs |
|
| Author: | GIAKEN [ Fri Apr 17, 2009 12:28 am ] |
| Post subject: | Re: Teh Calc C++ |
The only bug I just now noticed was if you entered a letter as a response it would repeat over and over and over... But yeah...fuck you Nean. |
|
| Author: | Nean [ Fri Apr 17, 2009 12:58 am ] |
| Post subject: | Re: Teh Calc C++ |
GIAKEN wrote: The only bug I just now noticed was if you entered a letter as a response it would repeat over and over and over... But yeah...fuck you Nean. That's what I noticed. |
|
| Author: | Exadon [ Fri May 15, 2009 5:34 am ] |
| Post subject: | Re: Teh Calc C++ |
Quick fix SPOILER: (click to show)
Better fix SPOILER: (click to show)
Doing the better fix will give you more control over user input. The quick fix will solve the endless loop problem...but leaves strange results when entering letters. Example...when the program says "Your name is, right? 1 = yes 2 = no" when you input "ddd" it will assume that means yes and move on (for whatever the fing reason) . Clearing the Cin will cut out the endless loop but will not control the user input. p.s. if someone has a better solution post it...I am wet behind the ears on C++ |
|
| Author: | Jack [ Fri May 15, 2009 5:54 pm ] |
| Post subject: | Re: Teh Calc C++ |
WOW C++ code looks insane... |
|
| Author: | Tony [ Fri May 15, 2009 8:42 pm ] |
| Post subject: | Re: Teh Calc C++ |
Nah it's just a different syntax that could take you just about max half an hour to learn. |
|
| Author: | Pbcrazy [ Thu May 28, 2009 2:22 pm ] |
| Post subject: | Re: Teh Calc C++ |
*cough*speakforyourself*cough* lol, but really, it isn't to bad, just different rules and a lot more picky than VB |
|
| Author: | Lea [ Fri May 29, 2009 3:59 am ] |
| Post subject: | Re: Teh Calc C++ |
if you have a real and firm understanding of VB6, learning any other language is tons easier |
|
| Author: | katcode [ Fri May 29, 2009 6:13 am ] |
| Post subject: | Re: Teh Calc C++ |
C++ is easier than it looks, Although most people say Memory management is a pain in the ass, i never really made a program that gave me that shit. but thats why Third party garbage collectors exist no? (i personally havent used one, but they sound good.) |
|
| Author: | Pbcrazy [ Fri May 29, 2009 1:30 pm ] |
| Post subject: | Re: Teh Calc C++ |
heh, ya well im not good at any language... |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|