일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 28 | 29 | 30 |
31 |
- 안드로이드
- swift baekjoon
- 버블정렬
- android java
- IOS
- Firebase
- Swift
- Android
- 플러터
- 커스텀팝업
- 예외처리
- customPopup
- 보호와 보안
- deeplink
- label
- 준코딩
- storyboard
- 백준
- Android Studio
- BAEKJOON
- 링크드리스트
- FLUTTER
- text to speech
- 안드로이드스튜디오
- TextField
- Xcode
- C언어
- 자바
- xocde
- 연결리스트
- Today
- Total
목록전체 글 (142)
준코딩
package algorithm; class CloneArray { public static void main(String[]args) { int[] a = {1,2,3,4,5}; int[] b = a.clone(); b[3] = 0; System.out.print("a= "); for(int i=0; i
package algorithm; import java.util.Scanner; class Median { static int med3(int a, int b, int c) { if (a > b) if (b >= c) return b; else if (a c) return a; else if (b > c) return c; else return b; } public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); System.out.println("세 정수의 중앙값을 구합니다."); System.out.print("a의 값: "); int a = stdIn.nextInt(); System.out.print("b의 값: "..
package algorithm; import java.util.Scanner; public class Max { public static void main(String [] args) { Scanner scan = new Scanner(System.in); System.out.println("최대값 구하기"); System.out.print("A:"); int A = scan.nextInt(); System.out.print("B:"); int B = scan.nextInt(); System.out.print("C:"); int C = scan.nextInt(); int max = A; if(max
#include #include #include void swap(int*, int*);void stack(int*, int*);void bubbleSort(int[], int);int input_num(int *result, int form);void swap(int*num1, int*num2) {int temp;temp = *num2;*num2 = *num1;*num1 = temp;} void bubbleSort(int num[], int size) {int i, j;for (j = 0; j num[i + 1]) {swap(&num[i], &num[i + 1]);}}}} int input_..
import java.util.Scanner; public class BubbleSort { public static void main(String[] args) { int[] arr = new int[5];int num = 0;int i = 0; Scanner scan = new Scanner(System.in);System.out.println("공백입력불가");for (i = 0; i < arr.length; i++) {while (true) {System.out.print((i + 1) + "번째 숫자 입력: ");try {arr[i] = Integer.parseInt(scan.nextLine());} catch (NumberFormatException e) {System.out.println("..
1.int형 범위 숫자만 입력가능2. 공백입력 불가3. 10개의 숫자 입력 import java.util.Scanner; public class BubbleSort { public static void main(String[] args) { int[] arr = new int[10]; Scanner scan = new Scanner(System.in);System.out.println("공백입력불가");for (int i = 0; i < arr.length; i++) {while (true) {System.out.print((i + 1) + "번째 숫자 입력: ");try {arr[i] = Integer.parseInt(scan.nextLine());} catch (NumberFormatException..
TCP/IP : 컴퓨터간 통신을 위해서 나타났다. 컴퓨터와 컴퓨터간의 지역 네트워크(LAN) 혹은 광역네트워크(WAN)에서 원활한 통신을 가능하도록 하기 위한 통신규약으로 정의할 수 있다. TCP/IP 4계층 ●링크계층: 네트워크에 접속하는 하드웨어적인 면을 다룬다.(프로토콜: DSL, SONET, 802.11, Ethernet) ●인터넷계층: 구조 전체를 함께 유지할 수 있는 결합체의 역할을 한다. 호스트가 패킷을 임의의 네트워크로 전송할 수 있게 하고, 각각의 패킷이 독립적인 경로를 따라 목적지에 도착할 수 있게 한다.(프로토콜: IP, ICMP) ●트랜스포트계층: 인터넷계층의 바로 위에는 트랜스포트계층이 있다. 이 계층은 OSI 트랜스포트계층과 같이 송신측과 수신측 호스트상의 피어들이 대화를 나눌수..
연결형 서비스와 비연결형 서비스 -연결형 서비스: 전화망을 모델로 삼았다. 누군가와 통화하려면, 우리는 수화기를 들고 다이얼을 돌린 다음, 통화를하고 전화를 끊는다. 마찬가지로 연결형 네트워크 서비스를 이용하기 위해서는, 서비스 사용자는 연결을 설정하고 그 연결을 사용한 후 연결을 해제한다. -비연결형 서비스: 우편망을 모델로 삼았다. 각 메시지는 완전한 목적지 주소를 가지고 있고, 메시지의 각 부분은 모든 다음 메시지의 다른 부분들과 전혀 상관없이 시스템 내부의 중앙노드를 통해 경로가 지정된다. 데이터그램 서비스라고도 한다. 서비스 프리미티브-서비스는 이에 접근 할 수 있는 사용자 프로세스들이 이용할 수 있는 일련의 프리미티브들에 의해 공식적으로 지정된다. 프리미티브는 각 서비스에 어떤 작업수행을 요청..