I am new to class templates and am having trouble. I have a function that doesn't declare (ie. to be an int, double etc). But it doesn't make sense to declare in this function. Therefore I am getting errors. Thanks for the help.

I have the following function:

```
bool QueType<ItemType>::IsEmpty() const
// Returns true if there are no elements on the queue and false otherwise.
{
    return (front == NULL);
}

```

This returns the following errors:

Error 1 error C2065: 'ItemType' : undeclared identifier 
Error 2 error C2955: 'QueType' : use of class template requires template argument list  

Error 3 error C2509: 'IsEmpty' : member function not declared in 'QueType'
['https://Stackoverflow.com/questions/12714602', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1060794/']
If memory serves, GoDaddy has a couple of different MySQL DB implementations you can choose. One that allows for remote access, and one that does not. Are you sure that you have chosen the correct one?

Have you tried connecting remotely using MySQL Workbench first? Or even telnetting to the port? That will ensure you have the right db name and permissions to connect remotely. Once you can confirm that works, getting the code to work should be easier.
I hate to add a new post to something so old but I ran across the same issues with GoDaddy and their dbname.db.######.hostedresource.com implementation. Granted, I looked across a few Overflow posts and saw no mention of the direct IP method; hopefully I'm not breaking some GoDaddy code here.

Any who, the only way I was able to connect through my Workbench & through JDBC was by going to the PHP admin page and grabbing the direct IP to the database - in my case : 

```
private static final String URL = "jdbc:mysql://11.11.111.11:3306/dbname";

```