Search:
Type: Posts; User: zdf
Search:
Search took 0.26 seconds.
-
November 17th, 2007, 04:50 PM
Hello,
I have a BIG problem with a SMALL Visual C++ 8 solution stored on an USB flash. The original solution was made with Visual C++ 7 and worked fine. For some reason when I switched to version...
-
March 25th, 2007, 07:44 AM
Hello CPUWizard,
You obviously are an experienced programmer. I have a big problem and maybe you can help me. We have to start a new project (windows/desktop/graphics). So far I have only used...
-
March 24th, 2007, 04:14 PM
David, thank you for your reply. Unfortunately I do not “speak” C#. I only “speak” C++. I must learn C++/CLI and I need a good book; I do not want to waste any time or money.
-
March 23rd, 2007, 01:41 PM
Hello,
Are there any “classic” books on C++/CLI?
I am programming in C++ for several years.
Thank you.
-
March 23rd, 2007, 12:09 PM
Hello,
Are there any “classic” books on C++/CLI?
I am programming in C++ for several years.
Thank you.
-
March 17th, 2007, 03:48 AM
Try this: http://www.josuttis.com/
-
March 16th, 2007, 10:45 AM
I am not a STL expert but I guess each time you use “vector:: push_back” there is a chance to allocate memory for the new element. This may slow down your application. Try to use “vector::...
-
March 1st, 2007, 01:55 PM
Hello,
Show us what you have done so far. Don’t expect someone to write it for you.
-
February 28th, 2007, 10:59 AM
-
February 26th, 2007, 12:30 AM
Could you please give us an example?
-
February 25th, 2007, 03:07 PM
You should call “delete” for every “new” call.
int v = new int;
//...
delete v;
If you allocate an array then you must call “delete[]”. “[]” guarantees the object’s...
-
February 21st, 2007, 12:32 PM
Ok. Here it is a possible solution to your problem:
#include <iostream>
#include <list>
#include <algorithm>
class CMatrixCell
{
-
February 21st, 2007, 10:46 AM
Ok, I guess you must write everything from scratch. Did you learn about templates? Do you understand the code below?
template < typename A_T > class CNode
{
public:
CNode() : m_pLeft( 0...
-
February 21st, 2007, 10:00 AM
Are you allowed to write your own map?
-
February 21st, 2007, 03:18 AM
Hello,
Why don’t you use std::map?
-
February 18th, 2007, 01:28 PM
Hello,
I assume:
string inchar;
memblock;
should be:
-
February 16th, 2007, 05:38 PM
So... he needs a memory manager to manage the memory pool?... And this new manager must work better than the original one? :eek:
-
February 16th, 2007, 04:59 PM
Then, why not use #define?
#include <stdlib.h>
void* MyAlloc(size_t)
{
void* p;
// ...
return p;
-
February 16th, 2007, 04:48 PM
Hello,
Why don’t you override the global new operator?
-
February 16th, 2007, 01:19 PM
Hello,
Smells like homework. Start by defining a structure to hold the record you described.
-
February 15th, 2007, 03:46 PM
I am sorry but I do not understand. Why is it “perfectly fine”?
-
February 15th, 2007, 03:19 PM
What is the purpose of (unused) "struct t lr[10];" and what are you trying to do here: “switch(action[r],lr[c].s)”?
Why don’t you use full names instead of abbreviation? What is the “t”...
-
February 15th, 2007, 01:49 AM
Hello,
There are still errors in your code. For instance: LPCTSTR is a pointer to a vector of constant TCHAR. TCHAR is different from char, that is “*Valor=(LPCSTR )res;” is not all right.
...
-
February 14th, 2007, 03:20 PM
Hello,
Try this:
return Complex<T>(Real + c.Real, Imaginary + c.Imaginary);
instead of:
-
February 14th, 2007, 02:10 PM
Hello,
I don't know about VB. It looks like you know the same thing about C++. :)
There are too many mistakes in the code you posted. For instance:
char *res;...
|
Click Here to Expand Forum to Full Width
|