Search:
Type: Posts; User: pdk5
Search:
Search took 0.10 seconds.
-
January 18th, 2021, 10:50 AM
Thanks a lot kaud.
Actually, i want to check, if the m_nId is unique and no duplicates.
As this is not very big vector (may have atmost 10 elements) and the check is not done many times, i...
-
January 18th, 2021, 09:19 AM
Thanks a lot kaud.
The vector is not sorted.
I donot want to insert any values.
But i want to kind of send a message to user that something is wrong in his entry. (It is assumed user is not...
-
January 18th, 2021, 07:15 AM
Hello,
I have a vector of structs (or classes):
std::vector<ConfigData>& vecConfigData;
class ConfigData
{
public:
-
January 15th, 2021, 08:06 AM
Basically i was relooking into code, and wondering, after the CLOSE, the window is destroyed, but the handle is still having not deleted. Is it wrong ? So tried the following it works, but not sure...
-
January 15th, 2021, 08:01 AM
Thanks a lot Victor i tried it is not working.
if (m_pResultAnalysisDialog)
{
WINDOWPLACEMENT windowPlace;
windowPlace.length = sizeof(WINDOWPLACEMENT);
BOOL bOk =...
-
January 15th, 2021, 05:47 AM
Hi,
As per discussion one month back, I tried to create the MFC dialog from the existing one. But now when trying to test various scenarios, i am facing the issue. Actually, the dialog is created...
-
January 8th, 2021, 02:13 PM
Thankyou so much kaud for your patience to help me .
Thanks a lot again.
-
January 8th, 2021, 10:26 AM
Hello,
It is strage that that find_if for the vector returns normal iterator, but when i replace it with the set , it return const iterator.
Basically, i wanted to change the content of the...
-
January 8th, 2021, 06:00 AM
Thanks a lot kaud for the inputs, I'll try to change that and make efficient as you suggested. The initial design didnot consider all possibilities
-
January 7th, 2021, 11:39 AM
I think i found a way, I just tried to check before the insertion, if that element is already present,
struct find_by_cellkey {
find_by_cellkey(const int & cellkey) : cellkey(cellkey)...
-
January 7th, 2021, 07:38 AM
Hello,
I have the following map. I changed the set to multiset, as I need to store, the cell, even if the distance is the same.
struct TACNeighbourData
{
int m_CellKey;
-
January 4th, 2021, 07:43 AM
Thankyou very much kaud. much appreciated. Sorry for the delay, was busy with some personal stuff.
Yes, the site i was going through. because sometime back, i was searching for job, a company told...
-
January 3rd, 2021, 06:37 AM
Hi All,
I was trying to practice some LRU cache example from the online practice. Also checking the discussions, where somebody already solved using the hash map and the doubly linked list....
-
January 1st, 2021, 05:05 AM
@wolle and kaud: Thanks a lot
-
December 30th, 2020, 11:14 AM
Hello,
Im trying to solve the following:
Basically for the given input string, i need to expand as follows:
4[x] = xxxx
2[y2[z]] = yzzyzz
2[pq] = pqpq
thanks
-
December 26th, 2020, 04:35 AM
@GCDEF: May be I didnot code properly.
What i understood is:, SetItemData can hold a reference to the index into the list control and a number. The number can be used later to deduce the first...
-
December 26th, 2020, 04:32 AM
Thanks a lot Arjay, for all the help. Very much appreciated. I'll try this today
-
December 25th, 2020, 02:05 PM
Thanks a lot Arjay.
I tried to load the project with my free version of visual studio 2015. (where i have created some simple sample MFC projects yesterday). But i am getting lot of errors , when...
-
December 25th, 2020, 11:16 AM
Thankyou Victor. Google doesnot have some good examples (at least for beginners), so i can get the basic concept.
If the MFC experts in the forum, find some spare time and help me comeup with...
-
December 24th, 2020, 10:01 AM
But still not able to understand the virtual list ctrl :cry:
-
December 24th, 2020, 10:00 AM
Looks like I understood the idea behind the SetItemData and GetItem:
Changed my code to following , but i guess, now i can build my code upon this:
BOOL...
-
December 24th, 2020, 06:02 AM
-
December 24th, 2020, 05:12 AM
Arjay,
I went through one of your examples, but couldnot get anything from that.
I am looking for some simple code, so i can relate and learn. May be expand to practical applications later.
...
-
December 23rd, 2020, 07:38 AM
@Arjay: Thanks a lot
I'll check for the tutorials..
As GCDEF mentioned, i need to use setitemdata/getitemdata. Still working on that, not solved yet. Its taking time for me as this is new area,...
-
December 22nd, 2020, 04:03 PM
GCDEF, Could you bit elaborate, on how to use SetItemData in this case ?
|
Click Here to Expand Forum to Full Width
On-Demand Webinars (sponsored)
|