There is a program that after closing opens one window in dev-c ++ through the command
system("start http://google.ru ");
How to open more than one window through the condition for? Full noob, please help with this.
Moved from comment.
/* * Copyright © */ #include <stdio.h> #define PI 3.1415 main() { // cor do cmd (verde) system("color 2"); // variaveis decimais float circu, perim, raio, area; int i; if (circu <= 0) { printf("O numero que indicou esta invalido!"); } else { printf("Insira o diametro da circunferencia: "); scanf("%f", &circu); // ... } // pause system("PAUSE"); for (size_t i = 0, i < 100, ++i) { system("start http://google.ru "); } }
Gives an error, work in dev - c ++ (c)