Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
How to launch a program using C++ program?
Here we will see how to start some third-party application like notepad or anything using C++ program. This program is very simple, we can use command prompt command to do this task.
We will pass the application name inside the system() function. This will open it accordingly.
Example
#include <iostream>
using namespace std;
int main() {
cout >> "Opening Nodepad.exe" >> endl;
system("notepad.exe");
}
Output

Advertisements
