Click here to Skip to main content
15,902,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralIS That a class or function that detect if user is connected to the internet!! Pin
snipes16-Jun-03 11:30
snipes16-Jun-03 11:30 
GeneralRe: IS That a class or function that detect if user is connected to the internet!! Pin
Toni7816-Jun-03 19:53
Toni7816-Jun-03 19:53 
QuestionGet current tab position in a dialog box??? Pin
skinnyreptile16-Jun-03 11:16
skinnyreptile16-Jun-03 11:16 
AnswerRe: Get current tab position in a dialog box??? Pin
AlexO16-Jun-03 11:23
AlexO16-Jun-03 11:23 
AnswerRe: Get current tab position in a dialog box??? Pin
Ryan Binns16-Jun-03 15:04
Ryan Binns16-Jun-03 15:04 
GeneralRe: Get current tab position in a dialog box??? Pin
skinnyreptile17-Jun-03 3:27
skinnyreptile17-Jun-03 3:27 
GeneralRe: Get current tab position in a dialog box??? Pin
Ryan Binns17-Jun-03 3:56
Ryan Binns17-Jun-03 3:56 
Generalpassing a vector to a function Pin
johnstonsk16-Jun-03 9:39
johnstonsk16-Jun-03 9:39 
I am trying to pass a vector to a function, but something is wrong.

I think I am declairing the prototype and function incorrectly

this is what I have

in my *.h file
int static parseData(vector<double> v);

in my *.cpp file

<br />
RFMAccess::someFunction(){<br />
<br />
\\do some stuff here and pass the vector<br />
  parseData(data);<br />
}<br />
<br />
<br />
int RFMAccess::parseData(vector<double> v){<br />
<br />
\\do some stuff with the vector here<br />
<br />
return 0;<br />
}<br />


I actually need to pass the vector to another function in another class, but this is the idea I am trying to do.

I would pass-by-reference but, as mentioned the function is in another class.

thanks,
Steven
GeneralRe: passing a vector to a function Pin
Nemanja Trifunovic16-Jun-03 9:43
Nemanja Trifunovic16-Jun-03 9:43 
GeneralRe: passing a vector to a function Pin
johnstonsk16-Jun-03 9:51
johnstonsk16-Jun-03 9:51 
GeneralRe: passing a vector to a function Pin
AlexO16-Jun-03 9:55
AlexO16-Jun-03 9:55 
GeneralRe: passing a vector to a function Pin
AlexO16-Jun-03 9:59
AlexO16-Jun-03 9:59 
GeneralRe: passing a vector to a function Pin
johnstonsk16-Jun-03 10:00
johnstonsk16-Jun-03 10:00 
GeneralRe: passing a vector to a function Pin
AlexO16-Jun-03 10:05
AlexO16-Jun-03 10:05 
GeneralRe: passing a vector to a function Pin
johnstonsk16-Jun-03 10:12
johnstonsk16-Jun-03 10:12 
GeneralRe: passing a vector to a function Pin
johnstonsk16-Jun-03 9:53
johnstonsk16-Jun-03 9:53 
QuestionWhat does AfxWinTerm() do? Pin
Vikram A Punathambekar16-Jun-03 9:21
Vikram A Punathambekar16-Jun-03 9:21 
AnswerRe: What does AfxWinTerm() do? Pin
RobJones16-Jun-03 9:35
RobJones16-Jun-03 9:35 
GeneralEmail in Vc++ Pin
act_x16-Jun-03 8:14
act_x16-Jun-03 8:14 
GeneralRe: Email in Vc++ Pin
David Crow16-Jun-03 8:54
David Crow16-Jun-03 8:54 
GeneralRe: Email in Vc++ Pin
Jon Sagara16-Jun-03 9:11
Jon Sagara16-Jun-03 9:11 
GeneralRe: Email in Vc++ Pin
PJ Arends16-Jun-03 19:15
professionalPJ Arends16-Jun-03 19:15 
GeneralIterating through CListCtrl Pin
clintsinger16-Jun-03 7:54
clintsinger16-Jun-03 7:54 
GeneralRe: Iterating through CListCtrl Pin
basementman16-Jun-03 8:03
basementman16-Jun-03 8:03 
GeneralText in the systray (not icon) Pin
albean16-Jun-03 7:49
albean16-Jun-03 7:49 

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.