Help with these three things...

This is a discussion on Help with these three things... within the C++ Programming forums, part of the General Programming Boards category; I need help with three things.... 1.How do I load text files from my program? 2.How do I make a ...

  1. #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

  2. #2
    alanair23
    Guest
    the 2 question: use sleep(write seconds here); in dos.h

  3. #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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Suggestions for things to study
    By Mastadex in forum Windows Programming
    Replies: 5
    Last Post: 08-18-2008, 10:23 AM
  2. Doing two things at once
    By eam in forum Linux Programming
    Replies: 7
    Last Post: 08-04-2004, 11:10 PM
  3. Plants that eat things
    By StinkyRyan in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 07-05-2004, 04:41 PM
  4. How are things looking
    By cyberCLoWn in forum C++ Programming
    Replies: 8
    Last Post: 01-15-2004, 02:53 PM
  5. Selecting things on the canvas
    By Barjor in forum Windows Programming
    Replies: 0
    Last Post: 08-30-2001, 03:10 PM

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