C++ Graphic functions

This is a discussion on C++ Graphic functions within the C++ Programming forums, part of the General Programming Boards category; I have been searching the internet for tutorials on how to make your own graphic functions, like writing pixels, displaying ...

>>Yes, I do mean to write my own functions, not use pre-existing ones.
That's really advanced and hardware specific, if I were going to do it I'd grab some Open-Source graphics library and look over the code real hard to get the gist of things. I can pretty much guarantee that you won't find a tutorial on it though.

You could use a third-party API like Win32 and write your function
on that.
If you're still not satisfied with that i'd say use Assembly, but it'l
be hard to entirely write your own draw function close to the
hardware.

Microsoft have already made one for you; but you'll need to know a bit about their API. Other than that you can use another API (OpenGL, DX, etc), get a dos compiler and write to video memory and hope the virtual machine copes, or write a device driver. Each of these would require a more in depth explanation. What sounds most appealing?

No, C++ is a high level language meaning that it utilizes other
code to get things done, if you want to entirely write a function
yourself you end up with assembly because thats the lowest
possible language meaning you write almost ON the hardware.

OK. It is possible to write to an arbitrary memory location using C++ (assuming your operating environment allows it). Therefore, you can theoretically write to the video memory. This does not need assembly, only sufficient privilege. Assembly (without some fancy tricks) isn't going to give you this. If you didn't have sufficient priviledge you'd probably have to write a device driver; not necessarily in assembly.

Besides, all higher-level languages at some point will translate to assembly; does this mean you can't write anything in a high level language (the op wanted to write graphics functions in C++)?