Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
Got into an unexpected error while compiling the code
You need to link in cs50 file also using -l
Clang myfilename.c -lcs50
Or simply use make command
Make myfilename
0
votes
1
answer
75
views
Memory error -Valgrind [duplicate]
I'm doing PSET4 SPELLER, My code is working properly but Valgrind is giving errors, I'm unable to figure out why so.
valgrind
32 bytes in 1 blocks are still reachable in loss record 1 of 1
Re-che …
0
votes
1
answer
38
views
CS50 pset3 i want to resize this image, code is working for some and not for others? Can any...
int n = atoi(argv[1]);
// read infile's BITMAPFILEHEADER
BITMAPFILEHEADER bf,bfR;
fread(&bf, sizeof(BITMAPFILEHEADER), 1, inptr);
bfR = bf;
// read infile's BITMAPINFOHEADER
BITMAPINFOHEADER bi,biR; …
0
votes
1
answer
57
views
jpg's are not proper, mix of multiple images. Can anyone tell me whats wrong?"RECOVER"
here is my code
while (fread(buffer, 512, 1, inptr) == 1)
{
if (buffer[0] == 0xff && buffer[1] == 0xd8 && buffer[2] == 0xff && (buffer[3] & 0xf0) == 0xe0)
{
char file …