Jumpepy's Blog

C/C++のコード書いてます。入門を終えたら脆弱性攻撃やマルウェア解析関連のコード書きます。

2011-12-28から1日間の記事一覧

Hello, world!を指定した回数出力 in C

#include <stdio.h> #include <string.h> int main() { char message[20]; int count, i; strcpy(message, "Hello, world!"); printf("何度繰り返しますか? "); scanf("%d", &count); for (i=0; i < count; i++) printf("%3d - %s\n", i+1, message); } 何度繰り返しますか? 1</string.h></stdio.h>…

December 28th

John von Neumann's birthday