Questions tagged [operands]

The tag has no usage guidance.

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

cs50 Appliance updated but still get error

I am compiling this. Get error message. #include <cs50.h> #include <stdio.h> #include <string.h> int main(void) { printf("Say something: "); char* s = GetString(); ...
0
votes
1answer
1k views

error: invalid operands to binary expression ('int *' and 'LONG' (aka 'int'))

I'm pretty sure I'm using pointers incorrectly but I don't fully understand why using them in this way is wrong. The compiler seems to throwing out an error on the line (near the bottom of the code) ...