4 ms·
Really, this is worse? FILE * test_file = fopen(“/tmp/test.txt”, “w+”); than create file /tmp/test.txt for input and output as test_file Yeah, remove the ;
by melling 8y ago
Really, this is worse?
FILE * test_file = fopen(“/tmp/test.txt”, “w+”);
than
create file /tmp/test.txt for input and output as test_file
Yeah, remove the ; and duplication of type:
let test_file = fopen(“/tmp/test.txt”, “w+”)
- devxpy 8y agoor remove any declaration syntax altogether! f = open("/tmp/test.txt", "w+")
- singularity2001 8y agoFile test = open /tmp/test.txt for writing
- crpatino 8y agoPersonally, I'd go with: Var Test_file = CreateFile("/tmp/test.txt", erase-prev-version, open-as-read-write); ... but of course that smells like Redmond's bait.