'프로그래밍'에 해당되는 글 3건
- 2017.04.05 거리 / 고도를 알고있을때 Elevation 구하기
- 2016.09.26 C++) Byte to Hex String 변환
- 2016.01.12 [WinForm&WPF] 버튼 이벤트 발생 시키기
2016. 9. 26. 21:13
Something like this could be useful:
char str[] = "0x1800785";
int num;
sscanf(str, "%x", &num);
printf("0x%x %i\n", num, num);
Read man sscanf
http://stackoverflow.com/questions/14050452/how-to-convert-byte-array-to-hex-string-in-visual-c
스택 오버플로우에서 발췌한 글입니다.
2016. 1. 12. 17:10
WPF
button1.RaiseEvent(new RoutedEventArgs(Button.ClickEvent, button1));
WinForm
button1.PerformClick();