Questions tagged [validation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
119 views

PS2 Caesar having trouble validating key

So far I've only gotten to the part where the code should check to see if the key is only digits. #include <cs50.h> #include <stdio.h> #include <string.h> #include <ctype.h> ...
0
votes
1answer
344 views

How do I validate a key in Caesar?

I'm having difficulties in validation step in Caesar. My logic here is to pass through each digit and check if it is a number character and if not, abort. If they all are, it will convert each ...
0
votes
1answer
102 views

pset2 initials.c validation returns unexpected test results

I'm not sure where to direct this question, but on validation my initials.c program i got unexpected errors, for example: :( outputs "R" for "ROB" \ expected output, but not "RO\n" :( ...
2
votes
1answer
679 views

argc value count confusion

I'm having some confusion on Pset3. In the program "generate.c" there is an "if" condition for validating the argument counts. Here is the portion I'm having confusion : if (argc != 2 && argc ...