When I open gedit from the toolbar down below I get this gedit and if I open it through using root I get the the one that's like the later one. I'm also getting the error which is shown in the terminal of the later pic. Please help me guys.
CS50 Stack Exchange is a question and answer site for students of Harvard University's CS50. It only takes a minute to sign up.Sign up to join this community
The command "make" seems to be lacking some flags, try compiling it on your own with the "-lcs50" flag to link the library, i.e.
clang credit.c -o credit -lcs50
If you want "make" to behave like it should, you can export the C-flags to something like:
export CC=clang export CXX=clang export CFLAGS="-ggdb3 -std=c99 -Wall -Werror" export LDLIBS="-lcs50 -lm"
Happy coding =)