從控制臺(tái)輸入接受字符串,然后把輸入?yún)?shù)打印出來
//hello.hextern void PRint(char* aa);#include <stdio.h>void print(char* aa){ printf("%s/n", aa);}#define N 10#include "hello.h"#include <stdio.h> void print(char* aa);int main(int argc, char **argv){ char aa[N]; scanf("%s",aa); print(aa);}遇到的錯(cuò)誤: 1、printf was not declared in this scope
#include<stdio.h>新聞熱點(diǎn)
疑難解答
圖片精選
網(wǎng)友關(guān)注