Home
Blog
Projects
Resume
Code
Links
|
RecursivePowerFunction.h
|
String.h
|
StringReverse.h
|
CSoundManager.h
|
CSoundManager.cpp
|
RecursivePowerFunction.h
int
pow
(
int
x,
int
y
)
{
int
newValue
=
0
;
if
(
0
!
=
y
-
1
)
newValue
=
x
*
pow
(
x, y
-
1
)
;
else
return
x;
return
newValue;
}