|
Thanks RChin, I'll try that.
286? WOWW!
|
|
|
|
|
|
Thanks dude!
----------------------------
286? WOWW!
|
|
|
|
|
Wow!!! Just checked very nice articles! thanks for sharing!
----------------------------
286? WOWW!
|
|
|
|
|
hi
I want write the code for :
char *strcpy(char *s1 , const char *s2 )?
char *strncpy(char *s1 , const char *s2 , int size)?
char *strcat( char *s1 , const char *s2 )?
char *strncat( char *s1 , const char *s2 , int size )?
int *strcmp( const char *s1 , const char *s2 )?
int *strncmp( const char *s1 , const char *s2 , int size)?
help me please
|
|
|
|
|
what's your question exactly ? you want to rewrite thos function ?
what for ?
moreover, if you work with C++ strings, you'd better forget those old char*. they are a legacy from the C language, kept for compatibility.
however, you should use the std::string class instead; which class proposes all the functionnality you want to redevelop here (if i get you well)
|
|
|
|
|
toxcct wrote: you want to rewrite thos function ?
yes, i think he wants to rewrite those functions.
and i also feel its part of an assignment/homework given to him.
Regards,
Vijay.
God may not give us what we 'want', but he surely gives us what we 'need'.
|
|
|
|
|
What exactly do you want ? Please be specific while posting.
Regards,
Paresh.
|
|
|
|
|
I think you should reffer to some good books on C and C++ (Ex: C and C++ Programmers Bible)
|
|
|
|
|
You shouldn't be using these low level and old fashioned string manipulations routines without a compelling reason to do so. Instead use a string class such as the standard library's std::string or MFC's CString .
Steve
|
|
|
|
|
i am retrieving a unicode field from a database table using getfieldvalue function. but due to some data loss it is displaying question marks. how can i retrieve a double byte value from database in vc++
|
|
|
|
|
Please elaborate on the question ?
Regards,
Paresh.
|
|
|
|
|
roli_sri wrote: but due to some data loss it is displaying question marks.
You need to track where data is lost. I would start with setting up a break point where I start reading date from the database.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
I want to add maximize and minimize buttons in a property sheet implemented as Dialog based MFC application.
|
|
|
|
|
wrote: I want to add maximize and minimize buttons in a property sheet implemented as Dialog based MFC application.
start by adding a name to your codeproject account. i like to know who i speak to.
then look in the properties dialog over your propertySheet in the resource editor, and spot the minimize/maximize options...
|
|
|
|
|
toxcct wrote: start by adding a name to your codeproject account.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
toxcct wrote: start by adding a name to your codeproject account.
this is exactly what i was about to tell him.
Regards,
Vijay.
God may not give us what we 'want', but he surely gives us what we 'need'.
|
|
|
|
|
:->
an advice : type with your nose, you'll be long faster !!!
|
|
|
|
|
toxcct wrote: an advice : type with your nose, you'll be long faster !!!
Regards,
Vijay.
God may not give us what we 'want', but he surely gives us what we 'need'.
|
|
|
|
|
|
I cant get the damn list box to change the ownerdraw property when i subclass it.
Part of the code :
CWnd * wnd = NULL;
while (wnd = FindWindowEx(this->m_hWnd,(wnd == NULL ? NULL : wnd->m_hWnd),"ListBox",NULL))
{
MyListBox * temp = new MyListBox();
temp->SubclassWindow(wnd->m_hWnd);
temp->ModifyStyle(0,LBS_OWNERDRAWFIXED);
TempControlAdd((CWnd*)temp);
temp = NULL;
} Thanks for the Help.
Artificial Intelligence is no match for Natural Stupidity
No one can understand the truth until he drinks of coffee's frothy goodness. ~Sheik Abd-al-Kadir
I can't always be wrong ... or can I?
|
|
|
|
|
Hi there,
I think the LBS_OWNERDRAW* styles can be set only upon creation of the listbox control.
|
|
|
|
|
Thanks for the help.
Artificial Intelligence is no match for Natural Stupidity
No one can understand the truth until he drinks of coffee's frothy goodness. ~Sheik Abd-al-Kadir
I can't always be wrong ... or can I?
|
|
|
|
|
If anybody need a solution here is one[^]
Artificial Intelligence is no match for Natural Stupidity
No one can understand the truth until he drinks of coffee's frothy goodness. ~Sheik Abd-al-Kadir
I can't always be wrong ... or can I?
|
|
|
|
|
Hi,
I created dll and trying to export a function which in turn calls InvokeHelper function,But my dll is created using win32 dynamic library it is not recognizing InvokeHelper,so i included the macros,
_AFX_NO_OCC_SUPPORT and AFX_CDECL.Now it is showing error as,
error C2061: syntax error : identifier 'CWnd'.What i have to do.Please help me...
Siddharth
|
|
|
|