+ 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++)

12th Feb 2020, 2:00 AM
anthony rubio
3 Réponses
+ 3
Did you write this code or get it from somewhere?
12th Feb 2020, 2:41 AM
Sonic
Sonic - avatar
+ 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
12th Feb 2020, 2:16 AM
Ipang
+ 1
Syntax errors are what's going on.
12th Feb 2020, 2:40 AM
Sonic
Sonic - avatar