Questions tagged [lecture1c]
The lecture1c tag has no usage guidance.
2
questions
0
votes
1
answer
49
views
Clang external library (libcs50) linker error "C"
I don't access to 4g internet connection, so I installed cs50 library on my lubuntu for offline use, I put the cs50.h file in /usr/local/inlcude and the libcs50.a file in /usr/local/lib. Now when i ...
0
votes
1
answer
38
views
CS50 2018 Lecture 1C. Unable to figure out syntax error in code
My code :
#include <stdio.h>
#include <cs50.h>
int get_positive_int(string prompt);
int main(void)
{
int i = get_positive_int("Positive interegr: ");
printf("%i\n", i);
}
int ...