본문 바로가기

etc.

[Web3] Web2와 Web3, 그리고 블록체인 Web2 와 Web3 란? Web2는 HTML 문서의 정보 전달이 주로 이루어지는 Web1에서 더 나아가게 된다 인터넷이 저렴해지고 보편화되면서, World Wide Web을 사이트로 만들어 기반을 만들고 페이스북, 유투브, 트위터 등과 같은 소셜 미디어 사이트가 시작되었다 인터넷 케이블 또한 발전하여 인터넷 속도가 빨라지고 다양한 컨텐츠들이 보편화되며 진화가 진행되고 있다 (참고하면 좋을 글: https://velog.io/@teo/frontend) Web3는 인공지능과 같은 지능형 컴퓨터 응용 프로그램을 기반으로 한다 다양한 탈중앙화 프로토콜의 대중화가 시작되는 것이 가장 큰 특징이 될 것이다 안전한 데이터 기반 인터페이스가 대두되어 만들어 갈 것이고, 블록체인, 메타 유니버스 및 시멘틱 웹을 사용하.. 더보기
[Github][ESLint][Husky] Casing of ~ does not match the underlying filesystem import/no-unresolved 에러 Casing of ~ does not match the underlying filesystem import/no-unresolved 이라는 알 수 없는 에러로 한참을 고생했다 https://danieljscheufler.wordpress.com/2018/06/12/til-how-to-resolve-false-positive-eslint-errors/ TIL… How to Resolve false-positive ESLint Errors So a colleague of mine was struggling with our local build process. Every time he ran the npm command, which ran a webpack build, He’d get numerous erro.. 더보기
[C++] virtual 과 오버라이딩 Kim is a freshman Score is 80 흔히 아는 것처럼 main문에서 실행되는 PrintScore(), PrintStudent() 함수는 각각 CollegeStudent, Freshman 자식 클래스에서 함수가 오버라이딩 되어 출력문이 바뀌어 출력된다. Kim is a student; Lee is a freshman; Park is a sophomore; Kim is a student; Lee is a student; Park is a student; 이 문제는 오버라이딩의 문제가 아니다 main문에서 각각의 class에서 Print()의 함수를 호출한다 Print()는 Freshman, Sophomore 클래스에서 오버라이딩 한 함수가 아닌 Student 클래스의 함수이다 Print().. 더보기
[C] 랜덤 난수 && 파일 읽어오기 랜덤 난수 생성 #include // ~ srand((unsigned int)time(NULL)); int loc = ( rand() % (r - p) ) + p; // p ~ r // ~ txt 파일 읽어오기 int ReadData(int A[], char FileName[]) { FILE *fp; fp = fopen(FileName, "r"); int i = 0; while(!feof(fp)) { fscanf(fp,"%d", &A[i]); i++; } fclose(fp); return i; } int main() { int SIZE; int A[MAX_SIZE]; //100 SIZE=ReadData(A, "input.txt"); } 더보기
[Code Blocks] undefined reference to 'WinMain' error: ID returned 1 exit status 에러 조교 수업 중에 한 학생이 에러 질문을 하였다 undefined reference to 'WinMain' error: ID returned 1 exit status 파일 생성상의 문제도 없었고, 코드에 문제도 없었다 열심히 찾다가 다행히 레퍼런스를 찾아 해결하였다 .. https://stackoverflow.com/questions/21500724/c-undefined-reference-to-winmain16-codeblocks Code Block의 Setting - Compiler 탭에 들어간다 다음 Build options 탭에서 다음과 같이 Explicitly add currently compiling file's directory to compiler search dirs 체크 OK 누른 후 컴파.. 더보기