CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: tspga

Page 1 of 2 1 2

Search: Search took 0.20 seconds.

  1. Replies
    3
    Views
    1,774

    problem in file writting with onsavedocument

    void CFileMgm::write(string fname, solutions databox)
    {
    file1.open (fname.c_str(), ios::out);

    if (file1.is_open())//if(file)+
    {
    file1<<"Population Size is : ";
    ...
  2. Replies
    17
    Views
    21,100

    Re: display data of text file in list view

    thankyou for your help, small and may be last question e.g there is object named sol of type solutions im calling updateAllViews and passing this object, doing type cast that object, after which it...
  3. Replies
    17
    Views
    21,100

    Re: display data of text file in list view

    yes it is SDI and windows explorer based, and has dialogs from menu
    class CRightView : public CListView
    yes this is the case.
  4. Replies
    17
    Views
    21,100

    Re: display data of text file in list view

    yes it is SDI and windows explorer based, and has dialogs from menu
    class CRightView : public CListView
    yes this is the case.
  5. Replies
    17
    Views
    21,100

    Re: display data of text file in list view

    CString str( arr.GetData() ); i tried this and getting errors like

    CString(const class CString &)' : cannot convert parameter 1 from 'class CString *' to 'const class CString &' when i try this...
  6. Replies
    17
    Views
    21,100

    Re: display data of text file in list view

    i have to get the file name from open file dialog so i must call this function in either openfile or open document and then pass it on to this read function
    and question 3 was asked after viewing...
  7. Replies
    17
    Views
    21,100

    Re: display data of text file in list view

    i dont have any problem with creating right view, thanx for your help but i already know that, what im asking is about reading file and tokenizing and then getting access to that read data for...
  8. Replies
    17
    Views
    21,100

    Re: display data of text file in list view

    these are the things i can just read and understand im totally new at this can smone plz give me step by step guide and some sample code, i know how to create list view and adding items and columns...
  9. Replies
    17
    Views
    21,100

    display data of text file in list view

    i want to display data from text file in list view and in tree view root will be file name, but i dont know how to do it, the problem is with displaying text file data in list view, i don't know...
  10. Replies
    22
    Views
    2,100

    Re: object as data member having error

    for those who are reading these replies because they are facing similar errors, i have resolved my issue what you can do is try naming your composed object variable with lower case letters, check for...
  11. Replies
    22
    Views
    2,100

    Re: object as data member having error

    have sent all the required code can u plz figure out whats te problem bcz i dnt knw what is problem in declaring member like that, i dont think there is some problem but i feel tat there is some...
  12. Replies
    22
    Views
    2,100

    Re: object as data member having error

    [DIALOG CLASS]#if !defined(AFX_DIALOGPARAM_H__0C7E02C5_D8E6_4248_9292_25525F458CCB__INCLUDED_)
    #define AFX_DIALOGPARAM_H__0C7E02C5_D8E6_4248_9292_25525F458CCB__INCLUDED_

    #if _MSC_VER > 1000...
  13. Replies
    22
    Views
    2,100

    Re: object as data member having error

    is this possible that i mail you my project? if it is not possible i will send you all the complete header files with everything all guards headers etc.
  14. Replies
    22
    Views
    2,100

    Re: object as data member having error

    CTspGAParams GAParameters;
    this is the line where i get errors i have composed objects of same class in two other classes also but it always gives me same error, plz tell me how can i resolve this...
  15. Replies
    22
    Views
    2,100

    Re: object as data member having error

    i have deleted them in sending you
  16. Replies
    22
    Views
    2,100

    Re: object as data member having error

    i have deleted them
  17. Replies
    22
    Views
    2,100

    Re: object as data member having error

    this is doc class dialog box takes input and that input is passed to generic class object of GAParams
  18. Replies
    22
    Views
    2,100

    Re: object as data member having error

    I have sent both header files cpp files however not sent yet if you want them too i can send but they are lil lenghty
  19. Replies
    22
    Views
    2,100

    Re: object as data member having error

    class CTspGAParams
    {
    int PopSize;
    int n_Cities;
    int MaxIeration;
    double CrossOverRate;
    double MutationRate;

    //double LowerFitLimit;
    //double UpperFitLimit;
  20. Replies
    22
    Views
    2,100

    Re: object as data member having error

    #include "Tour.h"
    #include "TspGAParams.h"







    class CPop
  21. Replies
    22
    Views
    2,100

    Re: object as data member having error

    what u wan me to send there are so many files and so many classes
  22. Replies
    22
    Views
    2,100

    Re: object as data member having error

    im not getting error i dont know what is meant by these errors
  23. Replies
    22
    Views
    2,100

    Re: object as data member having error

    #include "TspGAParams.h"
    yes above file is included in pop header
  24. Replies
    22
    Views
    2,100

    [RESOLVED] object as data member having error

    class CPop
    {
    CBSVector<CTour> pop;
    CBSVector<double> probability;
    int popsize;
    double TotalFitness;
    CTour Elite;
    CTspGAParams GAParameters;
    }
  25. Replies
    1
    Views
    4,213

    partially mapped crossover

    has any one worked with genetic algorithms. im solving travelling salesman problem with genetic algorithm and unfortunately stuck at crossover im using partially mapped cross over. i have tried...
Results 1 to 25 of 42
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured