분류 전체보기 (29) 썸네일형 리스트형 [C] visual studio gets( ) error Visual studio 에서 buffer overflow 를 방지하기 위해 gets() 사용이 불가하다. 사용하고 싶다면 Project 우클릭 후 속성(properties) 의 옵션을 변경하자. 속성(properties) - 구성 속성(Configuration properties) - C/C++ - 고급(advanced) - compile option - change Compile As value to Compile as C Code (/TC) stackoverflow.com/questions/32283650/gets-function-is-not-available-in-visual-studio-2015-community [C] Error "const char *" 형식의 값을 사용하여 "char *" 형식의 엔터티를 초기화할 수 없습니다. visual studio 2017 version Error "const char *" 형식의 값을 사용하여 "char *" 형식의 엔터티를 초기화할 수 없습니다. 속성에서 준수모드를 '아니오'로 바꿔주면 된다. 출처 shjz.tistory.com/49 [Error, VS] "const char *" 형식의 값을 사용하여 "char *" 형식의 엔터티를 초기화할 수 없습니다. 1 char* window_name = "Threshold Demo"; cs 위와 같은 코드가 비주얼 스튜디오 2015에서는 잘 되는데 2017부터는 오류가 발생한다. 해결책은 1. 아래와 같이 const를 붙이거나 1 const char* window_name .. shjz.tistory.com [Matlab] Excel 열 데이터 matlab 가져오기 technical-support.tistory.com/35 1. (Matlab) 알아두면 유용한 매트랩, 그래프 생성 안녕하세요! 매트랩을 처음 시작하다가 그래프를 배웠었는데 굉장히 유용하다고 생각이 되어서 블로그에 적어보게 되었습니다! 부족하지만 잘봐주세요 ㅎㅎ 사실 매트랩을 처음 공부하시는 분 technical-support.tistory.com [arduino] 16진수 10진수 0xFE 0xAA 0xFE : 15 * 16 + 14 = 254 0xAA : 170 packet tail fixed value 0x04 : 4 16진수 10진수 2진수 표 dojang.io/mod/page/view.php?id=742 미니옵티컬플로우센서 front.wemakeprice.com/product/433874446?utm_source=google_ss&utm_medium=cpc&utm_campaign=r_sa (packet head fixed value oxfe-0x04, packet tail fixed value OxAA, summation =4byte optical stream data summation) [C++] 배열 초기화 { 0, } 자료형 배열이름[크기] = { 0, }; int numArr[10] = { 0, }; // 배열의 요소를 모두 0으로 초기화 int unmArr[10] = {}; 이랑 동일 dojang.io/mod/page/view.php?id=294 [열혈 C] 6.1 printf 특수문자 \n 특수문자 , 이스케이프 시퀀스(escape sequence) ex) \n : 개 행(new line) \t : 수평 탭 \' : 작은 따옴표 출력 \\ : 역슬래쉬 출력 %x(16진수), %o(8진수), %u : 음의 정수 출력 x only 0 & + github 블로그 글쓰기 ansohxxn.github.io/blog/posting/ [열혈 C] 5.4 형 변환 연산자(type casting operator) 형 변환 연산자(type casting operator) # include int main(void) { int num1 = 3, num2 = 4; double num = num1 / num2; double numm = (double)num1 / num2; // (double) : 형 변환 연산자 printf("%f %f", num, numm); } 이전 1 2 3 4 다음