How can one manipulate the vdu. Like to creae a class which can be used to create objects like windows depending on wdth like

_o/s_window(120,20,0xddff,0);

120-height
20-width
hexadecimal-base color
0-border stylethe window will look like this with a color gradient
and can run other programs.

Recommended Answers

All 4 Replies

Member Avatar for iamthwee

How can one manipulate the vdu. Like to creae a class which can be used to create objects like windows depending on wdth like

_o/s_window(120,20,0xddff,0);

120-height
20-width
hexadecimal-base color
0-border stylethe window will look like this with a color gradient
and can run other programs.

I'm sorrie I don't understand what you mean :sad:

ok like i mean how can i draw using pixels on the screen. I only know how to wtrite text
cout<<"how?";

Member Avatar for iamthwee

ok like i mean how can i draw using pixels on the screen. I only know how to wtrite text
cout<<"how?";

You will need some third party graphics library.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.