// MathPow.cpp : メイン プロジェクト ファイルです。 #include "stdafx.h" using namespace System; int main(array ^args) { // 10 の 3 乗を取得する double dPow = System::Math::Pow(10, 3); // べき乗 (累乗) した値を表示する Console::WriteLine(dPow); // 1000 return 0; }