Is there a command that returns you back to main from a function within a funtion etc.
Type: Posts; User: y2jasontario
Is there a command that returns you back to main from a function within a funtion etc.
I am programming a game and I need the amount of time that the game took in order for someone to win.
I know there is a timer function that I can use to find this, does anyone know what it is?
...
What I meant was, I am programming a game, and in it I would like to have the amount of time that it took to complete the game, I know there is a second count function, but I am unaware of how to...
What is the programming code for a seconds count in a program
"Don't you just hate 1st year Computers at UofT Engineering?
Hope it works out all right for you"
Who is this?
Ok give me a break here, I'm looking for all this and all this code is lashed in my face. All I need to know is hwo I open a music file and run it through the game that is playing
How does this help me?
How can I incorporate a music files on my hard drive into a computer program. Can I just call up any files in the algorithm so that it plays or is it more complicated than that?
We are trying to execute a series of function calls whose order is random and whose randomness changes at every program execution
How would we randomize the order of execution of a set of functions. A random fuction with the starting variable the time of day i.e. minutes.
Lets say I have a 3D Tic Tac Toe program in which I have the computer work so that it blocks any row that contains three x's
Now it works by blocking the rows, but when we use the same algorithm...
ok?? how?
Is there a way to have music play in your program
lets say i want to write this is green
printf("this is green");
how do i do this
Lets say I'm rpogramming a game, and I want the screen to clear to a fresh one after a certain move i.e. for a tic tac toe game, say teh user inputs a box to which he wants to put an x, how do i then...
I am writting a 3D tic tac toe program, I was wondering if any one coudl help me figure out how I can make the computer recognize a line formation.
i.e. setting each box as an integer, how can teh...
Can I get different colours to go with different text, i.e. the cprintf statement makes sense, but how can I get different colours
I am using windows
How can I change the colour of my output program?