Skip to content

Instantly share code, notes, and snippets.

View AndersonChoi's full-sized avatar
🇰🇷
안녕하세요

AndersonChoi AndersonChoi

🇰🇷
안녕하세요
View GitHub Profile
package KoreanChessGame;
/*
* ## �ؾ����� list
* 1. dafdasfa
* 2/dsfaasd
*
* ## ���� �����ϴ� �߰��ؾ��Ұ�
* # �ֿ���
*
package KoreanChessGame;
public class JanggiBoard {
private int[][] janggiBoard;
JanggiBoard(){
janggiBoard = initializeJangGiBoard();
}
#define N_REST 0
#define N_B0 31
#define N_C1 33
#define N_CS1 35
#define N_D1 37
#define N_DS1 39
#define N_E1 41
#define N_F1 44
#define N_FS1 46
#define N_G1 49
#define N_REST 0
#define N_B0 31
#define N_C1 33
#define N_CS1 35
#define N_D1 37
#define N_DS1 39
#define N_E1 41
#define N_F1 44
#define N_FS1 46
#define N_G1 49
starwars melody
http://courses.ischool.berkeley.edu/i262/s13/content/mariespliid/lab-5-star-wars-song-selector
=================
#define c3 7634
#define d3 6803
#define e3 6061
#define f3 5714
#define g3 5102
class HelloWorldApp {
public static void main(String[] args) {
int a=0;
int b=1;
int c=2;
if(a==b)
{
System.out.println("a equal b");
}
class HelloWorldApp {
public static void main(String[] args) {
int count=0;
for(;;){
count++;
if(count==10)
break;
}
}
Class HelloWorldApp {
public static void main(String[] args) {
int X=123;
int SUM=X+24;
string r = Integer.parseInt(X);
System.out.println(r);
}
}
Class HelloWorldApp {
public static void main(String[] args) {
int a=124;
String b=""+a
}
}
Class HelloWorldApp {
public static void main(String[] args) {
int X=123;
int SUM=X+24;
String r1 = Integer.toString(SUM);
//or
String r2 = String.valueOf(SUM);
System.out.println(r1);