The parameters are passed to your Connection object as arguments in the
constructor or the connect() method.
If you look at example simple1 you can see a pretty good example to emulate.
You can also check out the online documentation if you need more details:
On Thu, Oct 30, 2008 at 1:42 AM, Specter Phoenix <specter@stripped>wrote:
> To Whom It May Concern:
> It is 3:45 am and I've been up since 7am or so this morning, yep near 24
> hours. I've been programming with winsock to open sockets to different
> things just to practice. Now I've been looking over the examples of the
> mysql++ library and noticed that they require commandline prompts of user,
> pass, host. I'm so tired and almost comatose from lack of sleep that I can't
> think straight, but what would the code look like if I wanted to hard code
> the connection to a database in the code so that they end user (who may not
> have the information). For example, lets say the host is (174.304.34.22)
> user is venus and password is flyguy what would my code be for that? I'm so
> tired I fell asleep typing this email on several occassions. I'd appreciate
> any help anyone can give me.
> Clayton Weaver
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe: