This week's book giveaway is in the Cloud/Virtualization forum. We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line! See this thread for details.
I'm writing a class, which currently includes a search method for finding integer variables within a text file. I need to change this to find strings in the same text file. I've tried changing this method, but have had no luck so far. The current code for the search method is as follows,
The constructors for this class are currently,
Any advice or help on how to change the above search method to allow me to search for strings as well as integers much appreciated.
posted 12 years ago
I've managed to sort this one out by myself. I realised that the search method had nothing to actually search, and that was why Null was being returned. I therefore created an array of TitleList type in the main class, and allowed the search method access to the details.