using basic library to write curve to bmp
Hi all, I am a beginner of C and I would like to try to plot a sin and cos curve with changing amplitude and frequency.Then, save them to a bmp file.
I have searched some information about plotting curve and the background of bmp but I am still not sure how to put a curve to a bmp file.I know there is something like EasyBMP library to download in order to read/wrire bmp files.
But I would like to use the standard libraries in C to do. Can anyone give some example code or where can I find some useful tutorials to get more information?
Thanks a lot for everyone.