Thanks for your help std10093, I have managed to get my program to do what I want it to do. Thanks all.
Type: Posts; User: SDH
Thanks for your help std10093, I have managed to get my program to do what I want it to do. Thanks all.
I think I am getting somewhere with my initial code and why it is not working.
I believe it has something to do with, for ( c = 0 ; c < n ; c++ ), because this requires c to be number right? but...
Yes it should be an array, but I am looking for it be an array of either a letter or number.
std10093 - I will have a look at doing the code and post it on here if it succesfull.
Would this work, make a statement which says that if count = 0 for all five, so count == count2 == count3 == count4 == count5, then from there adapt the linear search to search for up to five...
Thanks for the reply, I have not yet used or come across the function memcpy. Is there another way in which it would be possible, perhaps one that I may have used before or easy to learn.
Hello, thanks for looking at my thread. Is there a data type which can be either a number or letter. So you can input a character or number and it will treat then as the same and still carry out the...