![]() |
| | #1 |
| Refugee Join Date: Aug 2001
Posts: 2,052
| 1.How do I load text files from my program? 2.How do I make a program pause for about 1 second instead of doing everything all at once? 3.How delete things from my computer from within a program? Thanks -Chris
__________________ Please direct all complaints regarding this post to the nearest brick wall Have a nice day. |
| face_master is offline | |
| | #2 |
| Guest
Posts: n/a
| the 2 question: use sleep(write seconds here); in dos.h |
|
| | #3 |
| Skunkmeister Join Date: Aug 2001
Posts: 2,572
| 1) see your other thread...... you have done this already. 2) if you are building a win32 console app then use Sleep(x) where x is the number of milliseconds you wish to pause for. The include file is windows.h 3)remove("filename") in cstdio or stdio.h
__________________ Free the weed!! Class B to class C is not good enough!! And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi |
| Stoned_Coder is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Suggestions for things to study | Mastadex | Windows Programming | 5 | 08-18-2008 09:23 AM |
| Doing two things at once | eam | Linux Programming | 7 | 08-04-2004 10:10 PM |
| Plants that eat things | StinkyRyan | A Brief History of Cprogramming.com | 5 | 07-05-2004 03:41 PM |
| How are things looking | cyberCLoWn | C++ Programming | 8 | 01-15-2004 02:53 PM |
| Selecting things on the canvas | Barjor | Windows Programming | 0 | 08-30-2001 02:10 PM |