Thread: How do I launch an application using system{}

  1. #1
    Registered User
    Join Date
    Jun 2006

    How do I launch an application using system{}

    title plz, and give an example that works with

    #include <iostream>
    #include <shlobj.h>
    #include <shlwapi.h>
    using namespace std;
    int main()
      cout<<"Your universe license has expired, contact for renewal.\nProvide code 539";
      return 1;

  2. #2
    Registered User
    Join Date
    Aug 2005
    It would be most helpful if you could provide a description of what doesn't work using system(). And possibly show some code that doesn't "work".

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Gee, first the abuse of members trying to help you

    Then the spam of posting the same question several times.

    And it's only been an hour since your first post.

    You already posted some use of system here
    How about you explain "what" doesn't work (error messages etc) rather than just demanding we fix it every 2 minutes?
    I mean, the first obvious thing is that you have two main() functions.

    Some awareness of this wouldn't go amiss either
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. Replies: 4
    Last Post: 06-13-2005, 09:03 AM
  3. Replies: 3
    Last Post: 06-13-2005, 07:28 AM
  4. Why Can't C++ Be Used to Develop Operating System?
    By Antigloss in forum C++ Programming
    Replies: 7
    Last Post: 05-27-2005, 06:16 AM