hello, I have this function:
template <class T> unsigned int HashTable<T>::hash( const string & key ) const
{
unsigned int hashVal = 0;
// cout << key << "%";
for( size_t i = 0; i <...
Type: Posts; User: rusty0412
hello, I have this function:
template <class T> unsigned int HashTable<T>::hash( const string & key ) const
{
unsigned int hashVal = 0;
// cout << key << "%";
for( size_t i = 0; i <...
yes, I know about operator overloading, but the thing is that in all examples i've found the assigment operator takes on only an object of the same type that the class...
Hello, I am creating a template class called Array which manages an array of pointers to pointers...
this is the problem, suppose the Array class is created to type double, and I want to do this:...
How do I convert from type string to type const char*?
Is it possible to run specific DOS commands from a C++ program?
How may I get a random character from A to F?
I've tried static_cast<char>(65 + rand() % 70) and it doesn't works.
I asked this on the forum since I don't want to use a bad written tutorial...
The Deitels just published the new edition of C++: How to program and it includes a chapter of CGI programming in C++. They have it in their site for free download, actually it serves as a demo...
Where may I get an online tutorial about compiler construction either in C++ or C?