Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
警告“警告:赋值从没有强制转换的指针中生成整数”出现在该行中:
for (lin = lin_inicial; lin < (lin_inicial + num_linhas); lin++)
lin被声明为int lin;。 lin_inicial并num_linhas像这样传递给函数: void mult_matriz (int linha_inicial, int num_linhas)
lin
int lin;
lin_inicial
num_linhas
void mult_matriz (int linha_inicial, int num_linhas)
有人知道为什么没有指针时编译器会警告我有关整数和指针的信息吗?