This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package KoreanChessGame; | |
/* | |
* ## �ؾ����� list | |
* 1. dafdasfa | |
* 2/dsfaasd | |
* | |
* ## ���� �����ϴ� �߰��ؾ��Ұ� | |
* # �ֿ��� | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package KoreanChessGame; | |
public class JanggiBoard { | |
private int[][] janggiBoard; | |
JanggiBoard(){ | |
janggiBoard = initializeJangGiBoard(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HelloWorldApp { | |
public static void main(String[] args) { | |
int count=0; | |
for(;;){ | |
count++; | |
if(count==10) | |
break; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class HelloWorldApp { | |
public static void main(String[] args) { | |
int X=123; | |
int SUM=X+24; | |
string r = Integer.parseInt(X); | |
System.out.println(r); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class HelloWorldApp { | |
public static void main(String[] args) { | |
int a=124; | |
String b=""+a | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
OlderNewer