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 |
2
votes
C vs Python in MOOCs?
However, I can understand why CS50 is having us do C.
Python is "easy" in the sense that it uses a lot of English or human-readable words. … C can help answer those previous questions as to how the computer knows when to stop, when to start, etc. …
1
vote
Accepted
Pset1 (greedy) - How do i better design this program ?
Your code is correct, but there are some more effective ways to design it.
First, your variables. You don't have to make variables for quarters, dimes, nickels, or pennies, since those don't have to …
2
votes
Accepted
C: Vigenere - incompatible pointer types passing 'char **' to parameter of type 'const char *
The error comes from here:
for(int l=0; l<strlen(argv); l++)
Think about it. strlen() wants a const char* or char*. You gave it argv, which is an array of the command line arguments. Because argv is …