Posts by Andre • 11 points
3 posts
-
0
votes1
answer245
viewsQ: C separate string with commas in vectors
I want to separate each line of a file into 2 vectors: v[i]. date and v[i].value. However, when I run the code no value I print is correct, and the outputs are random values. There’s something I…
-
0
votes1
answer48
viewsQ: Doubt with excel files
I have a list of dates in a BTH.cvs excel file. I want to copy the entire file to another new.cvs, but a.exe stops working. #include <stdio.h> #include <stdlib.h> int main(int argc,char…
-
-2
votes1
answer53
viewsQ: Rewrite 2-digit maximum input numbers for output
I need to rewrite two-digit numbers at most input to the output, stopping processing the input after reading the number 42. Input: 1 2 88 42 99 Output: 1 2 88 My code is like this, I can’t…