Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCompiling MPI with VS2017 Linux Pin
Kenneth Haugland18-Mar-18 11:10
mvaKenneth Haugland18-Mar-18 11:10 
AnswerRe: Compiling MPI with VS2017 Linux Pin
leon de boer18-Mar-18 14:22
leon de boer18-Mar-18 14:22 
GeneralRe: Compiling MPI with VS2017 Linux Pin
Kenneth Haugland18-Mar-18 23:21
mvaKenneth Haugland18-Mar-18 23:21 
GeneralRe: Compiling MPI with VS2017 Linux Pin
leon de boer19-Mar-18 5:02
leon de boer19-Mar-18 5:02 
GeneralRe: Compiling MPI with VS2017 Linux Pin
Kenneth Haugland19-Mar-18 6:17
mvaKenneth Haugland19-Mar-18 6:17 
GeneralRe: Compiling MPI with VS2017 Linux Pin
Randor 19-Mar-18 7:07
professional Randor 19-Mar-18 7:07 
GeneralRe: Compiling MPI with VS2017 Linux Pin
Kenneth Haugland19-Mar-18 9:06
mvaKenneth Haugland19-Mar-18 9:06 
GeneralRe: Compiling MPI with VS2017 Linux Pin
Randor 19-Mar-18 9:14
professional Randor 19-Mar-18 9:14 
Questionproblem encountered while doing mathematical operations on strings by overloaded '+'. Pin
Tarun Jha17-Mar-18 1:30
Tarun Jha17-Mar-18 1:30 
AnswerRe: problem encountered while doing mathematical operations on strings by overloaded '+'. Pin
Victor Nijegorodov17-Mar-18 5:52
Victor Nijegorodov17-Mar-18 5:52 
AnswerRe: problem encountered while doing mathematical operations on strings by overloaded '+'. Pin
CPallini17-Mar-18 11:58
mveCPallini17-Mar-18 11:58 
QuestionConnection String Couldn't Connect Pin
Brennan Salibrici15-Mar-18 10:17
Brennan Salibrici15-Mar-18 10:17 
AnswerRe: Connection String Couldn't Connect Pin
Gerry Schmitz15-Mar-18 11:01
mveGerry Schmitz15-Mar-18 11:01 
AnswerRe: Connection String Couldn't Connect Pin
Victor Nijegorodov15-Mar-18 11:25
Victor Nijegorodov15-Mar-18 11:25 
GeneralRe: Connection String Couldn't Connect Pin
leon de boer15-Mar-18 17:12
leon de boer15-Mar-18 17:12 
GeneralRe: Connection String Couldn't Connect Pin
Jochen Arndt15-Mar-18 22:10
professionalJochen Arndt15-Mar-18 22:10 
GeneralRe: Connection String Couldn't Connect Pin
Victor Nijegorodov16-Mar-18 8:41
Victor Nijegorodov16-Mar-18 8:41 
GeneralRe: Connection String Couldn't Connect Pin
leon de boer18-Mar-18 4:20
leon de boer18-Mar-18 4:20 
AnswerRe: Connection String Couldn't Connect Pin
leon de boer15-Mar-18 16:49
leon de boer15-Mar-18 16:49 
GeneralRe: Connection String Couldn't Connect Pin
Brennan Salibrici16-Mar-18 2:45
Brennan Salibrici16-Mar-18 2:45 
QuestionRe: Connection String Couldn't Connect Pin
David Crow16-Mar-18 16:43
David Crow16-Mar-18 16:43 
Questionproblem in operator overloading of >> & << ? Pin
Tarun Jha15-Mar-18 7:47
Tarun Jha15-Mar-18 7:47 
#include <iostream>
using namespace std;

const int size = 3;
class vector{
    int v[size];

public:
    vector();                                                                                                //constructor num vector
    vector(int *x);                                                                                          //constructor from arr
    friend vector operator * (int a, vector b);                                                              //friend 1
    friend vector operator * (vector b, int a);                                                              //friend 2
    friend istream & operator >> (istream &, vector &);      //what is this ??
    friend ostream & operator << (ostream &, vector &);        
};


in the above code the i am having problem understanding the friend f^n
Quote:
friend istream & operator >> (istream &, vector &);

here's what i know, so istream is for input streaming of data & ostream for output, and does & epresents some kind of reference to function >> ?
It is really confusing, please explain.

Thank you.
AnswerRe: problem in operator overloading of >> & << ? Pin
CPallini15-Mar-18 10:47
mveCPallini15-Mar-18 10:47 
QuestionCan we include two Message Maps in one class? Pin
Sampath57914-Mar-18 23:23
Sampath57914-Mar-18 23:23 
AnswerRe: Can we include two Message Maps in one class? Pin
Richard MacCutchan14-Mar-18 23:32
mveRichard MacCutchan14-Mar-18 23:32 

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.