+ 1
What's going on here?
struct time string_to_time(string time1) { int temp1 = 0; int flag = 0; struct time solution; for(int j = 0; j<time1.size();j++)
3 ответов
+ 3
Did you write this code or get it from somewhere?
+ 1
You only gave partial/incomplete code, and you didn't explain what you expect the code to do. Please edit the question to add more details on this idea. Also save that code in SoloLearn, and share the link instead. Saving the code prevents your code from getting truncated, like when you attach it as raw text.
https://www.sololearn.com/post/74857/?ref=app
+ 1
Syntax errors are what's going on.