10-15-2004, 03:42 PM
Here's a challenge for you.
To write a program in pure qb(no libs, or call absolute) what would be capable of calculating together big numbers.
like: 734634786534345345723423443243265345+321476234234234234223423432434534587612873682716
The whole program should be in one function. Function's prototype should look like this:to make it easier, no floating point numbers so only integer type.
You can send your works to my pm. Rating criterium is. Speed, cleannes of the code, size, comments. Understandability.
And you have one week starting tomorrow.
So deadline is 26th October 2004.
To write a program in pure qb(no libs, or call absolute) what would be capable of calculating together big numbers.
like: 734634786534345345723423443243265345+321476234234234234223423432434534587612873682716
The whole program should be in one function. Function's prototype should look like this:
Code:
declare function answer$(Number1$, Number2$, operation$)
'Operation$ should take either "+", "-", "*" or "/" as input.
'Number1$, Number2$ takes numbers what will be calculated
'Answer obviously returns the answer.
You can send your works to my pm. Rating criterium is. Speed, cleannes of the code, size, comments. Understandability.
And you have one week starting tomorrow.
So deadline is 26th October 2004.
url]http://fbide.sourceforge.net/[/url]