Search : in
By :

Graphics programming in c

Last answer on Nov 17, 2009 9:31: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 C under linux/UNIX ShowCompiling C under linux/UNIX Introduction Gcc Syntax GCC Introduction Under linux, the C compiler is gcc. It is set as default under several distributions but not on Debian. You should install aptitude install gcc Gcc Gcc is the...
[C language]Checking whether an integer is a prime number Show[C language]Checking whether an integer is a prime number Definition of a prime number Algorithm 1: dividers between 2 and N-1 will be tested Algorithm 2: Even dividers will not be tested, research is limited to odd dividers Algorithm 3:...
Generating random numbers with rand() ShowGenerating random numbers with rand() You may have noticed when using the rand() found in the standard library of C language, you often get unsatisfied by the results, they look the same. For example, when trying 5 random numbers in...
Characteristics of programming languages ShowThere are many programming languages, each corresponding to specific needs (formula calculus, character string processing, real-time, etc.) with each having specific characteristics and functionalities. Therefore, the choice of programming language...
Introduction to object-oriented programming ShowA new programming concept Extract from "Understanding Active X and OLE" by David Chappel "In the last 35 years, designers of computer hardware have gone from designing machines the size of a hangar to thin notebooks based on minuscule...

1

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

Sir,plz tell me the graphics command in c

Reply to SWEETY

2

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

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
  • +3

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
  • +6

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
  • +9

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
  • +1

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

9

mksumalata, on Nov 11, 2009 5:25:00 am GMT
  • +8

Using Built-in graphics functions such as line, circle, arc, bar, ellipse, rectangle and other library functions write a “C” program for the following:
1.Create Concentric Circles.
2.Draw Indian Flag.
3.Create a Spiral
4.Draw a line chart
5.Draw a pie chart
6.Draw a RAINBOW and fill the suitable colors
7.Draw a bar chart
8.Draw a Cycle
9.Draw a rotating wheel (movement)
10.Draw a Car figure and give animation (movement).
11.Draw a bird figure and give Flying animation
12.Draw a flower symbol
13.Design a human face
14.Design a fish and give movement with suitable animation function
15.Draw a kite figure and show flying with the help of animation function

Reply to mksumalata

10

Atul, on Nov 11, 2009 9:55:26 am GMT
  • +1

Padhai karo net pe kuch nahi milega...
23 se exam hai aur tum net pe khoj rahe ho....

Reply to Atul

11

lk, on Nov 12, 2009 8:21:28 am GMT
  • +1

#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 lk

12

pk, on Nov 13, 2009 11:42:27 am GMT

Ha yar 23 se exam to hai hi par ek friend hi dusre friend ki help karata hai....................

Reply to pk

13

 xavi, on Nov 17, 2009 9:31:53 am GMT

Hi

Reply to xavi