Questions tagged [operands]
The operands tag has no usage guidance.
2 questions
0
votes
1
answer
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
1
answer
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) ...