일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- C++ library
- 자료구조
- C++ gui
- C언어
- a tour of go
- JUCE
- 프로그래밍
- JUCE library
- 코딩
- go
- OS
- JUCE 튜토리얼
- tour of go
- C++
- 연결리스트
- Docker
- c++ heap
- go channel
- 백준
- 리듬게임
- vim-go
- gui
- 공룡책
- JUCE라이브러리
- 운영체제
- Nebula
- 알고리즘
- C++ gui 라이브러리
- LOB
- BOJ
- Today
- Total
목록Programming (154)
CafeM0ca
this 포인터는 C++에서 클래스 내부에서 사용하는 포인터다. ‘this’ pointer is a constant pointer that holds the memory address of the current object. - this 포인터는 현재 객체의 메모리 주소를 갖고 있는 const 포인터다.‘this’ pointer is not available in static member functions as static member functions can be called without any object (with class name). - this 포인터는 static 멤버함수에서 사용할 수 없는데 static 멤버 함수는 어느 객체에서나 호출 될 수 있기 때문이다.+ static 멤버함수는 클..
smart pointer automatically managing memory a pointer . if out of scope range, It deleted. There are three types pointer in std namespace. - unique_ptr- shared_ptr- weak_ptr First unique_ptr code. 12345678910111213#include #include int main(){ // unique ptr std::unique_ptr ch = std::make_unique('c'); auto a = std::make_unique(1); std::cout
학교에서 강제로 자바프로젝트 당했다. 모카는 '자바'들어간 어떠한것든 싫어한다.. (ex : 자바스크립트, 자바 .. 등) 그래서 간단하게 할 수 있던것을 찾던 중 웹프로그래밍 프로젝트때 복수의 이미지의 속성을 열람해야할 일이 생겼다. 여기서 영감을 얻어 FileAttributesView를 생각했다. 시작하면은 심플하다. 현재 운영체제를 보여주고 프로그램이 지원하는 운영체제인지 알려준다. 확인하고싶은 파일(또는 디렉토리)의 경로를 입력한다. 두번째로 파일(또는 디렉토리)의 이름을 입력하면 크기와 생성일, 접근일 등 정보를 확인할 수 있다. https://github.com/jinykim0x80/SimpleFileAttributesViewer
12345678910111213141516171819202122232425262728293031323334353637#include #include #include class EvenSequence{ public: EvenSequence(std::initializer_list args) { if(args.size() % 2 != 0){ throw std::invalid_argument("initializer_list should " "contain even number of elements"); } mSequence.reserve(args.size()); for(auto value : args) { mSequence.push_back(value); } } void dump() const { for(aut..
JUCE 연습용으로 개발했다.https://github.com/CafeM0ca/Unifox_festival_cog
chain rule: y/w = f/s * s/w 에서 w값이 증가하면 y값도 증가하는 관계와 같은것.Back_propagation(역전파): 어떤 오류는 반대방향으로 접근하는것. 오류 E = 1/2 * (나오면하는 y값 - y)^2 뉴런이 하나일때랑 여러개일때랑 사용하는 역전파 알고리즘은 거의 동일함 The Gradient Descendent Method: w(가중치)와 e(에러)에서 w를 증가시켰을때 e값이 감소하는 값을 찾는것.
딥러닝 자료는 외국에 더 많다보니 영어 키워드같은거 외워두는게 도움됌 홍정모 교수님의 띵강의 영상 요약한 내용. Artificial Neural Network(인공신경망) : 많은 뉴런들이 이어져서 작동 -> 하나의 뉴런만 이해하면 나머지는 쉽다. 뉴런들은 input이 여러개일 수도 있고 bias(바이어스)의 값도 더해짐. 뉴런에서 input x로 들어온 값은 가중치 w랑 곱해지고 바이어스 b랑 더해지면 값이 된다.입력이 여러개면 각각의 x에대한 w를 곱하고 바이어스를 더하면 된다.( s = x1*w1 + x2*w2 + x3*w3 + b) 이렇게 합을 구하는 것을 Affine Sum이라고 한다. Activation Functions(활성화 함수)에는 3가지 종류가 주로 쓰인다- identity- ReLU..
std::list를 사용해 구현한 deque 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101#include #include #include using namespace std; template class Deque{private: list element;public: Deque(){} ~Deque(){} void push_front(T& elmnt) { element.push_front(elmnt); } v..
구현한거 맞겠지 O(n^2) 123456789101112131415161718192021222324252627282930313233#include #include #include using namespace std; void printVector(vector& v) { for(auto& i : v) cout
학교 과제로 C로 단일연결리스트 짰다.C++로 구현하면 제네릭 프로그래밍이 가능한데 C는 ... 무안하다. nullptr도 없고 소멸자도없고; 아무튼 링크드리스트의 크기를 명시해주면 삽입,삭제가 수월하다. 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301..