source:
CIVL/mods/dev.civl.com/examples/io/textFileLengthSpec.cvl@
8553be8
| Last change on this file since 8553be8 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 284 bytes | |
| Rev | Line | |
|---|---|---|
| [abd3108] | 1 | #include<civlc.cvh> |
| 2 | #include<stdio.h> | |
| 3 | #include<civl-stdio.cvh> | |
| 4 | ||
| 5 | void main(){ | |
| 6 | FILE *file = fopen("fooaaa", "r"); | |
| 7 | int fooLength = $text_file_length("foo"); | |
| 8 | // int fooLength = $textFileLength("testFile1.txt"); | |
| 9 | ||
| 10 | // printf("\n\ntext file length:%d \n\n", fooLength); | |
| 11 | $free(file); | |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.
