일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- qt프로그래밍
- 유니티 입문
- qt개발
- python
- qt튜토리얼
- rendermonkey
- 유니티 게임개발
- xml쓰기
- 유니티
- IMGUI
- 파이썬
- c#
- C++
- uidesign
- 게임만들기
- Unity
- 이득우언리얼
- 화살표 메서드
- 게임
- 게임개발 독학
- 2d게임개발
- 비주얼스튜디오
- c++class
- tinyxml2
- visualstudio2022
- 공부
- 게임개발
- 언리얼
- 화살피하기
- premake5
- Today
- Total
목록C# (27)
신입 개발자 공부 과정
36.메서드 오버로딩 다양성을 구현하는 방법 중 하나로 동일한 이름을 가진 여러 메서드를 정의 하는 것 오버로딩 방법=-매개변수의 수 변경 public void Add(int a, int b) {} public void Add(int a, int b, int c) {} -다른 타입의 매개변수 사용 public void Add(int a, int b) {} public void Add(float a, int b) {} public void Add(float a, float b) {} -서로 다른 타입의 매개변수 순서 변경 public void Add(float a, int b) {} public void Add(int a, float b) {} **단, 반환 타입(void, int, float)이 다른 매..

Q1 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Inventory3 { class Program { static void Main(string[] args) { Inventory inventory = new Inventory(); //Item item0 = new Item("장검"); //Item item1 = new Item("단검"); //Item item1 = new Item("단검"); //Item item1 = new Item("단검"); //Item item1 = new Item("단검"); //Item item1..

메서드 배열 하고 매개변수 Q1. 스타크래프트 부대지정 마린 3마리를 생성한다 각 마린의 이름은 고유하다 ex)홍길동, 임꺽정, 장길산 ... 마린 3마리를 부대지정한다 부대 지정한 마린 3마리의 이름을 출력한다 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace starcraft { class Program { static void Main(string[] args) { Marine marine1 = new Marine("홍길동"); Marine marine2 = new Marine("철수철수"); Marine marine3 = n..

Q1. item --- name --- Item item1 = new Item("장검") COnsole.WriteLine(item1.name); //장검 A1. Program using System; namespace _1229class { class Program { static void Main(string[] args) { Item item1 = new Item("장검"); Console.WriteLine(item1.name); //아이템 '장검' 생성 되었습니다. } } } Item using System; using System.Collections.Generic; using System.Text; namespace _1229class { class Item { public string name..

아는 것들 공부해야될것들 ----------------- 01.Introduction 02.Hello, World! 03.코드작성시 주의사항 04.Main 메서드 05.변수와 값 06.데이터 타입 int, float, string 07.데이터 타입 bool, char, object 08.주석 09.컴파일과 빌드 10.오류와 디버깅 11.var키워드 -obj와 var의 차이? 12.상수 const - 변하지 않는 값 13.열거형식 enum 14.형식 변환 15.문자열 보간 16.값형식, 참조형식 -stack: 나중에 넣은 데이터를 가장 먼저 꺼내는 구조 ex) int, float, char, bool, enum. //스택에 값이 직접 저장되는 형식: 값형식 -hip: 임의적 순서로 저장 ex) string..

-다차원 배열과 가변배열 Jagged Array and Adjustable Array array of different element size ex) x x x x x x x x x creat instants of Adjustable Array= new int[3][]; Announce to Adjustable Array variables= int[][]arr = new int[3][]; arr null null null to use Adj Array, initilize elements first. ex) arr[0] = new int[3]; arr[1] = new int[2]; arr[2] = new int[4]; or arr[0] = new int[ ] {1,3,5}; //first column ..