text: 0
  I'm fairly new to C++, and I can't seem to find any sources on opening applications or files straight from the program.
  I looked up the system() function on this site, but all that it did for me was verify the file's path and post it's size.
  I need the function w/any necessary headers that can actually open a file given the file's path.
  Thanks.
  Here's what I had...
  #include <iostream> #include <fstream> using namespace std; int main() { system("DIR C:\\WINDOWS\\system32\\sol.exe"); fopen ("DIR C:\\WINDOWS\\system32\\sol.exe", "\n"); cin.get(); }