On the program I've being working on for around a month now(I'm lazy...), I've finally got it towards final coding stages. Could someone please post any bugs and stuff they see in the raw code?
Defs.h:Code:#include <iostream.h>
#include "Defs.h"
using namespace std;
long lnTrillion = "1000000000000";
int main();
{
cout << "Welcome to the Burn-A-Natar 3000! Type in anything to" << endl; <<
"continue, or \"exit\" to quit: " << endl; <<;
cin >> INTRO_ANSWER;
if (INTRO_ANSWER == INTRO_COMPARE)
{
do
( int z;
z = lnTrillFunc ( .0000000000000000002 , .0000000000000000002 );
cout << "We're at: " << z << " right now."; )
while ( z != lnTrillion );
}
else
{
cout << "Goodbye!";
return(0);
}
}
double dblTrillFunc ( double dblDeciOne , double dblDeciTwo );
{
long lnTrillResult;
/* double dblDeciOne(.000000000000000000002);
double dblDeciTwo(.000000000000000000002); */
lnTrillResult = ( dblDeciOne * dblDeciTwo );
return(lnTrillResult);
}
Code:#define INTRO_ANSWER
#define INTRO_COMPARE "exit"
