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 |
Use this tag for programs that interact with their user by means of a character-based console or terminal
5
votes
ATM Console Program
static bool IsMultipleOfTen(int amount)
{
return (amount % 10) == 0;
}
You're not interested in multiples of 10, you're interested in combinations of 20's and/or 50's. That all multiples of 10 f …
3
votes
Automated test system
First thing I noticed is you don't seem to be checking if your commands are executed. There's no Exception handling to be found.
Second, avoid the use of magic numbers.
telnetlib.open('10.100.100.10 …
7
votes
Blinking console start menu
I want to congratulate you for not going the using namespace std route. It's a mistake many beginners make because they don't know any better and you went for safety instead of laziness.
You say you' …
5
votes
Accepted
Follow Up DinoPass - CLI Password Manager
Looks like you got a good start, but there's plenty left to improve. Considering you're doing this as a one-man project, I imagine there will always be minor issues.
First of all, initial set-up. On a …