source: CIVL/examples/io/textFileLengthSpec.cvl@ beab7f2

main test-branch
Last change on this file since beab7f2 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 284 bytes
Line 
1#include<civlc.cvh>
2#include<stdio.h>
3#include<civl-stdio.cvh>
4
5void 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.