Click here to Skip to main content
14,544,253 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Is it just me? Pin
W Balboos, GHB6-Dec-18 1:45
mveW Balboos, GHB6-Dec-18 1:45 
GeneralRe: Is it just me? Pin
musefan6-Dec-18 1:55
Membermusefan6-Dec-18 1:55 
GeneralRe: Is it just me? Pin
Michael Martin6-Dec-18 9:48
professionalMichael Martin6-Dec-18 9:48 
GeneralRe: Is it just me? Pin
dandy726-Dec-18 4:42
Memberdandy726-Dec-18 4:42 
GeneralRe: Is it just me? Pin
Eddy Vluggen6-Dec-18 8:48
professionalEddy Vluggen6-Dec-18 8:48 
GeneralRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
Munchies_Matt5-Dec-18 22:01
MemberMunchies_Matt5-Dec-18 22:01 
GeneralRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
musefan5-Dec-18 22:16
Membermusefan5-Dec-18 22:16 
GeneralRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
OriginalGriff5-Dec-18 22:11
mveOriginalGriff5-Dec-18 22:11 
Don;t post the same thing in multiple places - I already answered this in QA:


Look at what <cde>cin does: Basic Input/Output - C++ Tutorials[^] and you will see:
Quote:
However, cin extraction always considers spaces (whitespaces, tabs, new-line...) as terminating the value being extracted, and thus extracting a string means to always extract a single word, not a phrase or an entire sentence.

To get an entire line from cin, there exists a function, called getline, that takes the stream (cin) as first argument, and the string variable as second.


Multiple posts just duplicates work and that annoys people.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
musefan5-Dec-18 22:30
Membermusefan5-Dec-18 22:30 
GeneralRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
OriginalGriff5-Dec-18 22:53
mveOriginalGriff5-Dec-18 22:53 
GeneralRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
Rage5-Dec-18 23:46
professionalRage5-Dec-18 23:46 
GeneralRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
OriginalGriff6-Dec-18 0:06
mveOriginalGriff6-Dec-18 0:06 
GeneralRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
Mark_Wallace6-Dec-18 4:45
MemberMark_Wallace6-Dec-18 4:45 
GeneralRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
OriginalGriff5-Dec-18 22:13
mveOriginalGriff5-Dec-18 22:13 
RantRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
Gary Wheeler6-Dec-18 6:54
MemberGary Wheeler6-Dec-18 6:54 
GeneralRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
OriginalGriff6-Dec-18 7:40
mveOriginalGriff6-Dec-18 7:40 
GeneralRe: the program determines if the password is wrong or right. What is wrong in the source code? Pin
Gary Wheeler6-Dec-18 8:14
MemberGary Wheeler6-Dec-18 8:14 
GeneralAnyone else have the Firefox URL textbox be completely gobbled up by the "Verified by Entrust" box? Pin
swampwiz5-Dec-18 19:00
Memberswampwiz5-Dec-18 19:00 
GeneralRe: Anyone else have the Firefox URL textbox be completely gobbled up by the "Verified by Entrust" box? Pin
OriginalGriff5-Dec-18 21:18
mveOriginalGriff5-Dec-18 21:18 
GeneralRe: Anyone else have the Firefox URL textbox be completely gobbled up by the "Verified by Entrust" box? Pin
Rage6-Dec-18 1:16
professionalRage6-Dec-18 1:16 
GeneralRe: Anyone else have the Firefox URL textbox be completely gobbled up by the "Verified by Entrust" box? Pin
Mark_Wallace6-Dec-18 4:47
MemberMark_Wallace6-Dec-18 4:47 
GeneralRe: Anyone else have the Firefox URL textbox be completely gobbled up by the "Verified by Entrust" box? Pin
Gary Wheeler6-Dec-18 6:33
MemberGary Wheeler6-Dec-18 6:33 
GeneralRe: Anyone else have the Firefox URL textbox be completely gobbled up by the "Verified by Entrust" box? Pin
Mark_Wallace6-Dec-18 7:33
MemberMark_Wallace6-Dec-18 7:33 
GeneralRe: Anyone else have the Firefox URL textbox be completely gobbled up by the "Verified by Entrust" box? Pin
Richard Deeming6-Dec-18 8:23
mveRichard Deeming6-Dec-18 8:23 
GeneralJohn - Have You This for the RPi? Pin
Michael Martin5-Dec-18 17:46
professionalMichael Martin5-Dec-18 17:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.