python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Segmentation fault (core dumped) error while doing cs50 lab
when I type ./scrabble and enter Player 1 and 2's words, the result is segmentation fault(core dumped). I looked at other similar solutions and they had no errors, so where did i make the mistake.
in...
Thien An Bui
Votes: 0
Answers: 1
Why there is a !mark in the output but I never type any in my code?
The following is my code:
#include <cs50.h>
#include <stdio.h>
#include<string.h>
#include<ctype.h>
int main(int argc, string argv[])
{
char out;
string key = NULL;
...
An Dy Andy
Votes: 0
Answers: 1
CS50 Pset 2: Readability
I'm having issues returning the string as an integer through printf. Heres the error i keep getting, but if I just %i to %s it compiles and prints text. i need to print the number of letters in a stri...
npandolfi
Votes: 0
Answers: 1
Error: Ignoring return value of function declared with pure attribute
#include <ctype.h>
#include <cs50.h>
#include <stdio.h>
#include <string.h>
// Points assigned to each letter of the alphabet
int POINTS[] = { 1, 3, 3, 2, 1, 4, 2, 4, 1, 8, 5,...
user18353868
Votes: 0
Answers: 1