source:
CIVL/mods/dev.civl.com/examples/io/textFileLengthSpec.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 284 bytes | |
| Line | |
|---|---|
| 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.
