0 / 0 / 0
Регистрация: 08.06.2018
Сообщений: 1
|
||||||
1 | ||||||
Код с ошибкой, Error: Found declaration, Error: Wrong number of parameters specified for call08.06.2018, 08:53. Показов 4111. Ответов 1
Задние: Заполнить двумерный массив случайными числами. Размерность массива и диапазон генерации вводятся с клавиатуры. Составить программу, которая подсчитывает сумму всех элементов массива. Затем организовать формирование нового массива С, в котором элементы, лежащие не на главной диагонали, равны 1, а остальные элементы равны соответствующим элементам исходного массива С
Код;
fpc "56.pas" (в каталоге: /home/misha) Free Pascal Compiler version 3.0.4+dfsg-18 [2018/04/22] for x86_64 Copyright (c) 1993-2017 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling 56.pas 56.pas(5,23) Error: Wrong number of parameters specified for call to "random" 56.pas(2,11) Error: Found declaration: random(SmallInt;SmallInt;SmallInt;var SmallInt); 56.pas(6,23) Error: Wrong number of parameters specified for call to "random" 56.pas(2,11) Error: Found declaration: random(SmallInt;SmallInt;SmallInt;var SmallInt); 56.pas(7,23) Error: Wrong number of parameters specified for call to "random" 56.pas(2,11) Error: Found declaration: random(SmallInt;SmallInt;SmallInt;var SmallInt); 56.pas(8,23) Error: Wrong number of parameters specified for call to "random" 56.pas(2,11) Error: Found declaration: random(SmallInt;SmallInt;SmallInt;var SmallInt); 56.pas(9,23) Error: Wrong number of parameters specified for call to "random" 56.pas(2,11) Error: Found declaration: random(SmallInt;SmallInt;SmallInt;var SmallInt); 56.pas(10,23) Error: Wrong number of parameters specified for call to "random" 56.pas(2,11) Error: Found declaration: random(SmallInt;SmallInt;SmallInt;var SmallInt); 56.pas(12,23) Error: Wrong number of parameters specified for call to "random" 56.pas(2,11) Error: Found declaration: random(SmallInt;SmallInt;SmallInt;var SmallInt); 56.pas(13,23) Error: Wrong number of parameters specified for call to "random" 56.pas(2,11) Error: Found declaration: random(SmallInt;SmallInt;SmallInt;var SmallInt); 56.pas(82) Fatal: There were 16 errors compiling module, stopping Fatal: Compilation aborted Error: /usr/bin/ppcx64 returned an error exitcode Сборка завершилась с ошибкой.
0
|
|
08.06.2018, 08:53 | |
Ответы с готовыми решениями:
1
Поиск в ширину: Wrong number of procedure parameters Метод Гаусса и ошибка Wrong number of parametres specified for call to 'ff'
|
![]() 6806 / 4565 / 4817
Регистрация: 05.06.2014
Сообщений: 22,438
|
||||||
08.06.2018, 09:09 | 2 | |||||
0
|
08.06.2018, 09:09 | |
Помогаю со студенческими работами здесь
2
Ошибка "Error: Wrong number of parameters specified for call to "FloatToStrF"" Error. number-53, File not found: vba6.dll. String shell "call.exe"
[Error] Unit1.pas(43): Declaration expected but end of file found Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |