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
~3K People Reached
Favorite Forums
Favorite Tags
c x 6
c++ x 5
java x 2
Member Avatar for Dave Sinkula

Many times [inlinecode]strtok[/inlinecode] is recommended for parsing a string; I don't care for [inlinecode]strtok[/inlinecode]. Why? [list][*]It modifies the incoming string, so it cannot be used with string literals or other constant strings. [*]The identity of the delimiting character is lost. [*]It uses a static buffer while parsing, so it's not …

Member Avatar for Aia
0
1K
Member Avatar for kokopo2

Hi, pple im interested to know how to put a drawn 'image', a combination of a circle and a line into another class? If i like to draw that 'image' in the void paint() method multiple times, e.g 10. How should i go about doing it? Below is a sample …

Member Avatar for kokopo2
0
99
Member Avatar for kokopo2

hi people, i am having some problems, perhaps understanding about how dynamic memory allocation works with pointers and arrays. Im trying to get the user to input the size of the string in my program and allocates a certain amount of memory to hold the string of the size. Next, …

Member Avatar for bumsfeld
0
101
Member Avatar for kokopo2

Hi guys, do any of u know how to extract a certain amount of bits from a parameter(instruction) and return the bits as a integer in a range . for example i would like to extract the opcode field i would extract from bits 31 to 26. but if i …

Member Avatar for Dave Sinkula
0
1K
Member Avatar for kokopo2

Hi pros and experts. I am experiencing some trouble in doing up a code which could evaluate the input into the different data types. What i managed to acheived is to read a file and its content. I used strtok to break the string into various 'tokens'. Now the problem …

Member Avatar for Dave Sinkula
0
428