Thread: another bad question

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    3

    Exclamation another bad question

    any one know how can i call system (Windows) functions from my c++ program
    for example: how can i control the mouse in the screen,how can i copy, delete or open any file using my program, how can i make restart or shutdown from my program,...

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    Well there's a plethora of functions to do those things...

    $10 says this is for some lame-o trojan.

  3. #3
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212

    Re: another bad question

    how can i control the mouse in the screen
    Plug mouse into computer. Move mouse on surface.

    how can i copy, delete or open any file
    right click the file, select copy. Go to destination directory press paste.

    right click the file, select delete, then click yes.

    double click the file
    how can i make restart or shutdown
    press alt-f4 then select the one you want and click ok

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Okay both of you, enough.

    ilovec:

    There are numerous ways of doing just about everything on a Windows system. It would appear you are new to this. Get a Windows specific book, Charles Petzold's "Programming Windows" for example, and/or browse the directory/tutorials lists from this site.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  5. #5
    Registered User
    Join Date
    Feb 2002
    Posts
    3
    dear adrianxw
    realy i am new to this
    if you have usiful links you can make me more happy
    thanks

  6. #6
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Here's a online Win tut:
    http://www.winprog.org/tutorial/

    Or you could try Sunlight:
    http://www.sunlightd.com/Windows

    If you're really a beginner, start slow - you're not going to control the OS from the beginning.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. another do while question
    By kbpsu in forum C++ Programming
    Replies: 3
    Last Post: 03-23-2009, 12:14 PM
  2. Party question
    By Barjor in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 03-18-2002, 03:39 PM
  3. what does this warningmean???
    By kreyes in forum C Programming
    Replies: 5
    Last Post: 03-04-2002, 07:53 AM
  4. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM
  5. good news and bad news
    By Garfield in forum A Brief History of Cprogramming.com
    Replies: 25
    Last Post: 10-27-2001, 07:31 AM