console io
From: alex (alex.smotritsky_at_verizon.net)
Date: 05/29/04
- Next message: johny smith: "#define versus const"
- Previous message: Victor Bazarov: "Re: Confusing compile error"
- Next in thread: John Harrison: "Re: console io"
- Reply: John Harrison: "Re: console io"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 May 2004 21:47:32 -0400
i'm writing a console app using unmanaged c++ that uses cout/cin to request
a few database connection strings and read them into some string variables.
The problem is: after the frist db connection string is entered, the next
set of cout/cin statements is run thru without giving the user a chance to
input the second db connection string the app requires. I think this is
happening because the database connection strings i'm using have semi-colons
(;) in them (name-value pairs separated by semicolons). If I put in simple
strings like adsfkadsf asdflkjads, the io works as expected. I'm pretty sure
the problem is the semi-colons but don't know what to do about it. There are
also equal signs (=) and single quotes (') in the db connection strings.
Anybody know anything about this?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
- Next message: johny smith: "#define versus const"
- Previous message: Victor Bazarov: "Re: Confusing compile error"
- Next in thread: John Harrison: "Re: console io"
- Reply: John Harrison: "Re: console io"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|