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 |
1
vote
Accepted
Pset2 Vigenere some flaws in the code
Your issue is a misplaced ) when you calculate the key.
int letterKey = tolower(k[j % kLen] - 'a');
You want to lowercase the key and then subtract 'a'. Move your closing brace.
1
vote
Accepted
Pset3 help : vigenere error
atoi takes a string as argument. You are passing it a single char.
As an example, if you have atoi("123"); you'll get 123. But you can't pass it atoi('1') as that is a char.
If you are trying to …