PDA

View Full Version : Some help with programming i need(c++)-yoda...


Vein
01-25-2007, 11:10
i need help!!i need to make a program which will of possible 14-digits make EVERY combination of those.As from 00000000000000 to 99999999999999.BUT it must print EVERY COMBINATIoN.
Example:
000000000000001
763984572030264
294750231988473
999999999999999
...............

EVERY SINGLE COMBINATION!!!!!!!!!!

KeweLi
01-25-2007, 11:19
why do you need this... hacking encryption?

Vein
01-25-2007, 14:02
Negative,smthing else..but has some similarity with hacking...dont worry everything is legal for u & me(unless im busted then its illegal for me xD,joke..)

KeweLi
01-26-2007, 09:47
I will find it soon, still investigating on the java script.

KeweLi
01-26-2007, 16:52
It's set from 1 to 10000000 which will take quite some time to load. You can it set yourself, just change the min and max on notepad.

points = 0;
output = 0;
minlevel = 1; // first level to display
maxlevel = 10000000; // last level to display

Vein
01-29-2007, 20:51
Hmmm....Maybe thats it,if i could only implement it in DEV c++(bloodshed dev c++)...well il post u mine,with little help of [YC]...


#include <stdio.h>
int main()
{int a;
for (a=0;a<9999999;a++)

printf(",%d,",a);

char z;
scanf("%s",&z);
}


as u noticed,this isnt 14 digits...I NEED 14 digits...but i cant figure it out..(tried with double instead int,but just got errors...)

KeweLi
01-30-2007, 12:19
lol, I don't know much about C programing. Only know how to do it by javascript

Vein
01-30-2007, 19:03
Nvm,at least u tried...Well thx ;)....
(if i ever need smthing i java,be sure il call u.hehehe...)