2
votes
Accepted
Can't pass input value from HTML to python (Final project)
It's not so much you "can't" pass it as you "don't" pass it. There is no input element whose name attribute is "name".
After edit: from the screenshot, you should notice it's using a "get" method ...
1
vote
Accepted
Trying to do pset 2, but it doesn't even accept my input. What am I doing wrong?
The problem lies here:
for(int i = 0; i < keyL - 1; i++)
{
for(int j = i; j < keyL; j++)
{
if(key[i] == key[j])
return 0;
}
}
When the loop runs the first time, ...
1
vote
Accepted
Taking scale factor input in Resize--pset3
Interesting issue. So, what's actually stored in n?
int n = (int) &argv[1];
That & that appears before argv[1], means to use the address of argv[1], so it's inserting the address, not the ...
1
vote
Accepted
check50 is being silly
While the output from your program may be encoding the plaintext, the problem lies elsewhere. The program spec says to prompt for input. The code above merely waits for input, without a prompt. ...
1
vote
Accepted
Drop down list using database values in PHP - Doesn't work - Final project
This is sketchy: foreach($result as $result): ?> because the var names are the same (and I'm not sure about : in php). Wouldn't the proper syntax here <option value="$result["name"]"> be <...
1
vote
Help with fseek and fgets
Fseek works by moving the file pointer, indicated by the FILE pointer in our case, forward or backward. So whenever you use functions that work with file streams, you should keep in mind where the ...
1
vote
Accepted
inputing multiple value(variable)
It can be done, and in fact, will be done as part of some of the last psets. But since this is a teaching environment, and one of the things this class teaches is how to find out how research ...
Only top scored, non community-wiki answers of a minimum length are eligible