Skip to main content
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
Results tagged with
Search options questions only not deleted user 38155
1 vote
1 answer
24 views

My floating point value won't return the decimal point

< weeks; i++) { nice += hours[i]; } float dice = nice /= weeks; return dice; } else { return false; } } My problem
Harr's user avatar
  • 35
1 vote
1 answer
759 views

Getting the error: non-void function does not return a value in all control paths [-Werror,-...

#include <cs50.h> #include <stdio.h> #include <ctype.h> #include <string.h> #include <math.h> bool only_digits(string s); int main(int argc, string argv[]) { if (argc != 2) { printf( …
Harr's user avatar
  • 35
0 votes
2 answers
296 views

Getting "using the result of an assignment as a condition without parentheses" error and i d...

for (int i = 0; n = strlen(argv[1]); i < n; i++) { if (isdigit(argv[1][i])) { return 0; } else { printf("Usage: ./caesar key\n"); …
Harr's user avatar
  • 35
0 votes
1 answer
171 views

Getting: expected identifier or '(' error and I don't know why

int calculate_quarters(int cents); { // TODO int quarters; for(quarters = 0; cents >= quarters; quarters++) { cents = cents - 25; } return quarters; } The error happens at …
Harr's user avatar
  • 35