good day to all!
i have a project all about color guess game.
i just want to learn about using random functions in words because usually i only see random numbers.
anyone can help me to create a source code that will randomize words? thank you! turbo c only.
ZeQuia
0
Newbie Poster
Recommended Answers
Jump to Posti just want to learn about using random functions in words
do you need help in retrieving words from a file or generating random strings
turbo c only.
wouldn't you rather use a modern compiler than this antique
Jump to PostYes, we can help. Ask a question...
Jump to PostI still don't see a question. All we can do with the info you gave us is write it for you. That's not how we work here. What problems are you having? What have you tried? What don't you understand?
And, just so you know, your professor is 30 years …
Jump to Postrandomizing in words
still vague, can you tell if you meant
generate letters randomly to form a word,
retrieve words randomly from a file or array,
or something else??
Jump to Postthe only randomizing funtion for C I know is exclusive for integers only.
What you could do is create and store the words in an array or file then use the rand function to generate a number, the word whose index matches the number will be retrieved
All 24 Replies
zeroliken
79
Nearly a Posting Virtuoso
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
ZeQuia
0
Newbie Poster
ZeQuia
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
ZeQuia
0
Newbie Poster
zeroliken
79
Nearly a Posting Virtuoso
ZeQuia
0
Newbie Poster
ZeQuia
0
Newbie Poster
zeroliken
79
Nearly a Posting Virtuoso
ZeQuia
0
Newbie Poster
zeroliken
79
Nearly a Posting Virtuoso
zeroliken
79
Nearly a Posting Virtuoso
ZeQuia
0
Newbie Poster
zeroliken
79
Nearly a Posting Virtuoso
ZeQuia
0
Newbie Poster
ZeQuia
0
Newbie Poster
zeroliken
79
Nearly a Posting Virtuoso
ZeQuia
0
Newbie Poster
zeroliken
79
Nearly a Posting Virtuoso
ZeQuia
0
Newbie Poster
zeroliken
79
Nearly a Posting Virtuoso
ZeQuia
0
Newbie Poster
Flowerlady
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.