vendredi 31 juillet 2015

C: recognize variable type

I'm learning C (yes I am a newbie). I was wondering whether there is an instruction or command to recognize the type of the variable.

To be more practical: I have a program which works with integers, i wanna show an error message if the user inserts a real number when running the program.

Hope you can help!

Aucun commentaire:

Enregistrer un commentaire