Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > graphics under dos

Reply
Thread Tools

graphics under dos

 
 
Adam
Guest
Posts: n/a
 
      01-11-2006
hi

how could I use graphic in dos program, but compiled under windows compiler?
graphics.h could not be compiled under windows.

thanks in advance
Adam

 
Reply With Quote
 
 
 
 
Vladimir S. Oka
Guest
Posts: n/a
 
      01-11-2006
Adam wrote:
> hi
>
> how could I use graphic in dos program, but compiled under windows
> compiler? graphics.h could not be compiled under windows.
>


Not topical here. Try one of the DOS/Windows groups.

Cheers

Vladimir

> thanks in advance
> Adam




--
My e-mail address is real, and I read it.
 
Reply With Quote
 
 
 
 
Mike Wahler
Guest
Posts: n/a
 
      01-12-2006
"Adam" <> wrote in message
news:dq3ncp$gue$...
> hi
>
> how could I use graphic in dos program, but compiled under windows
> compiler? graphics.h could not be compiled under windows.


1. Standard C has no support for graphics

2. Standard C has no such header 'graphics.h'

3. There's a reason we have e.g. "Windows compilers",
"DOS compilers", "Unix compilers", etc. Each one
produces a binary compatible with its target platform.
So it makes no sense at all to try to run e.g. a program
produced by a Windows compiler on a DOS target.

4. Operating system is only one aspect of 'platform'. A compiler
must produce code which is compatible with the host system's
processor (e.g. Intel x86, Motorola 68xxx, etc).

5. The reason we have a standard C (and other) languages is
so that the same source code can be used to build programs
for many platforms. It's the compilers for each platform which
translate the source to the appropriate machine code.

6. There do exist products known as 'cross compilers' which
can run (compile programs) on one platform, but produce executables for
other platforms.

-Mike



 
Reply With Quote
 
Peter Shaggy Haywood
Guest
Posts: n/a
 
      01-14-2006
Groovy hepcat Adam was jivin' on Wed, 11 Jan 2006 20:46:24 +0100 in
comp.lang.c.
graphics under dos's a cool scene! Dig it!

>how could I use graphic in dos program, but compiled under windows compiler?
>graphics.h could not be compiled under windows.


Try comp.os.msdos.programmer or alt.msdos.programmer.

--

Dig the even newer still, yet more improved, sig!

http://alphalink.com.au/~phaywood/
"Ain't I'm a dog?" - Ronny Self, Ain't I'm a Dog, written by G. Sherry & W. Walker.
I know it's not "technically correct" English; but since when was rock & roll "technically correct"?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IOS DoS defense causes DoS to itself:) Igor Mamuziæ Cisco 2 05-19-2006 11:59 PM
Outsmarting DOS C compiler to print to USB printer -- use DOS interrupt? tomhr C Programming 27 01-12-2006 04:09 PM
[newbie]How to install python under DOS and is there any Wxpython can be installed under dos? john san Python 19 02-18-2005 12:05 PM
Unable to run MS-DOS in Windows and DOS properties tabs missing Don Computer Support 5 02-11-2004 07:20 PM
Executing DOS (yes, DOS) program from within Python? Ben Fairbank Python 2 10-07-2003 08:51 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57