Home > Software engineering >  On cstrings
On cstrings

Time:10-05

 typedef struct {cstrings cs1; } JIEXI; 
Cstrings a=_T (" aadfajhagjhw ");
Int I=a.f ind (' h ');
JIEXI JIEXI;
Jiexi. Cs1=a. eft (I);

Why when performing a final 1 sentence in IsLocked explode () function?

CodePudding user response:

 cstrings a=cstrings (_T (" aadfajhagjhw ")); 

CodePudding user response:

Where the problem is not in, you put all some code?

CodePudding user response:

First look at what is find the returned to find the value and capture the error

CodePudding user response:

Don't typedef struct {cstrings cs1; } JIEXI;

CodePudding user response:

Int I=a.f ind (' h '); Add _T

CodePudding user response:

Nt I=a.f ind ( _T ( 'h' ) );

CodePudding user response:

It should be other places have a problem!

CodePudding user response:

Find and Left function capital start

CodePudding user response:

Make sure your this error code to run? I just run no problem is different
Struct JIEXI
{
Cstrings cs1;
};
In the function in vitro of separate statement

CodePudding user response:

His first debugged see ~ the Debug mode

CodePudding user response:

To set breakpoints step through and have a look
  • Related