
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Launch a Program Using C++
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