i need to include the elapsed time at the end of my program. does anyone know how i might go about doing this? It needs to be the time it takes from the beginning of the "game" to the end of it. thanks
i need to include the elapsed time at the end of my program. does anyone know how i might go about doing this? It needs to be the time it takes from the beginning of the "game" to the end of it. thanks
-PreludeCode:clock_t start, finish; start = clock(); /* Program goes here */ finish = clock(); printf ( "Time elapsed: %u\n", finish - start );
My best code is written with the delete key.