Type: Posts; User: panayotisk
Search took 0.17 seconds.
March 19th, 2007, 11:42 AM
Since you get an infinite loop, most probably the exit condition in the for loop is never satisfied.
So, I suggest while debugging check to see the vSol.size() before the loop is...
August 26th, 2006, 11:39 AM
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:
I guess it should have been a wonderful party. Happy birthday gstercken!
April 13th, 2006, 04:02 AM
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...
January 1st, 2006, 02:41 PM
Happy new year from Greece too.
October 3rd, 2005, 05:40 AM
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...
September 21st, 2005, 12:52 PM
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...
September 20th, 2005, 08:50 AM
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,...
September 18th, 2005, 05:03 AM
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?...
September 9th, 2005, 06:27 AM
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...
September 9th, 2005, 06:02 AM
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...
September 9th, 2005, 05:46 AM
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...
September 9th, 2005, 05:36 AM
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...
September 8th, 2005, 06:33 AM
VC++ 7.0 compiles it also.
I do not have the C++ standard handy. Allowing this can be confusing I guess.
September 8th, 2005, 03:43 AM
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"
September 8th, 2005, 02:54 AM
For your program you need to declare:
typedef std::vector< std::vector<float> > IMATRIX;
because you deal with floats...
September 8th, 2005, 01:28 AM
60 % Nerd, 26% Geek, 34% Dork.
September 7th, 2005, 08:06 AM
Shouldn't it simply be:
infile >> current[tracker].id;
What is the type of infile?
September 7th, 2005, 07:11 AM
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);
September 7th, 2005, 04:17 AM
From the View:
GetDocument().SetTitle(_T("This is your title"));
From inside the document:
SetTitle(_T("This is your title"));
September 7th, 2005, 02:30 AM
How about CDocument::SetTitle()?
September 7th, 2005, 02:19 AM
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.
September 7th, 2005, 01:22 AM
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.
September 7th, 2005, 01:09 AM
Congrats Cilu. May the force be with you.
September 6th, 2005, 06:47 AM
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?
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!