Skip to main content

Questions tagged [initializing]

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

Problem set 1 Mario variable issue

I've been staring at my computer for so long trying little tweeks to fix the error message. TLDR how do I stop the shadow message from appearing and initialize variable h? The image looks confusing ...
Rayray94's user avatar
0 votes
1 answer
43 views

where to initialize the variable that keeps track of the blank space

I am working on "Move" of exercise Fifteen in PSET3 of CS50. I am unsure about how to keep track of the blank space. I have tried to add the row and column number of the initial blank space as a ...
Maple's user avatar
  • 1
0 votes
1 answer
87 views

why is initialization of variable is important?

I can straight away store my calculated value in the uninitialized variable? in worst case scenario what will happen?(even though i dont find any compiling/logical error)
HARISH GANDHI.R's user avatar
0 votes
2 answers
119 views

PSET2 Initiallizing - segmentation fault

#include <stdio.h> #include <cs50.h> #include <string.h> int main(void) { printf("type your name: "); string name = GetString(); string initial = NULL; for(int i = ...
KoYM's user avatar
  • 1