Computing.Net > Forums > Programming > graphics help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

graphics help

Reply to Message Icon

Name: freefika
Date: August 1, 2003 at 09:58:21 Pacific
OS: win
CPU/Ram: 64
Comment:

i try to create graphics in c++, i am using the turbo c editor, at compile time i get 0 errors but when i run the program, no graphics r displayed, why? and how can i fix this problem?



Sponsored Link
Ads by Google

Response Number 1
Name: Chi Happens
Date: August 1, 2003 at 10:40:04 Pacific
Reply:

what are you creating them with? graphics.h?

more information please, so we can help.


0

Response Number 2
Name: freefika
Date: August 1, 2003 at 10:46:57 Pacific
Reply:

yes graphics.h


0

Response Number 3
Name: freefika
Date: August 1, 2003 at 11:03:09 Pacific
Reply:

let me show u the exact code:
#include
#include
#include
#include
void main(void)
{
int a=DETECT,b;
initgraph(&a,&b,"C:\\Turbo\\BGI");
line(200,300,200,500);
closegraph();
getch();
}

ERRORS= ZERO
OUTPUT= BLANK


0

Response Number 4
Name: waterdog
Date: August 2, 2003 at 10:13:59 Pacific
Reply:

Move the getch() to before closegraph().


0

Response Number 5
Name: gabin
Date: August 12, 2003 at 17:01:05 Pacific
Reply:

Hi!
I am a beginner in the graphic programming, and I am in the search of
an algorithm describing the decomposition of a cube, using the
structure of the octree. Could somebody help me?


0

Related Posts

See More



Response Number 6
Name: Acid
Date: August 14, 2003 at 17:56:52 Pacific
Reply:

hey, whenever i use graphics.h i get this error
fatal error C1083: Cannot open include file: 'graphics.h': No such file or directory

im using microsoft visual C++ 6.0 plzzzzz help


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: graphics help

Help to graphic some funtion in c++ www.computing.net/answers/programming/help-to-graphic-some-funtion-in-c/9067.html

DirectX help still needed www.computing.net/answers/programming/directx-help-still-needed/8598.html

problem with hourglass - HELP! www.computing.net/answers/programming/problem-with-hourglass-help/1903.html