I can't figure out the syntax for directly changing a value in the screen buffer for a console application, it's a very weird function that takes a weird argument,
any suggestions?
--Cid666
I can't figure out the syntax for directly changing a value in the screen buffer for a console application, it's a very weird function that takes a weird argument,
any suggestions?
--Cid666
--Cid666
>>any suggestions?
Yes. Tell us what the function is so somebody can help you.
"There's always another way"
-lightatdawn (lightatdawn.cprogramming.com)
I don't really know what to use.
i'm trying to make a constant display with formatted info, display it on the screen and position the cursor wher I want it, maybe, even type stuff and based upon the character in the keyboard's buffer, make the screen do other stuff.
p.s.
anyone know how to get direct x to work?
--Cid666
gotoxy() and cout is the closest you get.
Perhaps you could directly access it in the memory though a pointer if you knew the adress, but I don't...
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Windows never uses the same addresses for anything, they always re-allocate and write unused stuff to the hard drive, there has to be an api call that allows me to write to the display. Ideally i would want to access each pixel individually, and write my own display interface, but i can't because i would have to do that for basically every video card i wanted my program to run on, so i'm stuck using crappy windows Hardware Abstraction Layer interpretation of actual Io.
Any of u guys game programmers. I'm really into learning how to get direct x to work. I know that it took the guy who made nascar about a month, with four other people, to figure it out, and the windows example code included with the visual studio.net doesn't work, it asks for a debugger or something and i'll be damned if i can find it.
--Cid666