Skip to main content

Questions tagged [boolean]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers

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 [-...
olafironfoot's user avatar
1 vote
2 answers

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? ...
olafironfoot's user avatar
0 votes
1 answer

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 ...
DFATPUNK's user avatar
  • 155
0 votes
1 answer

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> #...
Samir-B's user avatar
  • 11