C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 08-26-2001, 12:42 AM   #1
Refugee
 
face_master's Avatar
 
Join Date: Aug 2001
Posts: 2,052
Thumbs up Help with these three things...

I need help with three things....

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   Reply With Quote
Old 08-26-2001, 04:06 AM   #2
alanair23
Guest
 
Posts: n/a
the 2 question: use sleep(write seconds here); in dos.h
  Reply With Quote
Old 08-26-2001, 07:05 AM   #3
Skunkmeister
 
Stoned_Coder's Avatar
 
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   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 03:25 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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