求幫忙改下C語言實在找不到,C語言 實在找不到哪裡不對了,求大神幫忙找錯。

時間 2022-08-09 10:40:12

1樓:道北斗

void main()

{int mx[size_column][size_row],m;

for(m=0;m!=8;)

這裡的for()漏了一部分吧。

2樓:大伯釣魚

#include

#include

#include

#define size_column 5#define size_row 5

void int_mx(int(*mx)[size_column])else

}return 0;

}我在編譯器vs上根據報的錯修改了一下,可以執行了,但是感覺結果應該不對。不知道樓主是這個程式是想幹嘛的,錯誤太多了。。。。

c語言:實在找不到**不對了,求大神幫忙找錯。

3樓:匿名使用者

int a[9];改成int a[10].

冒泡法有問題沒有?

4樓:匿名使用者

include

int main()

for (n = 0; n < 9; ++n)}}for (i = 0; i < 10; ++i)return 0;}

5樓:獨啊讀書狼

scanf_s是什麼鬼,你從哪學來的?還有10個數是a[10]。

求一段c語言的**,實在找不到思路

6樓:水宮御子

學生用結構體來儲存,可以指標來訪問

7樓:鳳利

# include

# include

//學生資訊結構

typedef struct student_datadata;

//連結串列結構

typedef struct studentstudent,* pstudent;

//根據學生的個數初始化連結串列

bool init(int student_sum,pstudent p)

int main(void)

操作自己寫吧

8樓:樓主_回頭是岸

用連結串列來做 最好 方便刪除

求高手幫忙改下c語言程式錯誤

9樓:愛上笨蛋的妖精

把編譯的出錯出來看看撒```

struct sequence v;

typedef int elemtype;

就看到這兒覺得都不對,這個應該放在最前面先定義啊``

10樓:

#include

#define maxsize 100

typedef int elemtype;

struct sequence

; struct sequence v;

void create() }

void delete_data(int i) }void main()

break;

case 4:

break;

default:return;

} }}

11樓:匿名使用者

前面幾個的宣告順序顛倒了,後面好多變數沒宣告。。。錯誤相當多,你原意是不是想用全域性變數?

給你改了下,可以編譯通過了,邏輯錯誤你自己先看看。。。

#include

#define maxsize 100

typedef int elemtype;

struct sequence

; struct sequence v;

int i;

int n;

void create() }

void delete_data(int i) }void main() }}

我是c語言初學者,這個程式**錯了,我找了很久都找不到,求求你們幫我一下,我真的跪下求你們了?

12樓:夏天的小紅花

其中一句,改為:

輸入資料時,兩個數字之間用空格分開。

13樓:幾年疚

unsigned long 換成int 試試

c語言實驗題 求大神指點,C語言實驗題 求大神指點

都是 100分啊,馬上給你寫.c語言程式填空題,求大神指點,答案已給出,給出具體思路,等 白色夜空的星星 先看函式fun2,功能是交換兩個數。x給y,y給x。再看題目說從大到小,fun2中的if語句,pc和pb,pb中要儲存較大值,pa和pc中,pa要儲存較大值,pa和pb中,pa要儲存較大值,fu...

c語言問題,求大佬幫忙,c語言問題,求大佬幫忙

include stdafx.h include define sever type 3 define oil type 4 int oil type int serve type double all price struct oil char type double price struct s...

c語言作業,求大神幫忙,C語言作業,求大神幫忙

include 求一個數的因子 void divisor int num,int a a 0 判斷一個數是否為素數 char isprime int num return 1 把陣列a裡面的素數放到b裡 void prime to arry int a,int b a b 0 void main p...