Search
 
SCRIPT & CODE EXAMPLE
 

C

Graphics in C Draw A Line


#include<graphics.h>
main()
{
  int driver, mod;
  driver = VGA;
  mod    = VGAHI;
  initgraph(&driver, &mod,"C:	cgi");
  setcolor(RED);
  line(0,0,320,240);
  getch();
  closegraph();
}
Comment

PREVIOUS NEXT
Code Example
C :: fopen function in c 
C :: pthread c 
C :: mongodb update 
C :: c print sizeof char 
C :: function for calculate the average and standard deviation of table 
C :: odd even in c with ternary operator 
C :: accessing elements of 1d array using pointers 
C :: c print to stderr 
C :: array reference argument 
C :: comment in c language 
C :: how to get input in 2d array in c 
C :: geom boxplot remove outliers 
C :: Fibonacci Series Program. in c 
C :: functions in c 
C :: c code to grade marks 
C :: passing two dimensional array to function in c 
C :: c bits 
C :: convert string to int error checking c 
C :: c include delay 
C :: faire une facture en langage c 
C :: subrayar elementos css 
C :: Command to create a static library in C 
C :: rust set toolchain 
C :: c unused variable 
C :: get docker 
C :: what is O(N^2) in bubble sort method 
C :: arduino internal pull up resistor 
C :: c hello word 
C :: What does x = (a<b)? A:b mean in C programming? 
C :: creation of a thread 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =