0

Not really sure what other information to provide. I'm quite new and attempting to make a basic process checker for good practice/measure. Using native C++ (I think that is what Dev C++ uses? What is that C++ version called by the way?). Anyways, how do I make sure a process, say, string process = "crossfire.exe"; exists?

Levi Branch
  • 5
  • 2
  • 5

1 Answers1

1

This is an operating system function - nothing in the language will allow this directly.

On Windows see How to get the current process list in windows

On linux see Linux API to list running processes?

Community
  • 1
  • 1
Martin Beckett
  • 94,801
  • 28
  • 188
  • 263