Questions tagged [undeclared]

The tag has no usage guidance.

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

CS50 Terminal saying there's error in code that isn't there - More Comfortable Mario

Whenever I type Make Mario into the Terminal for the "More Comfortable" Mario.c assignment in Week 1, it keeps telling me I have an error on 13:9 - but there's nothing typed on 13:9. I'm a bit ...
0
votes
1answer
29 views

“check” function in pset4, problem with hashtable and pointers

I'm getting an pesky error when trying to compile my code. error: use of undeclared identifier 'hashtable' first = hashtable[i]; My code, per below, is an attemp to implement the check function ...
0
votes
2answers
68 views

pset3 music - unsure what is wrong with my variables

I'm trying to shift the octave of the note and calculate its hertz, but somehow got error messages saying that my variables are unused. How should I fix this problem? My code: // Calculates ...
0
votes
1answer
259 views

pset1: cash: How to deal with undeclared variables?

A warning: I know there must be an easier way to make this script work. But I'm a newb who has a very hard time wrapping my head around programming and I don't want to destroy my thinking by looking ...