Are there functions that assist in draw graphs in C++ like those in excel? If there are, will appreciate if someone can direct me to a source where I can find out the codes and syntax of the functions. thanks.
C++ in and of itself won't draw graphs, you'd need a graphics library to do something like that. Might want to take a little time looking into Direct3D, OpenGL, or even SDL and seeing how those libraries work. Once you've got some basic knowledge on that drawing graphs should be a piece of cake!