Hi,
I wanted to search an element (char) in the list S, but everytime it said that 02x is not in S
How to declare char input "target" in a manner way? i think the declaration is my mistake for this code. Im stucking on this. ^^
[/QUOTE]
3 replies to this topic
#1
Posted 09 November 2011 - 05:44 AM
|
|
|
#2
Posted 09 November 2011 - 07:14 AM
You need to move "return found'" out of your while loop.
#3
Posted 09 November 2011 - 07:40 AM
Still error ,
I think the error comes from VoidPtr target , but i am not sure how to fix..
I think the error comes from VoidPtr target , but i am not sure how to fix..
#4
Posted 09 November 2011 - 08:39 AM
What is your input?
What is your output?
What is your expected output?
Where's the rest of your code? For example, I have no idea what data types you're dealing with.
What is your output?
What is your expected output?
Where's the rest of your code? For example, I have no idea what data types you're dealing with.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









