Hi, i am using the visual studio 6.0 C++ compiler but i am using C programming console application. I have just learning C programming for 1 month and would like to learn more. So what is enum or playsound function? can i use them in C programming not C ++ programming. Thank you.

enum is not a function but playsound() is. you should learn more about c language before attempting to use either. Almost all C tutorials and books will teach you about enum, but almost none of them will teach you about playsound() because it is specific to windows os.

[edit]Here is an example of how to use enum data type.[/edit]