All Questions
5 questions
0
votes
2
answers
615
views
(CS50 mario.less)Please point out the mistake in my code.(pset 1)
I need your assistance with my code foe CS50 problem set 1, the mario(less comfortable).
I seem to have a few problems with the logic inside my code. Would you mind pointing out the mistakes? I would ...
0
votes
1
answer
183
views
what is wrong with scanf in the program written bellow, Why it is not asking for value when input is not an integer?
#include<stdio.h>
#include<stdlib.h>
//#include<cs50.h>
int main(void){
int minutes;
printf("minutes:");
int c=scanf("%d",&minutes);//if input here is character then second ...
0
votes
1
answer
446
views
"Error: control may reach end of non-void function". What causes this error? [duplicate]
I'm working with code (that I am not the primary author of) and trying to get it to run.
It tests to see if a number is prime or not.
It gives me the error error: "control may reach end of non-void ...
1
vote
1
answer
1k
views
How to Install Stanford CPP Library for Windows (Visual Studio)?
I am using Visual Studio on windows and would like to use Stanford CPP library. Can anyone tell me what is the standard method to include the library header files to run for my visual studio project?
...
0
votes
1
answer
75
views
Can I upgrade appliance for C++11?
I am an alumni of CS50. However, I still use the appliance. I was trying my hands on c++11 but the appliance I guess is configured for c++98 ( from what I have been able to judge from the errors ). So,...