hi!
my program should read "words" out of a main-database and then print between 1 and 10 "words" out of the main-db with a randomizer function on the screen.
my ways:
a) an external file, which my program can read. but in this way the main-db can be "harmed" by other people. that is not what i want it to be...
b) is there a way to include the whole main-db somewhere in my main-code? maybe direct in the main-code.c oder in an additional.c file? maybe a .h file?
if you can help me, please use plain c code without c++ extensions.
the main-program is already done. there is a main-menu from where you can start two functions and also end the program. function 1 should read a number between 1 and 10 and then print between 1 and 10 "words" out of the main-db on the screen.
thanks alot for any help!