Search : in
By :

Graphics programming in c

Last answer on Oct 31, 2009 4:51:53 am GMT jijeesha, on Jun 11, 2009 4:20:05 am BST 
 Report this message to moderators

Hello Sir,

I am a beginner in computer graphics and would like to get some animation programs in Cprogramming.So that I can enhance my knowledge in Computer graphics.

So please send me some sample programs like how to fly a bird, motion of a car, blooming of fowers, scanline polygon...etc. at the earliest...

Waiting for your positive response ......

Yours sincerely,

Jijeesha P M

Configuration: Windows XP
Firefox 3.0.10

Best answers for « graphics programming in c » in :
Compiling a program in C with Dev C++ on Vista ShowCompiling a program in C with Dev C++ on Vista Compiling a C source code under Vista with Dev C++, can be a quite difficult procedure. Quick solution: the g++ compiler To be used with Dev-PSV: Go to Tools/compiler options and...
Compiling an assembly program with Nasm ShowCompiling an assembly program with Nasm Intro With LInux With Windows Intro Netwide Assembler (NASM) is an assembler and disassembler for the Intel x86 architecture and is commonly used to create 16-bit, 32-bit (IA-32) and 64-bit...
Change the default installation folder C: \ Program Files ShowChange the default installation folder C: \ Program Files The installation of most software programs are set by default in the C: \ Program Files. Below is a means of how to change into another partition. Under Windows Vista, select...
Download GAG Graphical Boot Manager ShowGraphical Boot Manager is a management programs. The application is launche when your computer starts up and allows you to choose the operational system which you would like to use. The main features : - the possibility to booter from nine...
S-video (Y/C) ShowThe S-Video standard The S-Video standard (for "Sony Video"), sometimes called Y/C, is a video transmission mode with separate components using different cables to carry information regarding luminance (luminosity) and chrominance (colour). An S...
Graphics cards - Video cards Show2D Accelerator Cards A graphics card, sometimes called a graphics adapter, video card or graphics accelerator, is a computer component which converts digital data into a graphical form which can be displayed on a monitor. The initial role of a...

SWEETY, on Jun 22, 2009 8:04:21 am BST
  • +14

Sir,plz tell me the graphics command in c

Reply to SWEETY

2

Jhabar Singh, on Jul 20, 2009 10:59:40 am BST
  • +22

Dear sir/madam,
use given below program

#include<coino.h>
#include<graphics.h>
#include<stdio.h.h>

void main(){
int graphdriver = DETECT, graphmode;
initgraph(&graphdriver, &graphmode, "..\\bgi");
circlel(250, 100, 25);

getch();
closegraph();
}

Reply to Jhabar Singh

6

cindy, on Oct 20, 2009 11:01:01 am BST
  • +2

Im not ussing void main,,,,,,

u try main only....

i suggest only..........

Reply to cindy

3

As a written X with sound wipping ( give a simple programe), on Oct 20, 2009 3:47:00 am BST
  • +1

As a written X with sound wipping ( give a simple programe)
As shown a figure of filled ractangle, circle, square ( give a simple programe)
As shown a filled ball in red color ( give a simple programe)

Reply to As a written X with sound wipping ( give a simple programe)

4

priya, on Oct 20, 2009 7:32:30 am BST
  • +5

Hellow
i m student i want programming code in c langauage in computer graphics. the proramming code is for moving car

Reply to priya

8

 anu, on Oct 31, 2009 4:51:53 am GMT
  • +2

This is the program for car naimation

#include<graphics.h>
#include<iostream.h>
#include<conio.h>
#include<dos.h>
#include<string.h>
#include<stdlib.h>
void main()
{
int v,s;
int gd= DETECT,gm;
initgraph(&gd,&gm," ");
line(0,290,634,290);

for(int i=10;i<=634;i++)
{
cleardevice();
line(130+i,200,180+i,150);
line(180+i,150,250+i,150);
line(250+i,150,300+i,200);

circle(300+i,275,15);
circle(150+i,275,15);
rectangle(120+i,200,350+i,260);
//line(0,275,634,275);
line(0,290,634,290);
delay(10);
}

for( i=634;i>=0;i--)
{
cleardevice();
line(130-i,200,180-i,150);
line(180-i,150,250-i,150);
line(250-i,150,300-i,200);

circle(300-i,275,15);
circle(150-i,275,15);
rectangle(120-i,200,350-i,260);
//line(0,275,634,275);
line(0,290,634,290);
delay(10);
}
getch();
}

Reply to anu

5

Jhabar, on Oct 20, 2009 10:47:24 am BST
  • +2

Please mail your email, i will send you a program design by me

Reply to Jhabar

7

cindy, on Oct 20, 2009 11:04:18 am BST

Give me few sample program for looping statement and switch case.........

and sample program in graphics.......

in turbo c.......


tnx...
tnx
tnx


contact me pls....
dis is my digits...

09159889260

Reply to cindy