Posts by Pedro Zanutto • 33 points
3 posts
-
1
votes1
answer1567
viewsQ: strcpy() in struct string
I have a struct Time that has a vector char name[30], the problem starts when I try to copy a value to that string with the function strcpy(), follows the code of stuct: typedef struct Time{ char…
-
1
votes1
answer151
viewsQ: Function that reads a double of a string and returns the rest of the string in C
Is there any function of the type? Which reads and stores or returns a double of a string and returns or pointers the rest of the string or do I have to do my own function? If there is no one have…
-
1
votes1
answer361
viewsQ: function in Graphics. h
I’m trying to learn a little more from C/C++ libraries to do more things so I went after the Graphics library. and went after the most basic code I found, which was: #include <graphics.h> int…