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.
Jump to Post
One 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;
Now say that song number 4 is chosen and you want to randomize which word is …
All 3 Replies
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.