input file

If I want to get some values, such as vertexes of polygon, color, center and radius of circle, etc., from user, how can I do? Can I use #include <fstream.h> and read input values from dat file?

YES! But it too dificult! Use FILE *file; it more isy. #include <windows.h> if i correct

Seems like a bizarre question. Are you asking an OpenGL graphics list how to read values into a C program!? Or are you asking how to open a file in C. Maybe learn C before doing the OpenGL bits…