3
関数を呼び出すために変数(ユーザー入力から取得する)を使用するにはどうすればよいですか?ユーザー入力を関数に呼び出す方法C
char user_function[10];
scanf("%s", user_function);
user_function(); //Calls the function named user_function that the user typed
char user_function[10];
scanf("%s", user_function);
if(strcmp(user_function, 'printf()'))
printf();
まだですあなたは使用したくない場合は、スイッチを使用してください – Alon