Reputation: 1302 Grandmaster
- Active Posts:
- 4,484 (2.27 per day)
- 19-February 09
- Profile Views:
- Last Active:
- Yesterday, 07:42 PM
- Who Cares
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
- Expert In:
Posts I've Made
Posted 21 Jul 2014Hi, welcome to DIC. I can't think of many tips. With libraries you will probably bookmark some sites. There might be blogs and tutorials that can give information.
Posted 20 Jul 2014Write a predicate is_set(S) that is true if only if S contains no duplicate elements.
In the first clause you say that, if the list contains two elements that are the same (duplicate), then it is a set, which is not what you want.
In the second clause, the first x is lowercase, it should be uppercase to denote a variable. Also you are saying that if the head of the list is in the list (duplicate), then it is a set, which is not what you want.
In the third clause, you want to continue testing the list, which is the right idea, but if a preceding clause does not succeed (is false) then this clause will be executed, ignoring previous logic.
Posted 20 Jul 2014Hi, it looks like you added parentheses in the wrong place, and you wanted the info variable of the next node to be compared :
while ( item.ComparedTo(location->next->info) != EQUAL )
Posted 18 Jul 2014Hi, if you have a router you might need to tell it the location of your server program.
Posted 18 Jul 2014Hi, the ODBC program/service/driver links a program to a database. The ODBC is usually accessed in the Control Panel. If it is MS, looking up the term ODBC seems to say it is under Administrative Tools in the Panel. In the ODBC you set the name and location of the database file.
You probably want to create a MS Access database test database/file. If that gives trouble a simpler database file might be a DBF for test purposes.
SQL is a language for accessing databases and managing databases. SQL statements are sent from the C program to the ODBC driver.
You don't say what compiler you are using.
The undefined reference error suggest you have not linked to the sql library.
- Member Title:
- Duke of Err
- Age Unknown
- Birthday Unknown
- Delta Quadrant
- Years Programming:
- Programming Languages:
- Website URL: