larry_ray30 wrote:
I changed some settings after reading your posts and have definitely made some progress. I am now receiving 3 errors which aren't really making sense to me. 2 errors say I am missing ; however I don't believe I am. Also it has int as an undeclared identifier , however I thought int was declaring the variable as an integer, so I'm not sure how that is undeclared?
1>d:\my c++ projects\module3exercise3\module3exercise3\exponentiation.cpp(36) : error C2146: syntax error : missing ';' before identifier 'cin'
1>d:\my c++ projects\module3exercise3\module3exercise3\exponentiation.cpp(41) : error C2065: 'Int' : undeclared identifier
1>d:\my c++ projects\module3exercise3\module3exercise3\exponentiation.cpp(41) : error C2146: syntax error : missing ';' before identifier 'y'
Welcome to the joys of debugging.

Something you'll find as you get into programming is that often, you won't see the simplest/stupidest errors unless you walk away for a bit, then come back to it again. Especially syntax errors. You'll also find that sometimes the error's not happening on the line that it says it is, or that it isn't really related to what it says it is.
In re. the ";" errors. First, remember that you pretty much need to finish off every command in C++ with a ";". If you see it saying that it is missing a ";", you want to look around that line to see if there's any commands missing a ";" at the end.
In the error on line 36, look around that area to see if there's a missing ";".
In the error on line 41, this is an example where the error's not really necessarily related to a missing ";". You have to look at the line to see what you're really intending to do there, to see if it is correct. It looks like you are trying to define variable y as an int and assign it the value of 0.
That's fine, but you already defined it at the top of the function, why are you trying to define it again? Incidentally, I forget if the types are case sensitive or not. Int might not be the same as int.
Also, there's another issue there that you'll need to step through logically to find. Plug in values to the variables and walk through the pseudocode.
Finally, are you sure the curly braces are being used correctly?