C++ program to draw a Pixel by accepting coordinates from the user
kw.cpp
Output
kodingwindow@kw:~$ g++ kw.cpp -lgraph
kodingwindow@kw:~$ ./a.out Enter the x coordinate 50 Enter the y coordinate 50
What Next?
C++ program to draw Pixels using for loop
C++ program to draw a line with given coordinates
C++ program to draw a line by accepting coordinates from the user
Advertisement