EXE 파일의 생성
1. 컴퓨터는 네이티브 코드만 실행할 수 있다 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 #include #include int add(int a, int b); int main() { int a = 5, b = 9; char buffer[20]; char title[] = "Add"; sprintf_s(buffer, sizeof buffer, "%d + %d = %d", a, b, add(a, b)); MessageBox(NULL, buffer, title, MB_OK); return 0; } int add(int a, int b) { return (a + b); } Colored by Color Scripter cs 위와 같이 특정 프로그래밍..
[Project Euler] Problem 011
(Java)1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677package q001_q025; public class Problem011 { private static int[][] SQUARE = { { 8, 2,22,97,38,15, 0,40, 0,75, 4, 5, 7,78,52,12,50,77,91, 8}, {49,49,99,40,17,81,18,57,60,87,17,40,98,43,69,48, 4,56,62, 0}, {81,49,31,73,55,79,14,29,93,71,40,67,53,88..