copy and paste text, cross-platform

hello, can you help with two functions, void copy (char * c), char * paste (); to copy and paste text from the clipboard, not for an OS in specific, but for all, MacOS, Linux, Windows, ect ... That's how hard that is different for each OS.

this is for a cross-platform virtual reality engine. incorporates a text editor for various applications, such as a CG shader compiler, and a console for entering commands

I think a text editor is useless if you can not copy and paste text


sorry if my English is bad, i used a translator
Last edited on
Topic archived. No new replies allowed.