No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, I Have a CString (MFC) which contains the following three conditions separated as follows. Message=("Condition1|Condition2|Condition3") I am trying to extract the three conditions from the CString and use them to perform other operations. However I cant seem to find the right built-in function. Could someone please advise on what … |
|
Hi, I have the following examplde code. [CODE=C++] // TestProject.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "TestProject.h" #include <iostream> #include <vector> #include <windows.h> #define UNICODDE using namespace std; int main(void) { CString test; std::vector<std::vector<CString> > your2darray; std::vector<CString> row; row.push_back("col 1.1"); row.push_back("col 1.2"); row.push_back("col … |
|
Hi, I am using VC++ 6.0. When i clear a vector using vector.clear() the capacity is not being reduced to zero. Hence the memory is not being deallocated. I have tried to reduce the reserved size by use of vector.clear() followed by vector.reserve(0). This however has no effect. I have … |
|
Hi All, I am trying to create a 2D array of the [B]"CString" MFC class,[/B] however it needs to be declared dynamically for my application. I have read up on numerous forums but I just cant seem to find what I am looking for. From what I have read the … |
|
Hi All, I am extremely new to C++ and would greatly appreciate any advice regarding the following question: I am trying to create a 2D array of CStrings, however it needs to be declared dynamically for my application. I have read up on numerous forums but I just cant seem … |