Skip to content

ferhatgec/processplusplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProcessPlusPlus

Single header process & system information library. Written in C++17.

        std::string text(argv[1]);
        if(text == "--pid") {
                std::string test(argv[2]);
                std::cout << "PID:" << procplusplus::GetPIDByName(test) << "\nName: " <<
                argv[2] << "\n";
        } else if(text == "--name") {
                std::string pid_string(argv[2]);
                int pid = atoi(pid_string.c_str());
                std::cout << "Name: " << procplusplus::GetProcessName(pid) + "PID: " + 
                pid_string + "\n";
        } else
                HELP(argv[0]) 

ProcessPlusPlus licensed under the terms of MIT License.

About

Single header process & system information library. Written in C++17.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published