Forum: C++ Dec 15th, 2008 |
| Replies: 17 Views: 805 Well you cut off the endline - put it back or simply insert a space
cout << "Enter rainfall (in inches) for month " << (month%12) + 1 << " of year " << (month/12) + 1 << ": ";
Was it hard? |
Forum: C++ Dec 14th, 2008 |
| Replies: 2 Views: 326 Change a[i]= tmp; with a += tmp;. |
Forum: C++ Dec 11th, 2008 |
| Replies: 17 Views: 1,008 Hi all there.
Given the huge amount of blackjack/card games threads and me being personally interested in poker and other games, I was feeling like starting to play with a few useful (at least I... |
Forum: C++ Dec 7th, 2008 |
| Replies: 10 Views: 1,744 Hi all there.
Firstly I apologize if this is not a specific question (please do point it out if you find this unpolite).
I don't have real problems so if you're not personally interested feel free... |
Forum: C++ Nov 30th, 2008 |
| Replies: 2 Views: 2,110 The amount of people that'll help you is somehow proportional to the effort you'll show, not to the number of threads (http://www.daniweb.com/forums/thread160149.html) you'll open.
I'm less than a... |
Forum: C++ Nov 30th, 2008 |
| Replies: 5 Views: 431 Seriously, how much do you think we care? Moreover, I hardly think so. I'm pretty sure that you won't hold gratitude or appreciation soon after you'll hand that assignment. Not that I'd pay a penny... |
Forum: C++ Nov 25th, 2008 |
| Replies: 19 Views: 1,262 Ok, I'll try to be nice:
1 - Don't (repeat: don't) PM for help. I'm not your friend nor your tutor.
2 - Moreover, don't (repeat: don't) ever ask things like "please write for me the full... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 12 Views: 1,377 If you are making a complex class you should return a complex object, and it should not be the first operand. I mean given z and w two complex number, the instruction z + w should not modify z!... |
Forum: C++ Nov 18th, 2008 |
| Replies: 2 Views: 427 strange, #include <iostream>
using std::cout;
using std::endl;
int main(void) {
char * word = new char [20];
char temporal[ ] = "hola";
strcpy(word, temporal);
cout << word << endl; |
Forum: C++ Nov 7th, 2008 |
| Replies: 4 Views: 452 return ceil(sqft/115.)*cpg; here's your total paint cost. Divide by cost per gallon and you will obtain the number of gallons used Oo (read: do not multiply for cpg).
It's the same for the number... |
Forum: C++ Nov 5th, 2008 |
| Replies: 4 Views: 669 This:
And This:
Don't really fit well togheter, don't you think? |
Forum: C++ Nov 2nd, 2008 |
| Replies: 2 Views: 302 int main(void) {
TryYourself();
if(ProblemArise()) {
while(NotWorking()) {
PostYourCode();
AskForHelp();
TrySuggestion();
... |