블로그
-
기출문제 2016년 풀이
int main1(); int main2(); int main3(); int main4(); int main5(); int main6(); int main() { int what = 0; (what == 4) main4(); if (what == 5) main5(); return 0; } int main1() { int feet; float meter, inch;
blog.naver.com · 2017.04.21
-
[ C언어 ][소스코드] 2중 for문을 사용해 *삼각형 그리기
#include int main(){ int column = 5; int row = column; //1.우측 삼각형 for (int i = 1; i 0; j--) { printf (" "); } for (int k = 0; k < i; k++) { printf("*"); } printf("\n"); } return 0;} Colored by Color
blog.naver.com · 2017.03.16
-
[영진전문대학 컴퓨터정보게열] 안드로이드 실습
amp; (index < _Bitmaps.length)) { return _Bitmaps[index]; } else { return null; } } public Bitmap getNextBitmap() { nextIndex ++; if(nextIndex >= getCount()) nextIndex = 0 ; return getBitmap(nextIndex
blog.naver.com · 2016.11.28
-
C언어 #3장. 변수와 연산자
val1==val2); // 10은 12와 같은가 result2=(val1val2); // 10은 12보다 큰가 printf("result1 : %d \n", result1); // 0 printf("result2 : %d \n", result2); // 1 printf("result3 : %d \n", result3); // 0 return 0; } #논리연산자
blog.naver.com · 2017.01.08
-
정규식
[0-9a-zA-Z])*@[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*\. 1|6|7|8|9]?)
blog.naver.com · 2017.01.10
-
[영진전문대학 컴퓨터정보계열] 안드로이드 실습
_Instance; // } private static long _oldTick = 0; private static final long _BULLETINVERAL=500; private int _direction = 1; public int getDirection() { return _direction; } public void setDirection(int _direction
blog.naver.com · 2016.11.28
-
[영진전문대학 컴퓨터정보계열] 안드로이드 실습
static ResourceSound _Instance = new ResourceSound(); public static ResourceSound getInstance(){ return ; private int _Fire = -1; private int _Boom = -1; private int _Game = -1; private int _Jump = -1; public
blog.naver.com · 2016.11.28
-
[JavaScript] date format 날짜 포맷
(i++ < len) { s += this; } return s;};String.prototype.zf = function(len){return "0".string(len - this; return f.replace(/(yyyy|yy|MM|dd|E|hh|mm|ss|a\/p)/gi, function($1) { switch ($1) { case "yyyy"
blog.naver.com · 2016.07.12
-
[codeup] 1362 : 숫자 피라미드3 (완료)
입력: 5 출력: 6 5 4 3 2 1 #include int top; int sum, jump=1; int factorial(int N){ if(N>0) {sum+=N; factorial(N-1);} else return sum; } int main(){ scanf("%d", &top); sum = factorial(top); for(int
blog.naver.com · 2016.07.15
-
buf_over.c
= 2){ printf("usage : buf_over data\n"); exit(-1); } strcpy(buffer, argv[1]); printf("size of %d \n", sizeof(argv[1])); printf("strlen %d \n", strlen(argv[1])); return 0; }
blog.naver.com · 2016.05.01