Development(7985)
-
Ex14-3차원 배열
3차원 배열 [면][행][열]로 구성 소스코드 #include int main(void) { int i,j,k; int array[3][3][3]={ {1,2,3,4,5,6,7,8,9}, {10,11,12,13,14,15,16,17,18}, {19,20,21,22,23,24,25,26,27} }; for(i=0; i
-
Ex11-2차원 배열 선언 과 동시에 데이터 저장(초기화)
2차원 배열 선언 과 동시에 데이터 저장(초기화) int aray1[4][3]int array2[4][3] 소스코드 #include int main(void) { // 2차원 배열 선언 과 동시에 데이터 저장(초기화) int array1[4][3]={1,2,3,4,5,6,7,8,9,10,11,12}; int array2[4][3]={1,2,3,4,5}; //데이터가 없으면 0으로 초기화됩니다. // 2차원 배열 array1의 데이터 출력 printf("%d %d %d \n",array1[0][0], array1[0][1], array1[0][2]); // 0행 출력 printf("%d %d %d \n",array1[1][0], array1[1][1], array1[1][2]); // 1행 출력 print..
-
MeshLab 다운로드 - download
MeshLab 다운로드 http://meshlab.sourceforge.net/ Download Latest Version 클릭
-
Leonardo - unboxing
-
변수의 종류와 범위
변수의 종류와 범위 지역 변수(Local Variable) http://codedragon.tistory.com/2017 전역 변수(Global Variable) http://codedragon.tistory.com/2021 정적 변수(Static Variable) http://codedragon.tistory.com/2023 외부 변수(Extern Variable) http://codedragon.tistory.com/2027 레지스터 변수(Register Variable) http://codedragon.tistory.com/2039
-
ConsoleInputEx03-Scanner클래스의 다양한 메소드 사용
Scanner클래스의 다양한 메소드 사용 소스코드 import java.util.Scanner; public class ConsoleInputEx03 { public static void main(String[] args) { Scanner keyboard=new Scanner(System.in); System.out.print("당신의 이름은? "); String str=keyboard.nextLine(); System.out.println("안녕하세요 "+str+'님'); System.out.print("당신은 잘 생겼다고 생각하십니까, 예(true)/아니오(false)? "); boolean isTrue=keyboard.nextBoolean(); if(isTrue==true) System.out.p..