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

Search:

Type: Posts; User: panayotisk

Page 1 of 49 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    3
    Views
    606

    Re: What this not work??

    Since you get an infinite loop, most probably the exit condition in the for loop is never satisfied.

    i<vSol.size()
    So, I suggest while debugging check to see the vSol.size() before the loop is...
  2. Replies
    11
    Views
    1,706

    Re: Happy Birthday panayotisk

    Thank you all. I was away for a few days... And since I became a teacher I stopped asking questions in the forum, but I'll be visiting it from time to time. You are all great! :wave:
  3. Replies
    106
    Views
    73,927

    Re: Happy Birthday gstercken

    I guess it should have been a wonderful party. Happy birthday gstercken!
    :)
  4. Replies
    8
    Views
    1,098

    Re: Adding Graphics to a game... Im a n00b

    Hi,
    Adding graphics is OS dependent, so if for example you use MS-Windows you can use graphics libraries such as Win32 or MFC. Or you may use DirectX or OpenGL(the latter is also supposed to be...
  5. Replies
    39
    Views
    7,408

    Re: Happy New Year 2006

    Happy new year from Greece too.
    Καλή χρονιά.

    Panayotis
  6. Replies
    183
    Views
    37,133

    Re: Meaning of your username!

    My actual name is Panayotis Kalaitzoglou. I got the first name and the initial of the last name (it was the first name that yahoo prompted as login name when I wanted to create a yahoo mail, so I...
  7. Re: How much do you charge for external work?

    Hi Ejaz,
    My decision was a hard one to make. I have considered most of the factors you mentionned more than once. Teaching is not as interesting as programming, but you never work long hours and you...
  8. Re: How much do you charge for external work?

    Thank you very much for your answer Ejaz,
    I got a job in the public sector as a high school teacher, which is not very demanding (4h. per day lessons). So I will not be programming as a main job,...
  9. How much do you charge for external work?

    Hi guys,
    I ask this in the chit-chat forum because more people are likely to see it than in general developer topics...
    How much per hour would you charge for a work at home for programming tasks?...
  10. Re: C++: why pure virtual function has definition?Please look into sample code here

    Using implementation code from a base class has nothing to do with allowing creation of objects of the base class. These are totally unrelated.
    When designing ask yourself:
    - Do I need to be able...
  11. Re: C++: why pure virtual function has definition?Please look into sample code here

    If I remember well, somewhere in "Effective C++" Meyers mentions a reason for a pure virtual function to have a body:
    Derived classes that implement this pure virtual function may call this...
  12. Replies
    3
    Views
    1,031

    Re: CListCtrl and editing the column headers

    Hmmm. But normally someone would first decide on the column name and then populate it with data.
    I mean after the column data is there, someone would change the name only if there was a mistake on...
  13. Replies
    3
    Views
    1,031

    Re: CListCtrl and editing the column headers

    I think there is no built-in functionality for editing the header control.
    So probably you will need to create and display an edit control yourself when the user clicks on the header. I searched...
  14. Replies
    10
    Views
    1,308

    Re: This surprised me...

    VC++ 7.0 compiles it also.
    I do not have the C++ standard handy. Allowing this can be confusing I guess.
  15. Replies
    2
    Views
    834

    Re: Invalidate Method Problem

    If you need to escape the '&' character for a menu item or a label you may use a double "&&"
    E.g. "&&whatever" should show "&whatever"
  16. Re: How to read unknown total of double or int number into 2-dim array?

    For your program you need to declare:

    typedef std::vector< std::vector<float> > IMATRIX;
    because you deal with floats...
  17. Replies
    59
    Views
    5,559

    Re: nerd, geek or dork?

    Nerd...
    60 % Nerd, 26% Geek, 34% Dork.
  18. Replies
    9
    Views
    1,392

    Re: Passing array of structs by reference

    Shouldn't it simply be:

    infile >> current[tracker].id;
    What is the type of infile?
  19. Replies
    9
    Views
    1,392

    Re: Passing array of structs by reference

    void openAndread(inventory& current);
    Well this would pass one inventory object by reference, not a whole array.
    What if you try smthng like

    void openAndread(inventory* current, int size);
    ......
  20. Replies
    14
    Views
    1,798

    Re: about CDocument

    From the View:

    GetDocument().SetTitle(_T("This is your title"));
    From inside the document:

    SetTitle(_T("This is your title"));
  21. Replies
    14
    Views
    1,798

    Re: about CDocument

    How about CDocument::SetTitle()?
  22. Re: How to read unknown total of double or int number into 2-dim array?

    Yes, it is just that the OP asked on how to put the elements in an array not a linked list. A linked list is very different from an array in regards to ease of access of the elements and performance.
  23. Re: How to read unknown total of double or int number into 2-dim array?

    I think that you should use a vector (std::vector). There is a FAQ item on creating a two-dimensional array using a vector of vectors. A vector will grow and shrink appropriately by itself.
    If you...
  24. Re: Congratulations to Cilu for reaching 5000 posts!!!

    Congrats Cilu. May the force be with you.
  25. Replies
    4
    Views
    961

    Re: selecting 2 ID's...

    SELECT login.ID AS ID1, security.ID AS ID2 from login, security where login.ID=security.ID
    Does this work? If not what DB do you use?
Results 1 to 25 of 1209
Page 1 of 49 1 2 3 4





Click Here to Expand Forum to Full Width

Featured