No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
Hello all! I am working on a regular expression to be used in descrambling words in my scrabble solver. What I am attempting to do is write a regular expression that can be used to find all characters within a scrambled word, irrespective of order and match them to a … | |
Re: Do you mean you have basic knowledge on C++? Or that you're a basic programmer? Regardless I'd recommend grabbing a good book and/or reading online tutorials. Try out [URL="http://www.cplusplus.com/doc/tutorial/"]cplusplus.com[/URL] and go from there. If you need an IDE try code::blocks. | |
Re: you're going to want to compare strings differently. If you want to compare the contents of two different strings the format is as follows: [code] string firstTime;//declaration getline(first, firsttime); if( firstTime.compare(stringToCompareWith)==0) { //code to execute }[/code] | |
Hey all, I've been programming an ISBN system of sorts and I'm a little stuck (again). I want to output my linked list to a text file, so I setup the code like this: [code] void saveList(char fileName[40]) { for ( list< Publication* >::iterator it = pubList.begin(); it != pubList.end(); … | |
Hey all, I'm attempting to use an STL List to store a list of objects. Now I realise it's quite trivial to store a list of objects of my own definition. My real question is, how do I fill the list with objects that inherit from a base class. E.g. … | |
Hey all! I'm new to the forum and a little wet around the programming ears so to speak. Anyway I have a question regarding Linked Lists. I know that typically a linked list looks like this: [CODE] struct Node { dataType varName; //data type and variable name Node *next; //points … | |
Re: I think what you might be looking for is called multi-threading. You could spawn a thread for your clock that can continue running throughout the operation of the program. As a matter of fact I believe a typical 'main' function is running on a single thread. [URL="http://www.cplusplus.com/forum/windows/3301/"]Multi-threading[/URL] Hopefully that'll help … |
The End.