일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- AddRange
- 네트워크
- DP
- c#
- list
- BFS
- 호스트
- IP주소
- List 제거
- C# Find
- Visual Studio
- List 정렬
- Tostring 사용법
- 서브넷 마스크
- Parse 사용법
- 호스트 주소
- 네트워크 용어
- 기본 게이트웨이
- List 찾기
- TCP/IP
- C++
- 알고리즘
- List 추가
- 백준
- list 사용법
- 서브넷
- C# Contains
- InsertRange
- c# list
- OSI 3계층
- Today
- Total
목록2023/07 (22)
CodeLabs

using System; class Program { static int n = int.Parse(Console.ReadLine()); static int[] result = new int[1000001]; static void Main(string[] args) { result[1] = 0; for(int i=2; i

1. Add static void Main(string[] args) { List i_list = new List(); i_list.Add(100); i_list.Add(200); for(int i=0; i

using System; using System.Collections.Generic; using System.Linq; namespace _1260 { class Program { static int n, m, v; static int[] visited = new int[1001]; static int[,] arr = new int[1001, 1001]; static void DPS(int v) { Console.Write(v + " "); visited[v] = 1; for(int i=1; i

1. 문자열 -> 정수 static void Main(string[] args) { string str = "10"; int num = int.Parse(str); Console.WriteLine($"int num = {num}"); } 2. 문자열 -> 실수 static void Main(string[] args) { string str = "10"; float num = float.Parse(str); double num2 = double.Parse(str); Console.WriteLine($"float num = {num}"); Console.WriteLine($"double num = {num2}"); } 3. 정수 -> 문자열 static void Main(string[] args) { int..

using System; using System.Linq; namespace _1012 { class Program { static int t, cnt; static int[] dy = { 0, 1, 0, -1 }, dx = { -1, 0, 1, 0 }, input; static bool[,] vi; static int[,] map; static void DFS(int i, int j) { vi[i, j] = true; for (int k = 0; k < 4; k++) { int newX = i + dx[k]; int newY = j + dy[k]; if (0

( 솔루션 우클릭 - 파일 탐색기에서 폴더 열기 - 프로젝트 이름으로 된 폴더로 이동 - 파일 생성 ) #include #include // ifstream, ofstream #include // getline using namespace std; int main() { string inputFileName = "읽기 파일.txt"; string outputFileName = "쓰기 파일.txt"; // 파일이름.txt (확장자까지) ifstream inputFile(inputFileName); ofstream outputFile(outputFileName); // 파일이 제대로 열렸는지 확인하는 작업 if (!inputFile.is_open()) { cout