int til char. hvordan?
#include <cstdlib>#include <iostream>
int count = 2;
main ()
{
do
{
char *s1 = "ping 10.0.1.";
char buf[100];
strcpy(buf, s1);
strcat(buf, count);
system(buf);
count ++;
}while(count != 4);
return 0;
}
BEC Financial Technologies
Product owner (senior) - Data & Analytics
Netcompany A/S
Microsoft Operations Engineer
KMD A/S
EDI Specialist til KMD Connect| I dag 08:56 | søgning Af Malm i Windows |
| I går 21:10 | Gøre Billeder og Tegninger større (Linux Mint) Af Ikke-ekspert i Linux |
| I går 15:17 | Vurdering af min Gamer Pc Af Oliver i PC |
| I går 10:32 | Google Chrome søge tyske websteder Af nu_igen i Browsere |
| 06/0315:45 | vise ikoner med billede af indhold i videofilrt og billedfiler Af Malm i Windows |
Konica Minolta
Konica Minolta