Can someone please help me with this one. Why dosen't this code compile? I've obviously problem with understanding the prototype function declaration thingy.
<cmath> declares function 'pow'. Therefore, you should not do it, particularly inside main. If you do declare your own 'pow', then you must provide an implementation for it too.
"Does not compile" ... compiler does tell why it does not like something. Compiler can be awfully verbose at times, but at least try to look at its output for hints.
Could you please write down the code so it's working and so I can see it? Since i'm retarded and don't really understand what you are saying...
I accualty did look at the output but it went over my head. I think there's something that i've missed with the prototype function. Got to read more about that..