Forum: C++ Oct 25th, 2009 |
| Replies: 6 Views: 292 Well..
Why dont you try it first..
There is another example for you..
/*
* mbstowcs(wchar_t *wcString,char *mbString,size_t nCount);
*/
...
TCHAR *wcBuf=new TCHAR[100];
CHAR *mbBuf="MB... |
Forum: C++ Oct 25th, 2009 |
| Replies: 6 Views: 292 Upss sorry..
mbstowcs(...)
that will help you.. |
Forum: C++ Oct 25th, 2009 |
| Replies: 6 Views: 292 Try
// wcstombs(char *mbstr,const wchar_t *wcstr, size_t count)
//
...
CHAR *mbBuf= new CHAR[100];
TCHAR *wcBuf=_T("hello");
#ifdef _UNICODE
wcstombs(mbBuf,wcBuf,100);
#else |
Forum: C++ Oct 25th, 2009 |
| Replies: 8 Views: 251 It worked with me..
#include <windows.h>
#include <iostream>
//maybe you should add this
#pragma comment(lib,"kernel32.lib")
#pragma comment(lib,"user32.lib")
// this will puts a lib-search... |
Forum: C++ Aug 27th, 2009 |
| Replies: 1 Views: 181 Remove the '*'..Should be just 'pvFindPara'.. |
Forum: C++ Aug 21st, 2009 |
| Replies: 6 Views: 453 It's very simple..Just add this..
#include "Form2.h" // or whatever |
Forum: C++ Jul 1st, 2009 |
| Replies: 4 Views: 263 thats not the important thing..Just have a look at your GlobalAlloc..All you need to do is casting.. |
Forum: C++ Jul 1st, 2009 |
| Replies: 4 Views: 263 Have a look at this point..
//...
int *buf = (int*)GlobalAlloc(GPTR,Len);
//... |
Forum: C++ Jun 1st, 2009 |
| Replies: 5 Views: 673 Let start with..
//...
md5.getHashFromString(pwd.c_str());
//... |
Forum: C++ May 13th, 2009 |
| Replies: 19 Views: 1,177 wow..You guys so fast..
thats why i'm asking him dude..:)..Go on.. |
Forum: C++ May 13th, 2009 |
| Replies: 19 Views: 1,177 @tux
Sorry dude..
Where did you get that lib..
Try this..
Project | Add Existing Item..Then add DDRAW.H into your project.. |
Forum: C++ May 13th, 2009 |
| Replies: 7 Views: 1,078 // extra variable
Boolean can_exit;
// form closing
if(!can_exit)
e->Cancel::set(true);
// button exit click
can_exit = true; |
Forum: C++ May 10th, 2009 |
| Replies: 77 Views: 2,759 I'm new..
Is memory leak problem solved.. |
Forum: C++ Apr 12th, 2009 |
| Replies: 3 Views: 420 Well..Since you already know which one is recommended..Good job dude.. |
Forum: C++ Apr 12th, 2009 |
| Replies: 3 Views: 420 Not bad..Good example for beginners..Whats 'she' do anyway..Checking for ports that's been opened? or what..(sorry for my bad English) |
Forum: C++ Apr 11th, 2009 |
| Replies: 5 Views: 266 |
Forum: C++ Apr 7th, 2009 |
| Replies: 9 Views: 659 I see 5 armors only..Not 6.. |
Forum: C++ Apr 7th, 2009 |
| Replies: 2 Views: 337 Replace..
catch(System::Exception ^er)
with
catch(...) //etc.. |
Forum: C++ Mar 31st, 2009 |
| Replies: 10 Views: 954 Try symbian c++..Visit nokia forum for more info.. |
Forum: C++ Mar 31st, 2009 |
| Replies: 2 Views: 285 ...
int foreign(int x)
{
int i, j;
i = 2 * x;
if (i > 10)
j = x / 2; |
Forum: C++ Mar 27th, 2009 |
| Replies: 4 Views: 293 Did u see 'include' folder.. |
Forum: C++ Mar 19th, 2009 |
| Replies: 13 Views: 579 //..
compute::compute(int num1, int num2, int &total)
{
//..
add(num1,num2,total);
}
compute::add(int num1, int num2, int &total)
{
endingtotal=num1+num2;
total=endingtotal; |
Forum: C++ Mar 14th, 2009 |
| Replies: 19 Views: 900 Who..Me or OP..:p..Nevermind..:p |
Forum: C++ Mar 13th, 2009 |
| Replies: 19 Views: 900 I see assignment errors..:p |
Forum: C++ Mar 11th, 2009 |
| Replies: 14 Views: 1,637 |
Forum: C++ Mar 11th, 2009 |
| Replies: 14 Views: 1,637 Thank u very much sir..Don't know how to solve the problems sir..Could u tell us sir..:p |
Forum: C++ Mar 11th, 2009 |
| Replies: 14 Views: 1,637 yep..I just trying to set the flag not to understand it and fix it..Maybe u can fix it.:p |
Forum: C++ Mar 11th, 2009 |
| Replies: 10 Views: 1,122 Reset your var..Cleanup..Then call menu..It's hard to read your codes..esspecialy if it invinsible.. |
Forum: C++ Mar 11th, 2009 |
| Replies: 14 Views: 1,637 Is this valid?..#pragma warning(disable:'warn code')..:p |
Forum: C++ Mar 9th, 2009 |
| Replies: 8 Views: 444 Yo..Take it ez..U dont even better than him..So..:p |
Forum: C++ Mar 8th, 2009 |
| Replies: 8 Views: 444 of course..How about 3..U know the best.. |
Forum: C++ Mar 8th, 2009 |
| Replies: 8 Views: 444 Don't forget the return value.. |
Forum: C++ Mar 7th, 2009 |
| Replies: 4 Views: 308 Replace..
if(usrInput.c_str()[usrInput.length()-1]=='%')
...
with
if(usrInput[usrInput.length()-1] == '%') |
Forum: C++ Feb 15th, 2009 |
| Replies: 4 Views: 309 umm..sorry..:D
operator=(Contoh &B) |
Forum: C++ Feb 15th, 2009 |
| Replies: 4 Views: 309 void monthsSet::unionSet (monthsSet &B, int idx, bool val)
{
B.months[idx] = val;
} |
Forum: C++ Feb 15th, 2009 |
| Replies: 10 Views: 612 Hello Xonxon..Are u Xonxon kesana kemari.. |
Forum: C++ Feb 14th, 2009 |
| Replies: 2 Views: 332 Have u check preprocessor definitions configuration..
WIN32;NDEBUG;_WINDOWS |
Forum: C++ Feb 14th, 2009 |
| Replies: 65 Views: 3,296 |
Forum: C++ Feb 12th, 2009 |
| Replies: 9 Views: 810 yep..sorry..fixed..thank u..;) |
Forum: C++ Feb 12th, 2009 |
| Replies: 7 Views: 543 gotoxy...SetCOnsoleCursorPos.. |