Bosses, below this line of c + + code can use Qt memcpy achieve the same effect? Could you tell me how to write the
_tcsncpy (pSoundFile - & gt; M_szFileName, m_strTargetFile GetBuffer (MAX_PATH), MAX_PATH);
Which defines a structure:
Typedef struct {
Long m_nLength;
Char * m_pBuffer;
Char m_szFileName [MAX_PATH];
} CSoundFile;
PSoundFile is CSoundFile m_strTargetFile remaining is the file address, don't know can be:
Memcpy (pSoundFile - & gt; M_szFileName m_strTargetFile, MAX_PATH);
Mainly want to create a list to store sound files, and then carries on the random broadcast operations, such as uncertain whether to gen jie this structure, also, sprout new thank humbly