Colour bars/Display: Difference between revisions

m
→‎{{header|C}}: Removed incorrect "header" templates
m (→‎{{header|C}}: Removed incorrect "header" templates)
Line 284:
This task requires functionality which allows the code to communicate to the video device. This will vary from vendor to vendor. The following examples show two ways of doing this, in the text and graphics mode, using Borland's Turbo C.
 
==={{header|Text Mode}}===
The required functions and structures are in conio.h
<lang C>
Line 323:
</lang>
 
==={{header|Graphics Mode}}===
The required functions and structures are in graphics.h, conio.h is included for getch().
<lang C>
Line 350:
}
</lang>
 
=={{header|C++}}==
using Qt 4.6