Simple Timer, Call external program,

This is a discussion on Simple Timer, Call external program, within the C++ Programming forums, part of the General Programming Boards category; I've taken a few questions that have me stumped and put them into one thread. 1) I'm looking to make ...

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    15

    Simple Timer, Call external program,

    I've taken a few questions that have me stumped and put them into one thread.

    1) I'm looking to make a simple timer for a program I'm writing: The program displays a character string next to a count down timer that refreshes, say, every 5 seconds. When the timer reaches 0, it displays an alarm saying so.

    I'm pretty new to C++ and don't know really how to read functions from header files.

    2) How would I call an external program, like notepad.exe, from C++? (You'd think searching Google would produce answers but strangely, it didn't give me anything useful.)

    3) There was something else, but I can't remember ATM, I'll edit my post when I can remember.

  2. #2
    ---
    Join Date
    May 2004
    Posts
    1,379
    Read the FAQ, all your answers are in there.

  3. #3
    Registered User
    Join Date
    Apr 2005
    Posts
    15
    Duh, I knew that, I was testing you see! :P

    (In reality, I missed the FAQ on the main page and was looking through the message board's FAQ.)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to get RSSI value, send to sensor, sensor receive package, repackage it?
    By techissue2008 in forum Networking/Device Communication
    Replies: 1
    Last Post: 03-04-2009, 09:13 AM
  2. create a dll for C++ simple program and call from VB
    By motiz in forum C++ Programming
    Replies: 1
    Last Post: 01-09-2008, 03:54 AM
  3. Help with small simple program
    By Sonor in forum C Programming
    Replies: 5
    Last Post: 04-02-2005, 06:40 AM
  4. Help needed with external call, WinExec() and timer.
    By algorithm in forum Windows Programming
    Replies: 9
    Last Post: 11-07-2001, 08:35 AM
  5. Pls help me to do this project in C I need source code
    By sureshmenon74 in forum C Programming
    Replies: 4
    Last Post: 10-04-2001, 06:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21