Questions tagged [identifier]

The tag has no usage guidance.

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

Pset5 Speller - Can someone help me find why i'm having this error: use of undeclared identifier 'new_node'

#include <ctype.h> #include <stdbool.h> #include <strings.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include <cs50.h> #include "...
Melissa Borg Sperandeo's user avatar
0 votes
1 answer
38 views

CS50 Problem Set 4 - Recover, fclose undeclared identifier issue

My first time posting on the forum so hope someone can help. I've been scratching my head over this code for a while now and can't understand why I get the undeclared identifier! My code seems to ...
Jonathan Pittock's user avatar
0 votes
1 answer
136 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 = ...
Kiyaga Alecks Clay's user avatar
0 votes
1 answer
121 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
Thiranida Tangjadetanapon's user avatar
0 votes
1 answer
20 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 ...
Anastasia Toska's user avatar
0 votes
1 answer
114 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 ...
Daniel Cloud's user avatar
0 votes
1 answer
84 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 ...
AK-25's user avatar
  • 17
0 votes
1 answer
942 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 ...
Android1's user avatar
0 votes
1 answer
213 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 ...
Android1's user avatar
0 votes
1 answer
104 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 ...
Tiffany Cruz's user avatar