i have to create a game using c++ language n i want to create something new...so i decide to create a games name "don't forget the lyric" which is the user need to fill in the blank on the lyric given. so, my question is how can i random the blank in the lyric to make the user will get new question if they choose the same song.
enja
0
Newbie Poster
Recommended Answers
Jump to PostOne way of doing it would be to use a 2 dimensional array of strings. For example:
// Array that will hold 10 different lyrics, up to 20 words per set string lyrics[10][20];
Now say that song number 4 is chosen and you want to randomize which …
All 3 Replies
Reply to this topic
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.