What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » c++ help

c++ help
Author: Message:
Muss
Former Moderator
*****

Avatar
This Is The Start To A New Era

Posts: 1349
Reputation: 8
39 / Other / –
Joined: Apr 2002
O.P. c++ help
I am needing to RANDOMLY inport a string from a txt file.


I know how to get strings, single lines, single characters etc in order, but I have no idea how to jump to a random place, and get that entire word.


The way the txt file is set up is:

Word1
Word2
Word3
Word4
Word5
etc

So basically, the word, \n, another word, \n etc



Anyone able to help me with that?

[edit]

Also, I would prefer it if the person could explain why you do what, instead of just a straight code paste. I would find it alot more useful to understand why I am doing what, instead of blindly following :P


Cheers
Muss

This post was edited on 05-29-2004 at 07:40 AM by Muss.
05-29-2004 07:32 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
c++ help - by Muss on 05-29-2004 at 07:32 AM
RE: c++ help - by Mike on 05-29-2004 at 08:36 AM
RE: c++ help - by Muss on 05-29-2004 at 08:52 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On