View Full Version : 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?
09-22-2001, 08:41 AM
YES! But it too dificult! Use FILE *file; it more isy. #include <windows.h> if i correct
09-24-2001, 02:41 AM
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...
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.