FrontPage > C/C++ > system

system

説明

C言語から、他のアプリケーションを実行します。
UNIXの場合は、実行モードが必要。

インクルード

#include <stdlib.h>

書式

int system(const char *string);

サンプル

#include	<stdio.h>
#include	<stdlib.h>

main(){

printf ("->%d\n", system("./test"));

}

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2008-08-24 (日) 16:20:45