В моем консольном приложении есть 2 файла:
Program.h
Код: Выделить всё
int Add(int x, int b);
Код: Выделить всё
#include
int Add(int x, int b)
{
return x * b;
}
int main()
{
int x = 4;
int y = 5;
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79340166/how-to-test-a-c-console-program[/url]
Мобильная версия