No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello. I am developing a class manipulater in which I add and delete some fields and methods. I have a main class which is connected to GUI. Whenever I change a class, I have to restart the GUI in order to get the changes applied. I would like to gently … |
|
Hi everyone. I have a very simple question about converting strings(in hex) into signed integer number. I use strtol, but it does not work at all. char code[]="FFFFFFFF"; int m; m=strtol(code,NULL,16); printf("%d\n",m); but the result is not -1 How can I manage this in C? Best regards. |
|
Hi, i am working on a project that involves converting 8-bit hex numbers into integer. Firt, I have to say that my hex number is not a number right now, it is only a bunch of characters. for example: int d; char code[9]; code="FFFFFF01"; d=strtol(code,NULL,16); when I try to printf … |