Level = fopen ( "1.txt", "r" );
At the moment I am using this to open up a text file called '1.txt'. But I was wandering if there is anyway I could allow the name of the text file to be 1 of the variables in my program. So, for example if a variable was stored as level with the number 3 in it, it would open "3.txt".


Sign In
Create Account

Back to top









