www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - Not colors under DOS

↑ ↓ ← "BoB Dilan" <billyboy legislator.com> writes:
When i made an executable for DOS colors (disp_setattr functions) don't
appeared !
But when i made executable for Windows that's work.

Why ?
Apr 10 2002
"Walter" <walter digitalmars.com> writes:
"BoB Dilan" <billyboy legislator.com> wrote in message
news:a915j9$1d0k$1 digitaldaemon.com...
 When i made an executable for DOS colors (disp_setattr functions) don't
 appeared !
 But when i made executable for Windows that's work.

 Why ?

I added an example that sets colors on the display in: www.digitalmars.com/rtl/disp.html
Apr 10 2002
↑ ↓ "BoB Dilan" <billyboy legislator.com> writes:
You have not understand my problem, Walter !!!

I CAN'T DISPLAY COLORS UNDER DOS, BUT I CAN UNDER WINDOWS.

I WOULD LIKE DISPLAY COLORS UNDER DOS,
WITH THE disp_setattr functions BUT IT DOESN'T WORK.

"Walter" <walter digitalmars.com> a écrit dans le message news:
a93bvt$n4o$1 digitaldaemon.com...
 "BoB Dilan" <billyboy legislator.com> wrote in message
 news:a915j9$1d0k$1 digitaldaemon.com...
 When i made an executable for DOS colors (disp_setattr functions) don't
 appeared !
 But when i made executable for Windows that's work.

 Why ?

I added an example that sets colors on the display in: www.digitalmars.com/rtl/disp.html

Apr 11 2002
↑ ↓ "Walter" <walter digitalmars.com> writes:
Post a code snippet here that you think ought to display colors so we can
see what you're trying to do.

"BoB Dilan" <billyboy legislator.com> wrote in message
news:a93r5k$17nc$1 digitaldaemon.com...
 You have not understand my problem, Walter !!!

 I CAN'T DISPLAY COLORS UNDER DOS, BUT I CAN UNDER WINDOWS.

 I WOULD LIKE DISPLAY COLORS UNDER DOS,
 WITH THE disp_setattr functions BUT IT DOESN'T WORK.

 "Walter" <walter digitalmars.com> a écrit dans le message news:
 a93bvt$n4o$1 digitaldaemon.com...
 "BoB Dilan" <billyboy legislator.com> wrote in message
 news:a915j9$1d0k$1 digitaldaemon.com...
 When i made an executable for DOS colors (disp_setattr functions)



 appeared !
 But when i made executable for Windows that's work.

 Why ?

I added an example that sets colors on the display in: www.digitalmars.com/rtl/disp.html


Apr 11 2002
↑ ↓ → "BoB Dilan" <billyboy legislator.com> writes:
Ok, I post a code snippet here.


"Walter" <walter digitalmars.com> a écrit dans le message news:
a94r85$2egg$1 digitaldaemon.com...
 Post a code snippet here that you think ought to display colors so we can
 see what you're trying to do.

 "BoB Dilan" <billyboy legislator.com> wrote in message
 news:a93r5k$17nc$1 digitaldaemon.com...
 You have not understand my problem, Walter !!!

 I CAN'T DISPLAY COLORS UNDER DOS, BUT I CAN UNDER WINDOWS.

 I WOULD LIKE DISPLAY COLORS UNDER DOS,
 WITH THE disp_setattr functions BUT IT DOESN'T WORK.

 "Walter" <walter digitalmars.com> a écrit dans le message news:
 a93bvt$n4o$1 digitaldaemon.com...
 "BoB Dilan" <billyboy legislator.com> wrote in message
 news:a915j9$1d0k$1 digitaldaemon.com...
 When i made an executable for DOS colors (disp_setattr functions)



 appeared !
 But when i made executable for Windows that's work.

 Why ?

I added an example that sets colors on the display in: www.digitalmars.com/rtl/disp.html



Apr 12 2002
→ "Walter" <walter digitalmars.com> writes:
"BoB Dilan" <billyboy legislator.com> wrote in message
news:a915j9$1d0k$1 digitaldaemon.com...
 When i made an executable for DOS colors (disp_setattr functions) don't
 appeared !
 But when i made executable for Windows that's work.
 Why ?

You need to use disp_puts() instead of puts().
Apr 12 2002