I've been searching to no avail on how to open up a file in c++. I want to open something like a word file or a notepad file. An external file. How is it that i can open a file such as in c++?
Each OS has different way of associating files with programs. As such, there's no generic way to code it unless you wrap the possible methods with a generic function, which isn't the case here.
In Windows the method is to call ShellExecute. If you don't want to call it for religeous reasons, you'll just end up duplicating its functionality. There's more to programming than abstracting every nuance of every operating system.