일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Notting hill
- codecademy
- cow
- dictation
- bool
- Project
- if
- Euler
- 파이선
- Unreal
- html5
- Bull
- endl
- Polymorphism
- python
- 알고리즘
- Java
- 파이썬
- for
- UE4
- CSS
- 연결리스트
- 영알남
- unreal engine4
- C++
- 코딩도장
- std
- cout
- font weight
- html
- Today
- Total
목록Programming/기타 언어들 (28)
#pragma once#include "FBullCowGame.h"#include #define TMap std::map using int32 = int; FBullCowGame::FBullCowGame() { Reset(); } int32 FBullCowGame::GetCurrentTry() const { return MyCurrentTry; }int32 FBullCowGame::GetHiddenWordLength() const{return MyHiddenWord.length();}bool FBullCowGame::IsGameWon() const{return bGameIsWon;} int32 FBullCowGame::GetMaxTries() const { TMap WordLengthToMaxTries{..
#pragma once#include using FString = std::string;using int32 = int; struct FBullCowCount {int32 Bulls = 0;int32 Cows = 0;}; enum class EWordStatus {Invalid_Status,OK,Not_Isogram,Wrong_Length,Not_Lowercase}; class FBullCowGame {public:FBullCowGame(); // constructor int32 GetMaxTries() const;int32 GetCurrentTry() const;int32 GetHiddenWordLength() const;bool IsGameWon() const;void Reset(); // TODO ..
콜리전 반응과 충돌이벤트 콜리전이 겹칠때 반응은 Block(막음), Overlap(통과), Ignore(무시) 가 있다. Block은 벽에 부딪치는 공과 같이 공이 지나가지 못하도록 벽이 가로막는 상태이며, Overlap은 총알이 사과와 충돌하는 경우 총알이 사과를 뚫고 지나가도록 통과를 허용하는 상태이다. 콜리전의 반응을 무시로 설정하면 충돌 이벤트가 발생하지 않는다. *종류 Block+Block Hit이벤트 Block+Overlap Overlap이벤트 Overlap+Overlap Overlap이벤트 Block+Ignore 이벤트 없음 Overlap+Ignore 이벤트 없음 --->충돌을 하려면 양쪽 모두 Simulation Generates Hit Events 나 Generate Overlap Eve..
#include "Engineminimal.h"or#include "CoreMinimal.h" #include "Engine.h" 위에 두 개 중 하나를 밑에 껄로 바꿔주면 인식이 된다!
오브젝트 누른 상태에서 F : 오브젝트 시점으로 이동오브젝트 여러개 선택한 상태에서 G : 그룹화시키기오브젝트 + shift 한 상태에서 움직이기 : 시점,위치 동시에 이동
코어 데이터 유형정수형정수 데이터 유형의 규칙은 "int" 나 "unit" 뒤에 크기를 비트 단위로 붙이는 것입니다.변수 유형설명uint88-bit unsigneduint1616-bit unsigneduint3232-bit unsigneduint6464-bit unsignedint88-bit signedint1616-bit signedint3232-bit signedint6464-bit signed부동 소수점 유형언리얼은 표준 C++ 부동 소수점 유형인 float 와 double 을 사용합니다.불리언 유형불리언 유형은 C++ bool 키워드 또는 비트 필드로 나타낼 수 있습니다.uint32 bIsHungry : 1; bool bIsThirsty;스트링언리얼은 세 가지 핵심 유형의 스트링을 지원합니다.FS..
Queue.h 파일 #includeusing namespace std; class Node {Node* link;int data;public:Node(int val = 0) :data(val), link(NULL) {}Node* getLink() { return link; }void setLink(Node* next) { link = next; }void display() { cout setLink(p);rear = p;}} Node* dequeue() {if (isEmpty()) return NULL;Node* p = front;front = front->getLink();if (front == NULL)rear = NULL;return p;} Node* peek() { return front; }vo..
Student.h 파일 #include #include#include#includeusing namespace std; const int MAX_STRING = 100; class Student {int id;char name[MAX_STRING];char dept[MAX_STRING];public:Student(int i = 0, char* n = "", char* d = ""){set(i, n, d);}void set(int i, char* n, char* d) {id = i;strcpy_s(name, n);strcpy_s(dept, d);}void display() {cout
랜덤함수 - 난수 생성 필요 라이브러리 , N~(M+N-1)까지의 난수 생성하기srand((unsigned int)time(NULL));rand() % M + N 1~100까지의 난수 생성하기srand((unsigned int)time(NULL));rand() % 100 + 1
cout