Document of c-modernization-kit (calc dotnet wrapper) 1.0.0
Loading...
Searching...
No Matches
CalcApp.Program Class Reference

calc コマンドのメインクラス。 More...

Collaboration diagram for CalcApp.Program:

Static Public Member Functions

static int Main (string[] args)
 プログラムのエントリーポイント。

Detailed Description

calc コマンドのメインクラス。

Definition at line 27 of file Program.cs.

Member Function Documentation

◆ Main()

int CalcApp.Program.Main ( string[] args)
inlinestatic

プログラムのエントリーポイント。

Parameters
argsコマンドライン引数の配列。
Returns
成功時は 0、失敗時は 1 を返します。

使用例:

./CalcApp 10 + 20
// 出力: 30
./CalcApp 15 - 5
// 出力: 10
./CalcApp 6 x 7
// 出力: 42
./CalcApp 20 / 4
// 出力: 5

Definition at line 51 of file Program.cs.

References CalcLib.CalcLibrary.Calculate().

Here is the call graph for this function:

The documentation for this class was generated from the following file: