View Single Post
Old 10-13-2003, 10:10 AM   #1 (permalink)
Miststlkr
Registered User
 
Join Date: Jun 2002
Location: South of Sanity
Posts: 8
Miststlkr is on a distinguished road
working with files

Hey guys, It's been a while but I'm trying to use C++ again. i used to know it prety well but it's been a few years and I am drawing a blank on some things.

I remember with pascal there was a dos.tpu that let you use functions that immitated DOS commands (more like unix commands) by typing chdir(dir_name) and a findfirst(file_name) would return the first alphabetized filename, then find_next(file_name) to move down the list and you could write a function that would print the filenames in a directory, or whatever. also, rename files, mkdir() to make a new directory, etc.

I remember there being something similar in C++ but can't remember what it was. anyone have any help or know where i might look for it?
Miststlkr is offline   Reply With Quote