Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~7K People Reached
Favorite Forums
Favorite Tags
c x 2
java x 1

3 Posted Topics

Member Avatar for hoke

Using \x I can specify hexadecimal numbers in strings in C, but if I put \x00 then it interprets it as an instruction to terminate the string. As a result I can't express a hexadecimal number with 00 in it using a string! Is there some way around this?

Member Avatar for Ancient Dragon
0
629
Member Avatar for kahaj

I think your problem is that you are using '==' when you need to use '='. a == b means true if a is the same as b whereas a = b means assign the value of b to a. So try replacing Scanner input == new Scanner(System.in); with Scanner …

Member Avatar for javaAddict
0
122
Member Avatar for hoke

Hullo. I would be very nearly eternally grateful if someone would explain how to convert a void pointer's target (eg 0xda9f000) into a string in C. Both my own brain and google have failed me on this one. I can do this in printf using the wonderfully inelegant line: printf("Value:'%p' …

Member Avatar for Nathan Campos
0
6K

The End.