Click here to Skip to main content
13,768,884 members

C / C++ / MFC

 
GeneralRe: Connection String Couldn't Connect Pin
Jochen Arndt15-Mar-18 23:10
mvpJochen Arndt15-Mar-18 23:10 
GeneralRe: Connection String Couldn't Connect Pin
Victor Nijegorodov16-Mar-18 9:41
memberVictor Nijegorodov16-Mar-18 9:41 
GeneralRe: Connection String Couldn't Connect Pin
leon de boer18-Mar-18 5:20
memberleon de boer18-Mar-18 5:20 
AnswerRe: Connection String Couldn't Connect Pin
leon de boer15-Mar-18 17:49
memberleon de boer15-Mar-18 17:49 
GeneralRe: Connection String Couldn't Connect Pin
Brennan Salibrici16-Mar-18 3:45
memberBrennan Salibrici16-Mar-18 3:45 
QuestionRe: Connection String Couldn't Connect Pin
David Crow16-Mar-18 17:43
memberDavid Crow16-Mar-18 17:43 
Questionproblem in operator overloading of >> & << ? Pin
Tarun Jha15-Mar-18 8:47
memberTarun Jha15-Mar-18 8:47 
AnswerRe: problem in operator overloading of >> & << ? Pin
CPallini15-Mar-18 11:47
mvpCPallini15-Mar-18 11:47 
friend istream & operator >> (istream &, vector &);

That is just for telling the computer the extraction operator (>>) is friend of the vector class.

The reference (&) is part of the extraction operator signature, e.g.

istream & operator >> (istream & is, vector & v);

Because such a operator
  • takes a reference to istream and a reference to a vector as arguments.
  • returns a reference to a istream.
Incidentally this the magic underneath the extraction operator chaining, for instance:
cin >> v >> i; ->
(cin >> v) >> i; ->
cin >> i; ->
cin;
QuestionCan we include two Message Maps in one class? Pin
Sampath57915-Mar-18 0:23
memberSampath57915-Mar-18 0:23 
AnswerRe: Can we include two Message Maps in one class? Pin
Richard MacCutchan15-Mar-18 0:32
protectorRichard MacCutchan15-Mar-18 0:32 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 0:39
memberSampath57915-Mar-18 0:39 
AnswerRe: Can we include two Message Maps in one class? Pin
Jochen Arndt15-Mar-18 1:53
mvpJochen Arndt15-Mar-18 1:53 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 2:08
memberSampath57915-Mar-18 2:08 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 5:19
memberSampath57915-Mar-18 5:19 
GeneralRe: Can we include two Message Maps in one class? Pin
Victor Nijegorodov15-Mar-18 5:48
memberVictor Nijegorodov15-Mar-18 5:48 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 7:25
memberSampath57915-Mar-18 7:25 
GeneralRe: Can we include two Message Maps in one class? Pin
Jochen Arndt15-Mar-18 5:50
mvpJochen Arndt15-Mar-18 5:50 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 7:57
memberSampath57915-Mar-18 7:57 
GeneralRe: Can we include two Message Maps in one class? Pin
Richard MacCutchan15-Mar-18 8:11
protectorRichard MacCutchan15-Mar-18 8:11 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 8:31
memberSampath57915-Mar-18 8:31 
GeneralRe: Can we include two Message Maps in one class? Pin
Richard MacCutchan15-Mar-18 9:03
protectorRichard MacCutchan15-Mar-18 9:03 
QuestionHow to reuse a single CView class with multiple tabs in MFC Pin
Sampath57914-Mar-18 7:42
memberSampath57914-Mar-18 7:42 
AnswerRe: How to reuse a single CView class with multiple tabs in MFC Pin
Richard MacCutchan14-Mar-18 8:06
protectorRichard MacCutchan14-Mar-18 8:06 
AnswerRe: How to reuse a single CView class with multiple tabs in MFC Pin
_Flaviu14-Mar-18 22:58
member_Flaviu14-Mar-18 22:58 
AnswerRe: How to reuse a single CView class with multiple tabs in MFC Pin
_Flaviu14-Mar-18 23:41
member_Flaviu14-Mar-18 23:41 

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.


Advertise | Privacy | Cookies | Terms of Service
Web04-2016 | 2.8.181117.1 | Last Updated 18 Nov 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid