Forum: C++ 13 Days Ago |
| Replies: 6 Views: 194 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++ 13 Days Ago |
| Replies: 6 Views: 194 Upss sorry..
mbstowcs(...)
that will help you.. |
Forum: C++ 13 Days Ago |
| Replies: 6 Views: 194 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++ 13 Days Ago |
| Replies: 8 Views: 218 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: 161 Remove the '*'..Should be just 'pvFindPara'.. |
Forum: C++ Aug 21st, 2009 |
| Replies: 6 Views: 424 It's very simple..Just add this..
#include "Form2.h" // or whatever |
Forum: C++ Jul 1st, 2009 |
| Replies: 4 Views: 241 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: 241 Have a look at this point..
//...
int *buf = (int*)GlobalAlloc(GPTR,Len);
//... |
Forum: C++ Jun 1st, 2009 |
| Replies: 5 Views: 631 Let start with..
//...
md5.getHashFromString(pwd.c_str());
//... |
Forum: Assembly May 14th, 2009 |
| Replies: 3 Views: 505 Are u sure it's a keyword.. |
Forum: C++ May 13th, 2009 |
| Replies: 19 Views: 1,068 wow..You guys so fast..
thats why i'm asking him dude..:)..Go on.. |
Forum: Assembly May 13th, 2009 |
| Replies: 1 Views: 384 You mean this..
;...
mov ah,01
mov al,02
add al,ah
;... |
Forum: C++ May 13th, 2009 |
| Replies: 19 Views: 1,068 @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: 956 // 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,585 I'm new..
Is memory leak problem solved.. |
Forum: C++ Apr 12th, 2009 |
| Replies: 3 Views: 376 Well..Since you already know which one is recommended..Good job dude.. |
Forum: C++ Apr 12th, 2009 |
| Replies: 3 Views: 376 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: VB.NET Apr 11th, 2009 |
| Replies: 2 Views: 1,202 It worked with me..
'...
for each m_row as System.Windows.Forms.DataGridViewRow in me.DataGridView1.Rows
if m_row.Cells("Column1").Value=true then
... |
Forum: C++ Apr 11th, 2009 |
| Replies: 5 Views: 250 |
Forum: VB.NET Apr 7th, 2009 |
| Replies: 2 Views: 333 First choices..That'll makes your live easier.. |
Forum: C# Apr 7th, 2009 |
| Replies: 4 Views: 253 |
Forum: C# Apr 7th, 2009 |
| Replies: 2 Views: 196 Show me your OnPaint(..) methods.. |
Forum: C++ Apr 7th, 2009 |
| Replies: 9 Views: 635 I see 5 armors only..Not 6.. |
Forum: C++ Apr 7th, 2009 |
| Replies: 2 Views: 306 Replace..
catch(System::Exception ^er)
with
catch(...) //etc.. |
Forum: C++ Mar 31st, 2009 |
| Replies: 10 Views: 914 Try symbian c++..Visit nokia forum for more info.. |
Forum: C++ Mar 31st, 2009 |
| Replies: 2 Views: 274 ...
int foreign(int x)
{
int i, j;
i = 2 * x;
if (i > 10)
j = x / 2; |
Forum: C++ Mar 27th, 2009 |
| Replies: 4 Views: 281 Did u see 'include' folder.. |
Forum: C++ Mar 19th, 2009 |
| Replies: 13 Views: 558 //..
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: 858 Who..Me or OP..:p..Nevermind..:p |
Forum: C++ Mar 13th, 2009 |
| Replies: 19 Views: 858 I see assignment errors..:p |
Forum: C++ Mar 11th, 2009 |
| Replies: 14 Views: 1,469 |
Forum: C++ Mar 11th, 2009 |
| Replies: 14 Views: 1,469 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,469 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: 941 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,469 Is this valid?..#pragma warning(disable:'warn code')..:p |
Forum: C++ Mar 9th, 2009 |
| Replies: 8 Views: 416 Yo..Take it ez..U dont even better than him..So..:p |
Forum: C++ Mar 8th, 2009 |
| Replies: 8 Views: 416 of course..How about 3..U know the best.. |
Forum: C++ Mar 8th, 2009 |
| Replies: 8 Views: 416 Don't forget the return value.. |
Forum: C++ Mar 7th, 2009 |
| Replies: 4 Views: 299 Replace..
if(usrInput.c_str()[usrInput.length()-1]=='%')
...
with
if(usrInput[usrInput.length()-1] == '%') |
Forum: C++ Feb 15th, 2009 |
| Replies: 4 Views: 298 umm..sorry..:D
operator=(Contoh &B) |