#strcmp is not responding?

5 messages · Page 1 of 1 (latest)

hasty gazelle
#

In the file. In between line 180 and 200 are not executing.
I made this assumption because in console window, the runs are not getting added to the striker's runs. Neither they're
rotating strike when they score odd runs.
Output :

-----------------------------------------

0.1 B.Kumar to S.Yadav : 527
Score : 2-0(0.1)
 S.Yadav   0(0)
 V.Kohli   0(0)

B.Kumar  0.1  0  2
-----------------------------------------

0.2 B.Kumar to S.Yadav : 276
Score : 5-0(0.2)
 S.Yadav   0(0)
 V.Kohli   0(0)

B.Kumar  0.2  0  5
-----------------------------------------

0.3 B.Kumar to S.Yadav : 128
Score : 7-0(0.3)
 S.Yadav   0(0)
 V.Kohli   0(0)

B.Kumar  0.3  0  7
-----------------------------------------

0.4 B.Kumar to S.Yadav : 636
Score : 13-0(0.4)
 S.Yadav   0(0)
 V.Kohli   0(0)

B.Kumar  0.4  0  13
-----------------------------------------

0.5 B.Kumar to S.Yadav : 800
Score : 13-0(0.5)
 S.Yadav   0(0)
 V.Kohli   0(0)

B.Kumar  0.5  0  13
-----------------------------------------

0.6 B.Kumar to S.Yadav : 427
Score : 13-0(1.0)
 S.Yadav   0(0)
 V.Kohli   0(0)

B.Kumar  1.0  0  13
---------------------------------------
autumn geyserBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

vivid violetBOT
tawny otter
#

if you read what strcmp does, it'll tell you that 0 indicates equality

hasty gazelle
#

Damn. Thanks