English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Does any1 have a text document of like numbers from 10000-9999999999999 not skiping any LOL sounds really stupid but if any1 has one it would be much appreciated!

2006-11-17 03:11:09 · 2 answers · asked by austinisking302 1 in Computers & Internet Programming & Design

2 answers

You can generate this in one line of Perl, Unix scripting, or a small C/C++ program. Simply write one number per line from your program counter. You may have to get tricky and use two long ints, but it's not hard.

Realize that your document may be very large, and for most purposes, you don't need a document, just use the variable(s) in your final program.

2006-11-17 03:25:07 · answer #1 · answered by WickedSmaht 3 · 0 0

You are kidding aren't you?

Got a compiler?

for(int i=10000; i<= 9999999999999; i++)
{
printf("%d\n",i);
}

You really think anyone wants to send you a 9999999989999 line document?

14 terabytes? Roughly.

Joke question? Or is someone setting you up? A teacher trying to make you think about what you ask for perhaps?

2006-11-17 11:26:04 · answer #2 · answered by Chris H 6 · 0 0

fedest.com, questions and answers