This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| v0.3 implement getFileName(), optimize output file. | |
| v0.2 add multi file support | |
| v0.1 first demo | |
| */ | |
| #include <string.h> | |
| #include <stdio.h> | |
| void getFileName(const char *szFullName, char *szFileName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Description | |
| Assume there is a directory contains student records regarding to different courses. These files have “.rec” extension. Each file belongs to a course and has the following format: | |
| COURSE NAME: <the name of the course> | |
| CREDITS: <credits> | |
| Student# <a list of numbers belong to different activities have been done in the course> | |
| For example a course record file can be like this: | |
| COURSE NAME: Operating Systems |
NewerOlder