Questions tagged [boolean]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
690 views

Pset4 recover, comparing hex in if statements

I'm trying to solve "recover" but, I'm unable to compare my if statements. This is my error message: error: comparison of constant 224 with expression of type 'char' is always false [-...
1
vote
2answers
104 views

Pset4 recover.c compiles, but can't seem to print Jpgs at all

Am starting a new thread as I'm having trouble understanding what is wrong with the code.. I've added printf statements at the jpgCheck function and did not get a print. I suspect it's the function? ...
0
votes
1answer
88 views

pset2 caeser boolean returns

when running the code below with a command line ./caesartest 2, I get the false return 1, not the true, what is wrong? (I began having the trouble after including isdigit)... #include <cs50.h> #...
0
votes
1answer
1k views

PSET8 - MASHUP : Can't find FULLTEXT indexes when using WITH QUERY EXPANSION

I'm working on the final pset, more specifically on the search.php file. I've figured out how to use query() and I'm actually taking advantage of print(json_encode($places, JSON_PRETTY_PRINT)); to ...