Timeline for atoi() always returns 0
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 30, 2018 at 1:48 | comment | added | Sangwan7447 | finally did it !!! so happy, now i understood what i was doing wrong, i used the command from cs50 make caesar and then ran the following code ./caesar 1 and it worked just fine. Phew! now i can get on with the rest of the code. thanks a lot dino. | |
Aug 30, 2018 at 1:26 | comment | added | Sangwan7447 | so how do i convert the key to an integer? i am still confused, how do i get to see what is my key and if argv[1] is the caesar.c then what is argv[0] in that case? | |
Aug 28, 2018 at 13:27 | history | edited | DinoCoderSaurus | CC BY-SA 4.0 |
but wait there's more! +corrections
|
Aug 28, 2018 at 13:21 | history | edited | DinoCoderSaurus | CC BY-SA 4.0 |
but wait there's more!
|
Aug 28, 2018 at 13:11 | history | answered | DinoCoderSaurus | CC BY-SA 4.0 |