![]() |
|
#1
|
|||
|
|||
C++ Shell to display recent directoriesI need help to display (in reverse order) the most recent
directories that were in the working directory, in the shell I am working on. Thanks! ![]() |
|
#2
|
|||
|
|||
|
Quote:
What operating sysem? What compiler? If gcc/g++ for Linux or Windows: check function scandir() (prototyped in <dirent.h>) Regards, Dave |
|
#3
|
|||
|
|||
|
Hey Dave,
The shell I am developing is on Linux. I don't think the scandir() would be what I need. I am trying to create a shell that would perform dir history command. Basically, the dir-history command should display the 12 most recent directories. I hope that was a clear explanation. Thanks! |
|
#4
|
|||
|
|||
|
Quote:
I'm sorry I misunderstood your original post (my fault, not necessarily yours). Now that I understand the problem (I think) I would like to know what you mean by "I need help...". What kind of help? If you are working on a Linux shell in C++, it seems to me that you must have an understanding of basic (and, probably, intermediate or above) C++ programming principles and practices. So how can we help? To get answers, you have to ask questions. Regards, Dave |
Recent GIDBlog
First week of IA training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I display <filename>.bmp on the screen? | oriharel | MS Visual C++ / MFC Forum | 1 | 01-Dec-2004 14:51 |
| uisng php to display php | dopee | MySQL / PHP Forum | 6 | 14-May-2004 18:40 |
| Call a C program through Linux shell script | nuwandee | C Programming Language | 3 | 29-Mar-2004 21:54 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The