running in background

This is a discussion on running in background within the C Programming forums, part of the General Programming Boards category; The Pelles C compiler/IDE is FAR superior and up to date (and free). Highly recommended. What you want to do, ...

  1. #16
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    The Pelles C compiler/IDE is FAR superior and up to date (and free). Highly recommended.

    What you want to do, is already programmed into Windows XP, and imo, you should use that feature:

    1) click start -->Control Panel -->Scheduled task -->Add scheduled task
    2) When the wizard asks for the name of the program to run, enter mytimer.bat
    3) Then create the mytimer.bat file, in the Windows/system32 directory (so it's in the path, and Windows can always find it).
    4) open notepad and enter your shutdown command, into the bat file, and save it.

    5) See if it works!

  2. #17
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    1,625
    Quote Originally Posted by CommonTater View Post
    And with 128bit machines already in the planning stages it won't be long until 32 bit systems suffer a similar fate.
    Damm! Aren't 64 bits enough? Still no CPU has been able to use all 64 of those!
    Devoted my life to programming...

  3. #18
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,659
    Personally, I would suggest getting the code::blocks IDE with the MinGW port of the GCC compiler.
    Code::Blocks

    Or visual studio express
    Visual Studio2010 Express Editions |Microsoft Visual Studio
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #19
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    @Salem, is the MinGW port still supported?

  5. #20
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,659
    MinGW is fine -> MinGW - Minimalist GNU for Windows - Browse Files at SourceForge.net

    Perhaps you were thinking of the abandonware dev-c++ Bloodshed Software - Dev-C++ which hasn't been updated in the last 5 or 6 years.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  6. #21
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Sipher View Post
    Damm! Aren't 64 bits enough? Still no CPU has been able to use all 64 of those!
    I got mine up to 62 once... Put the lights out for nearly 3 blocks!

  7. #22
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Adak View Post
    @Salem, is the MinGW port still supported?
    Yes... but the update cycle is in years.

  8. #23
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,659
    So is the update cycle for the compiler.

    I saw you moaning about pelles stability and bugs on another forum - which do you prefer, stability or bugs and frequent updates.

    M$ come out with a new "20xx" every year or so if you like messing with new updates rather than getting down to some work.

    Or if you want bleeding edge GCC, there's nothing to stop you either using Linux (in a VM if you're still not weaned off windows), or from porting GCC to windows yourself (for the adventurous).
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  9. #24
    Registered User krishnapollu's Avatar
    Join Date
    Dec 2010
    Location
    KERALA
    Posts
    29
    Quote Originally Posted by Adak View Post
    The Pelles C compiler/IDE is FAR superior and up to date (and free). Highly recommended.

    What you want to do, is already programmed into Windows XP, and imo, you should use that feature:

    1) click start -->Control Panel -->Scheduled task -->Add scheduled task
    2) When the wizard asks for the name of the program to run, enter mytimer.bat
    3) Then create the mytimer.bat file, in the Windows/system32 directory (so it's in the path, and Windows can always find it).
    4) open notepad and enter your shutdown command, into the bat file, and save it.

    5) See if it works!
    thanks Adak!

  10. #25
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Salem View Post
    I saw you moaning about pelles stability and bugs on another forum - which do you prefer, stability or bugs and frequent updates.
    "Moaning" is a mischaracterization... but I suspect you knew that.

    The discussion was about exercising precaution when switching versions mid-project .

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My own terminal > Running a background process
    By tiestodj in forum C Programming
    Replies: 3
    Last Post: 03-06-2010, 02:30 AM
  2. background jobs running inside a bash script
    By lehe in forum Linux Programming
    Replies: 8
    Last Post: 08-02-2009, 04:40 PM
  3. Running my program in the background
    By shoobsie in forum Windows Programming
    Replies: 4
    Last Post: 10-09-2005, 02:38 AM
  4. Running A Routine in the background
    By smegly in forum C Programming
    Replies: 4
    Last Post: 05-16-2004, 06:42 PM
  5. Running program on background?
    By Couhilin in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 11-03-2001, 06:50 AM

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