KC,
Great, better late than never....another winner!!!
So simple when you know how. I was just a couple chars away.
Hate when that happens.
Many thanks; have a great Thanksgiving,
Bob
Type: Posts; User: bobv
KC,
Great, better late than never....another winner!!!
So simple when you know how. I was just a couple chars away.
Hate when that happens.
Many thanks; have a great Thanksgiving,
Bob
Anduril,
Most Excellent! I tried your first example "input+4" but didn't use a "**" I just used a single '*', no wonder it didn't work. What you say makes perfect sense too I needed to specify a...
Thanks guys I think this is what I was looking for. Touche to both of you!!
Anduril,
I'm not trying to change the contents of a string or other value. I'm trying to pass back a pointer to the 4th char (&str+4) in the string w/o using the return statement.
Thanks for...
Tater,
Good suggestions. I'll try and put something together using these functions.
Bob
anduril462, Thanks for your reply. I understand your code however this is not the problem I'm trying to solve. I'm trying to pass a string address (pointer) back through a member in the function...
CommonTater,
Thanks for taking the time to put this together. Very nice solution but only if you can be assured the format of the input string is correct. Unfortunately I can't, as I said above...
Any example? When you know how everything seems easy, but if you don't well... I know it's a u32 and what the values are but getting it there is another story, at leaset for me. The fact that the...
Thanks you all for your help.
The example I gave is not what I'm trying to do, just a simplified example of the problem. I
'm trying to break up the user inputed IP address (ex: 192.16.1.10)...
If that's the only way then I wil try that. BTW, what viz?
I used to do a lot of C coding back in the Kernighan & Ritchie days and swear I did this ... just can't seem to remember how and it's...
I know how to use return to pass back a value and/or a pointer but would like to do both.
//EX: Not sure I declared ptrStrgPlus4 correctly to have it be
// a pointer to strg+4 (ie '.') on...