Questions tagged [identifier]

The tag has no usage guidance.

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

mario.c:17:26: error: use of undeclared identifier 'column' for( column = 0; column > height; column++ ) Memebers i need your help please

#include <stdio.h> #include <cs50.h> int main (void); { int height; do { // prompting the user to enter the number between 1 and 8 only: int height = ...
0
votes
1answer
15 views

Mario.c:19:36: error: use of undeclared identifier 'row'

I am not sure what I am doing wrong... I made 16 same errors of different identifiers but I am not sure why
0
votes
1answer
14 views

I tried everything and it still shows me this error

1 error generated. $ clang cash.c cash.c:6:1: error: expected identifier or '(' my code starts like this #include <stdio.h> #include<cs50.h> #include <math.h> int main (void); float ...
0
votes
1answer
75 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
67 views

Problem Set 1 - Mario - Less Comfortable - 'expected identifer or '('

I recently started CS50 and I am currently in the process of completing Problem Set 1 - Mario (The less comfortable one). I am really confused by the hash pyramid problem, so I've been trying ...
0
votes
1answer
724 views

C: undeclared identifier error in 'do-while' loop - Vigenere Cipher

I'm getting an undeclared identifier error for the i in word[i] in the last of the 'do-while' loop. (word[i]) was accepted previously in the for loop as it is defined in the get-string at the top of ...
0
votes
1answer
156 views

C: Undeclared identifier error - Pset2 (Caesar)

I'm getting undeclared identifier errors for the letter i in the first 3 lines of code below.(Note: I have only posted the second part of the code). My algo is possibly a bit messed up too so far but ...
0
votes
1answer
90 views

trying to declare variable outside of loop per the water.c walkthrough

Hello fellow CS50 pupils! I have spent the past few days experimenting on the suggestions given in water.c walkthrough by writing different snippets of code. I keep getting the following messages ...