![]() |
|
#1
|
|||
|
|||
Simple stuff... or so you'd think!I was wondering if you could help. I need to find out how to write an addition program without assuming the computer already knows how to add two numbers together.
Has anyone a clue how to go about this? |
|||
|
#2
|
|||
|
|||
Re: Simple stuff... or so you'd think!If the computer can loop and increment/decrement, here is how you would add two integers:
CPP / C++ / C Code:
|
|
#3
|
||||
|
||||
Re: Simple stuff... or so you'd think!Quote:
Not as simple as fakepoo's, but interesting is: CPP / C++ / C Code:
MxB |
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| In method `void InfixExpression::brCalc(double **, char **, int, int, int, int)' | takachi | C++ Forum | 12 | 18-Feb-2008 13:36 |
| Simple login reveals extra menu/buttons... | skuliaxe | MySQL / PHP Forum | 1 | 15-Feb-2008 13:44 |
| Please help me to convert a simple C++ program into an object-oriented one. | zekesteer | C++ Forum | 5 | 05-Jan-2008 11:05 |
| Develop a simple chat application consisting of a client and a server. HELP MEEEEEEE | elcrazy | C++ Forum | 1 | 11-Mar-2007 22:42 |
| [PROGRAM] Simple 8-Puzzle Game | Max Payne | MS Visual C++ / MFC Forum | 0 | 09-May-2004 22:59 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The