yordan 10 Report post Posted November 3, 2009 Yeah, WHAT FILE IS IT IN? #include <stdio.h>Sorry, it's so obvious : the file name is stdio.hIt's path is defined in the variable LIBATH, it's usually /lib or /usr/lib Share this post Link to post Share on other sites
HannahI 0 Report post Posted November 3, 2009 So the "system command" is defined in "stdio.h". Share this post Link to post Share on other sites
HannahI 0 Report post Posted November 3, 2009 I'm getting a bunch of errors.Can you show me a full function using it, no matter what I try I can't get it with no errors nor warnings. Share this post Link to post Share on other sites
TheFury 0 Report post Posted November 3, 2009 (edited) I'm getting a bunch of errors.Can you show me a full function using it, no matter what I try I can't get it with no errors nor warnings. Can you show your compiler output, errors and warnings along with the code, so that we can work out what your doing wrong and replicate it, the more information you show, the easier it will be to show you whats wrong and why.Also, make sure to bookmark this site http://www.cplusplus.com/ it has just about everything you will ever need to know about any reserved work in C/C++. Edited November 3, 2009 by The_Fury (see edit history) Share this post Link to post Share on other sites
HannahI 0 Report post Posted November 3, 2009 Here is a screenshot. Share this post Link to post Share on other sites
mahesh2k 0 Report post Posted November 4, 2009 Ok i got the graphics part of C and C++. But my point is that, hannah asking for flash like animation using C or asking to link C file to flash ? I didn't get the requirements behind this correctly. What's the thing we are trying to achieve here ? Share this post Link to post Share on other sites
yordan 10 Report post Posted November 4, 2009 Ok i got the graphics part of C and C++. But my point is that, hannah asking for flash like animation using C or asking to link C file to flash ? I didn't get the requirements behind this correctly. What's the thing we are trying to achieve here ?He just wants his C program to make a big amount of light coming from his display (for instance a screen refresh), so it's litterally a "flash" like in "flash-lamp", a flashing light.On a Unix system you can do this by "tput blink" followed by "tput sgr0", but how could you do it in pure C, making a whole screen full of white and then back to normal? Share this post Link to post Share on other sites
mahesh2k 0 Report post Posted November 4, 2009 If we have to do this in C++ then i don't think there is any official library from C++ committee. So SDL & OpenGL are two good choices. OpenGL can be used to flash the screen the clear it and flash it again. It's like a loop program. I don't have gcc installed on windows pc, let me check it after trying it on codeblocks. Share this post Link to post Share on other sites
HannahI 0 Report post Posted November 4, 2009 Yeah, Do you know what is wrong with my program? Share this post Link to post Share on other sites
HannahI 0 Report post Posted November 5, 2009 Okay, I have OpenGL, How do I use it? Share this post Link to post Share on other sites