New answers tagged caesar
1
vote
Use of bool in PSET2
Your use of bool is correct, subject to the real problem. The function call isn't. I think your mind just got stuck using a pattern though. Look at the following code:
// Make sure every character ...
0
votes
Error when calling seconnd function - expected expression
It's a scope issue. k is declared inside the curly braces of the FOR loop. That means that when the code exits the for loop, k will cease to exist.
K should be declared outside of any loops or if ...
Top 50 recent answers are included
Related Tags
caesar × 422pset2 × 311
check50 × 33
cs50x × 31
pset2-caesar × 31
segmentation-fault × 20
caesar-cipher × 14
pset6 × 13
python × 13
c × 12
argv × 9
array × 8
command-line-arguments × 8
error × 7
isdigit × 7
pset × 6
cipher-pset2 × 6
argc × 6
atoi × 5
validatingthekey × 5
pset1 × 4
vigenere × 4
encryption × 4
problemset2 × 4
ascii × 4