Click here to Skip to main content
14,666,293 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
Questionc++ Project help asap Pin
klck20008-Aug-06 10:47
Memberklck20008-Aug-06 10:47 
QuestionRe: c++ Project help asap Pin
David Crow8-Aug-06 10:51
MemberDavid Crow8-Aug-06 10:51 
AnswerRe: c++ Project help asap Pin
klck20008-Aug-06 10:58
Memberklck20008-Aug-06 10:58 
GeneralRe: c++ Project help asap Pin
David Crow8-Aug-06 11:08
MemberDavid Crow8-Aug-06 11:08 
GeneralRe: c++ Project help asap Pin
klck20008-Aug-06 11:16
Memberklck20008-Aug-06 11:16 
GeneralRe: c++ Project help asap [modified] Pin
markkuk8-Aug-06 11:40
Membermarkkuk8-Aug-06 11:40 
GeneralRe: c++ Project help asap Pin
klck20008-Aug-06 11:47
Memberklck20008-Aug-06 11:47 
GeneralRe: c++ Project help asap Pin
David Crow9-Aug-06 3:08
MemberDavid Crow9-Aug-06 3:08 
klck2000 wrote:
Could you give me...an idea on how to do this even...


Here is one idea:

class DataSet
{
public:
    DataSet() { }
 
    void Add( const double dHeight )
    {
        m_vecHeights.push_back(dHeight);
    }
 
    double Mean( void ) const { }
 
    double Median( void ) const { }
 
    double StdDev( void ) const { }
 
private:
    vector<double> m_vecHeights;
};
 
void main( void )
{
    DataSet ds;
}



"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

"Judge not by the eye but by the heart." - Native American Proverb


GeneralRe: c++ Project help asap Pin
klck20009-Aug-06 3:33
Memberklck20009-Aug-06 3:33 
GeneralRe: c++ Project help asap Pin
David Crow9-Aug-06 4:55
MemberDavid Crow9-Aug-06 4:55 
GeneralRe: c++ Project help asap Pin
klck20009-Aug-06 5:00
Memberklck20009-Aug-06 5:00 
GeneralRe: c++ Project help asap Pin
David Crow9-Aug-06 5:06
MemberDavid Crow9-Aug-06 5:06 
GeneralRe: c++ Project help asap Pin
klck20009-Aug-06 5:10
Memberklck20009-Aug-06 5:10 
QuestionRe: c++ Project help asap Pin
David Crow6-Oct-06 10:01
MemberDavid Crow6-Oct-06 10:01 
QuestionGlobal variables crashing my app Pin
Wheatbread8-Aug-06 9:51
MemberWheatbread8-Aug-06 9:51 
AnswerRe: Global variables crashing my app Pin
Cedric Moonen8-Aug-06 20:26
MemberCedric Moonen8-Aug-06 20:26 
QuestionCommunication between MainFrm and Document [modified] Pin
titaniumdecoy8-Aug-06 9:41
Membertitaniumdecoy8-Aug-06 9:41 
AnswerRe: Communication between MainFrm and Document Pin
Kiran Pinjala8-Aug-06 21:51
MemberKiran Pinjala8-Aug-06 21:51 
QuestionPOSTing to Multiple Http Forms Pin
EpicYeti8-Aug-06 9:20
MemberEpicYeti8-Aug-06 9:20 
AnswerRe: POSTing to Multiple Http Forms Pin
led mike8-Aug-06 10:43
Memberled mike8-Aug-06 10:43 
QuestionWhere Can I find a tutorial for Programming for Windows Mobile 2003? [modified] Pin
Coolarj108-Aug-06 8:47
MemberCoolarj108-Aug-06 8:47 
AnswerRe: Where Can I find a tutorial for Programming for Windows Mobile 2003? Pin
Coolarj108-Aug-06 10:33
MemberCoolarj108-Aug-06 10:33 
GeneralRe: Where Can I find a tutorial for Programming for Windows Mobile 2003? [modified] Pin
Trollslayer8-Aug-06 11:41
mentorTrollslayer8-Aug-06 11:41 
QuestionHow to detect happening of file Pin
Max++8-Aug-06 6:43
MemberMax++8-Aug-06 6:43 
QuestionRe: How to detect happening of file Pin
David Crow8-Aug-06 6:59
MemberDavid Crow8-Aug-06 6:59 

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.