課程
/后端開發
/C
/C語言入門
12345
2018-08-31
源自:C語言入門 5-13
正在回答
hello.c
#include <stdio.h>
void say();
extern void printLine() ? ??
{
? ?printf("**************\n"); ??
}
int main()
? ? say();
????return 0;
test.c
void say(){
? ? printLine();
? ? printf("I love imooc\n");
? ? printf("good good study!\n");
? ? printf("day day up!\n");
補一個:
test.c程序。
PRRRR
慕九州5552665 回復 PRRRR
extern void printLine() ? ? //這里定義的方法對嗎?
? ? return 0;
你也可以重置代碼呀!看看我的怎么樣o(* ̄︶ ̄*)o
什么意思?
先生莫知何許人也 提問者
舉報
C語言入門視頻教程,帶你進入編程世界的必修課-C語言
2 回答#include"test.c"是怎么辦到的
1 回答沒有出錯,只是無法調用那個test.c文件,你把那個文件里的代碼copy過來就行了。
2 回答test.c 這個程序的代碼為什么看不到?
2 回答代碼中英文不見了
2 回答為什么我這段代碼一直是錯的,后面調用了test.c
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2018-09-05
hello.c
#include <stdio.h>
void say();
extern void printLine() ? ??
{
? ?printf("**************\n"); ??
}
int main()
{
? ? say();
????return 0;
}
test.c
#include <stdio.h>
void say(){
? ? printLine();
? ? printf("I love imooc\n");
? ? printf("good good study!\n");
? ? printf("day day up!\n");
? ? printLine();
}
2018-09-05
補一個:
#include <stdio.h>
void say(){
? ? printLine();
? ? printf("I love imooc\n");
? ? printf("good good study!\n");
? ? printf("day day up!\n");
? ? printLine();
}
test.c程序。
2018-09-05
#include <stdio.h>
void say();
extern void printLine() ? ? //這里定義的方法對嗎?
{
? ?printf("**************\n"); ??
}
int main()
{
? ? say();
? ? return 0;
}
你也可以重置代碼呀!看看我的怎么樣o(* ̄︶ ̄*)o
2018-09-02
什么意思?