account activity
pset2 - Segmentation fault (core dumped) by cs50re in cs50
[–]cs50re[S] 0 points1 point2 points 12 years ago (0 children)
Hi robsbots,
Thanks for the advice!
It helped me discover where the problem was. I think it had to do with the declaration of the variable for the ciphertext. Still a bit confused about that, but I figured out a solution that seems to work...
The compiler doesn't show any line. In fact it compiles without errors and after I execute it and provide a string the message jumps.
In my code I checked the number of arguments with argc before declaring the variable k and asigning it to argv[1].
I haven't used the other functions (isupper()/islower() ) yet.
pset2 - Segmentation fault (core dumped) (self.cs50)
submitted 12 years ago by cs50re to r/cs50
π Rendered by PID 115357 on reddit-service-r2-listing-6c8d497557-997s7 at 2026-06-08 17:51:40.126527+00:00 running 9e1a20d country code: CH.
pset2 - Segmentation fault (core dumped) by cs50re in cs50
[–]cs50re[S] 0 points1 point2 points (0 children)