how can i RUn.. vmware if when i;m installing it,.. it says that: please run this program as super-user.. Execution aborted... :( plese help me...:(

How about

#include <stdlib.h>
#include <stdio.h>

int main(void) {
   puts("Running VMWare installer....");
   system("sudo ~/YourVMWareInstallerProgram");
   puts("Goodbye...");
   return 0;
}

Oh, I'm terribly sorry! I forgot that this wasn't the C forum. Here's the C++ version:

#include <iostream>
#include <cstdlib>

int main() {
    std::cout << "Running VMWare installer...." << endl;
    system("sudo ~/YourVMWareInstallerProgram");
    std::cout << "Goodbye..." << endl;
    return 0;
}

So do like it asks and run it as super user - isn't the error message that obvious?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.