The forums are currently locked and only available for read only access
Blomman
Almost a full-blooded keyboard-warrior
Medlem
Forum Posts: 166
Member Since:
August 14, 2003
August 14, 2003
Offline
Blomman
Almost a full-blooded keyboard-warrior
Medlem
Forum Posts: 166
Member Since:
August 14, 2003
August 14, 2003
Offline
Blomman
Almost a full-blooded keyboard-warrior
Medlem
Forum Posts: 166
Member Since:
August 14, 2003
August 14, 2003
Offline
Weeblie
Kommer du hit ofta?
Medlem
Forum Posts: 381
Member Since:
December 28, 2000
December 28, 2000
Offline
Okey... Jag är en glädjedödare :P....
---------------------Kod----------------------
char slumpOrd[100][1000];
char* getSlumpOrd()
{
int randPos=rand()%100;
return slumpOrd[randPos];
}
void lasOrd()
{
ifstream infile;
infile.open("SOME_FILE.txt");
for(int i=0;i<100;i++)
infile>>slumpOrd[i];
infile.close();
}
------------------------------------------------
lasOrd läser in 100 ord från SOME_FILE.txt och getSlumpOrd ger dig ett slumpvist utvalt ord... 🙂
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1030
Currently Online:
Guest(s) 451
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Andreas Galistel: 16287
Jonas Klar: 15897
ilg@dd: 10810
Nyhet: 10607
Mind: 10550
Ctrl: 10355
Gueno: 9881
Guest: 9344
Snorch: 8881
Callister: 8468
Newest Members:
PetrbonFU PetrbonFU
Karine Bembry
Dolores Mcdaniels
Anibal McLeish
Francisca Alt
Alfie Everhart
Lester Huitt
Orlando Jorgensen
Mikki Lundgren
Dakota Kozlowski
Forum Stats:
Groups: 11
Forums: 59
Topics: 146630
Posts: 1300967
Member Stats:
Guest Posters: 2
Members: 79425
Moderators: 0
Admins: 11
Administrators: nordicadmin, Henrik Berntsson, Anton Karmehed, Carl Holmberg, Joel Oscarsson, Mikael Linnér, Mikael Schwartz, Andreas Paulsson, Nickebjrk, Mattias Pettersson, EmxL
© Simple:Press —