frogboy77 73 Posting Pro in Training

without sufficient energy, we are limited to equatorial and sub-equatorial ranges.

i believe the inuits would disagree.

frogboy77 73 Posting Pro in Training

the other 200:D

frogboy77 73 Posting Pro in Training

you have 2 functions that are named the same and take the same argument.

frogboy77 73 Posting Pro in Training

Scotland should be treated with the disdain it deserves. Send out the under 16s and the over 40s and i fear we would still lose.

happygeek commented: biggest ROFL of the day so far +0
frogboy77 73 Posting Pro in Training

And yet we are so reliant on air conditioners, heaters, fans and organtic food which simply cannot exist in some situations. So in a way we are reliant on the very organisms that are vulnerable to extinction.

No, we enjoy these "luxuries" but we would survive without them. I have no air conditioners, no fans, i don't eat organic food and i'm old enough to remember building a fire in the lounge every morning.

frogboy77 73 Posting Pro in Training

Perhaps 2012 is when climates change and species who don't adapt will not survive including humans.

Does any species adapt better than us?
We have colonised almost every part of the planet, every enviroment from tundra to desert.

frogboy77 73 Posting Pro in Training

Yes but given the fact that Euler was a genius that's no too comforting.

frogboy77 73 Posting Pro in Training

The question for us isn't wether we will lose or not. The question is how embarrassing it will be.

frogboy77 73 Posting Pro in Training

Is it the language holding you back or the maths?

frogboy77 73 Posting Pro in Training

Surely the method mentioned by the OP would show sum to be 15.
This is not is what you are looking for(at least i think).
stringstream may be the way to go.

frogboy77 73 Posting Pro in Training

I managed ~120 in c++(no big-nums in c++, made it a bit harder) with no external libraries and a "very" limited knowledge of programming. Have hit the wall now (mostly the math i think).

Has anyone else given this a go and how did they do?

This is not supposed to be a bragging contest, just curious to know how others did.

frogboy77 73 Posting Pro in Training

Fear of competition is essential, otherwise you get lazy and cease to compete. Also are people here out to change the world or just to change their world.

frogboy77 73 Posting Pro in Training

1. use code tags.
2. if you are being asked for pseudocode then i am guessing your prof doesn't think you are ready for the actual code yet.
3. is this your code?
4. google.

edit: it just appeared in code tags
3. i.e can you explain what the code is doing?

frogboy77 73 Posting Pro in Training

Here in Aust. the two big US chains ran for a while ads showing prime beef yearlings in paddocks. As if. You get 12yold cow remains in hamburger.
You get what you pay for. You don't pay much.

hamburger? where's the ham?

frogboy77 73 Posting Pro in Training

so if cuts come to your department you still?

want to be surrounded by people smarter than me so I can learn from them

frogboy77 73 Posting Pro in Training

Is this your work?

frogboy77 73 Posting Pro in Training

Far from it. In my case it's enlightened self-interest. By answering questions I have more control over the next generation of developers. Since these people will be my peers in the future, I want them to be reasonably competent.

Would "self-interest" not be to keep them all dumb so as they can't surpass you and take your job away.

frogboy77 73 Posting Pro in Training

Lady Astor: 'If you were my husband, I'd poison your coffee!'

Churchill: 'My dear, if you were my wife I'd drink it.'

frogboy77 73 Posting Pro in Training
frogboy77 73 Posting Pro in Training

1) yes, but be prepared for a very steep learning curve.
2) as far as i am aware a large percentage of modern games are written in c++ (but remember writing a game may not be as much fun as you think it will be, i.e lots of time writing lines of code just to make an asteroids game that looks like something from 1982.)
3) sorry can't help with this.

frogboy77 73 Posting Pro in Training

As a beginner i am very thankful for the advice given by people who clearly know far more about the subject than myself.

I have answered some threads that i feel i understand (sometimes), but i regularly see "experts" answering the most basic of questions (including mine).

Are you people just genuinely good human beings?

frogboy77 73 Posting Pro in Training

where is the user telling you which planet they are on?

you ask a question:

cout << "Please enter a planet name from the following list." << endl;
				cout << "Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune" << endl;

but you don't ask for an answer.

frogboy77 73 Posting Pro in Training

where is the input for Planet?

edit beat to it

frogboy77 73 Posting Pro in Training

why have the line at all? when the program reaches this point and breaks the do while loop then surely signal does equal q.

frogboy77 73 Posting Pro in Training

seek out your classmates. they are also here.

frogboy77 73 Posting Pro in Training

ok just guesses but
line 14 why?
do while signal !='q'
initially what value does signal have?

frogboy77 73 Posting Pro in Training

really?
first post each and a link to a site?
(i may be getting cynical in my old age, please excuse me.)

frogboy77 73 Posting Pro in Training

Maybe not EXACTLY politically correct

you think?:D

frogboy77 73 Posting Pro in Training

If I have seen further it is only by standing on the shoulders of giants.

Sir Isaac Newton

frogboy77 73 Posting Pro in Training

can you use vectors?
that would be my first port of call.
then either use sort or write (what i think is called) a bubblesort.

frogboy77 73 Posting Pro in Training
AndreRet commented: Wow! +0
frogboy77 73 Posting Pro in Training

Will it be Scotland to thwart them again?

:D

frogboy77 73 Posting Pro in Training

That's a big ask.
My suggestion would be to run the program with extra cout lines to find where the problem is occurring then post the smaller piece of code(that isn't working) for people to help you with.
There are some here who may slog through ~250 lines, but not many and not often.

frogboy77 73 Posting Pro in Training

sqrt(86)=9.2736.........

largest prime factor of 86=43.

frogboy77 73 Posting Pro in Training

Yes but as i said when you remove one power hungry friend of the wealthy and big business you invariably get another. (not always better)

frogboy77 73 Posting Pro in Training

.

frogboy77 73 Posting Pro in Training

lol, yeah i hate the way the sport gets in the way of the adverts:)

frogboy77 73 Posting Pro in Training

As it says you have a double function so it is expecting a double value to be returned.

Plus you seem to be missing some function definitions.

frogboy77 73 Posting Pro in Training

Start to finish

Football: ~105-110 mins, 90 mins play ~83.7%
Rugby: ~95-100 mins, 75-80 mins play ~79.4%

frogboy77 73 Posting Pro in Training

How long does the average American football match last and what percentage of that time is actually play?

frogboy77 73 Posting Pro in Training

Yes but you still have the power hungry idiots ( Clinton (bit of a pest if you're a woman and a bit dim) & Bush (court jester) ) to name but two.

frogboy77 73 Posting Pro in Training

Is that not the same everywhere? Swapping one power hungry idiot for another.

frogboy77 73 Posting Pro in Training

It's like all "American" sports, more stop than start.

frogboy77 73 Posting Pro in Training

I would love to see the Italians beat anyone but us.(although the missus probably wouldn't agree, being a good old gal from the valleys.)

frogboy77 73 Posting Pro in Training

I think Italy and Scotland need to be switched.
I would love to be more upbeat but hey im a realist.

frogboy77 73 Posting Pro in Training

OK, so what's the problem?

frogboy77 73 Posting Pro in Training

That is a statement not a question.

frogboy77 73 Posting Pro in Training

line 11 cout << secondary

Climber Ty commented: Thanks! +1
frogboy77 73 Posting Pro in Training

perhaps you should get together with biancaW here;
http://www.daniweb.com/forums/thread344087.html

frogboy77 73 Posting Pro in Training

hadn't watched the chicken one, it looked ok to me. it was more the ammonia thing