Thread: system ("restart");

  1. #1
    Banned
    Join Date
    Oct 2004
    Posts
    250

    system ("restart");

    i was what system ("restart");
    and system ("shutdown");
    i tried system ("restart"); and it seems to restart the program or something i just want to make sure it not doing anything to my computer

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    What is with you and the wanting to do wierd things. First you want to copy an exe and now you want to restart the computer sounds like your trying to make something evil to me.
    Woop?

  3. #3
    Banned
    Join Date
    Oct 2004
    Posts
    250
    nope i just wanted to make a trainer that extracts itself to a folder ...
    so does anyone know what they do?

  4. #4
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    gut instincts are 100% correct when it comes to stuff like this.

    you are working for the dark side.


    sorry man.. maybe next time.
    Last edited by The Brain; 10-18-2004 at 02:12 AM.
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  5. #5
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    From what I believe a trainer is, it is a program that alters stats in games, such as health, power etc. Why on earth do you need the computer to restart if you are really making a trainer? Can't play a game if the gosh darn computer keeps restarting...
    Woop?

  6. #6
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    cgod -> try the code in my sig... it may just do what you want
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  7. #7
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > First you want to copy an exe
    http://cboard.cprogramming.com/showthread.php?t=57731

    Not letting another suspicious thread linger...
    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. Operating System
    By Houssen in forum C Programming
    Replies: 18
    Last Post: 04-22-2008, 12:51 PM
  2. File System Implementation
    By dodgeviper in forum C Programming
    Replies: 9
    Last Post: 11-16-2007, 01:04 PM
  3. Using system icons
    By @nthony in forum Windows Programming
    Replies: 1
    Last Post: 01-13-2007, 07:56 PM
  4. Linux database system needed
    By BobS0327 in forum Tech Board
    Replies: 7
    Last Post: 06-11-2006, 03:56 PM
  5. BIOS system and memory allocation problem
    By beely in forum Tech Board
    Replies: 9
    Last Post: 11-25-2003, 07:12 AM