IT/programming18 [C/C++] 음수에서 양수로 변환 예제 음수에서 양수로 변환 - 음수 -> 양수 변환 예제 1. 비트 반전 int a = -10; a = ~a + 1; printf(%d\n", a); 2. 음수 곱하기 int a = -10; a *= -1; printf("%d\n", a); 3. 변수 부호 int a = -10; printf("%d\n", -a); 2014. 12. 19. Base64 With OpenSSL C API OpenSSL has the ability to perform Base64 encodings and decodings. There seems to be many queries for working examples on how to use this functionality. Unfortunately, theexample on the OpenSSL site is quite obtuse, and every other example I have come accross does not work. So here is some working code. Enjoy! Get The Code You can download this entire gist here. It consists of the following file.. 2014. 7. 14. 이전 1 2 3 다음