Click here to Skip to main content
15,927,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question_tcscpy Vs lstrcpy Pin
Nishad S22-Dec-05 0:16
Nishad S22-Dec-05 0:16 
AnswerRe: _tcscpy Vs lstrcpy Pin
toxcct22-Dec-05 0:31
toxcct22-Dec-05 0:31 
GeneralRe: _tcscpy Vs lstrcpy Pin
Nishad S22-Dec-05 0:43
Nishad S22-Dec-05 0:43 
GeneralRe: _tcscpy Vs lstrcpy Pin
Blake Miller22-Dec-05 5:41
Blake Miller22-Dec-05 5:41 
GeneralRe: _tcscpy Vs lstrcpy Pin
Nishad S22-Dec-05 16:23
Nishad S22-Dec-05 16:23 
AnswerRe: _tcscpy Vs lstrcpy Pin
ThatsAlok22-Dec-05 0:53
ThatsAlok22-Dec-05 0:53 
GeneralRe: _tcscpy Vs lstrcpy Pin
Nishad S22-Dec-05 0:56
Nishad S22-Dec-05 0:56 
AnswerRe: _tcscpy Vs lstrcpy Pin
Aamir Butt22-Dec-05 18:58
Aamir Butt22-Dec-05 18:58 
lstrcpy is a function of Windows API and _tcscpy is from C Runtime Library. This is the basic difference. Otherwise, both resolve to same things.

lstrcpyA does the same job as strcpy. lstrcpyW does the same job as wcscpy. (So lstrcpy does the same job as _tcscpy.) It's useful to use lstrXXX if you feel the need to eliminate the C library entirely.

Ahh... I didnt see Alok's reply. He had already said this.Blush | :O

-- modified at 0:59 Friday 23rd December, 2005
GeneralRe: _tcscpy Vs lstrcpy Pin
Nishad S22-Dec-05 19:01
Nishad S22-Dec-05 19:01 
Questiontemplate with Iterator - some Problems Pin
tbrake22-Dec-05 0:08
tbrake22-Dec-05 0:08 
AnswerRe: template with Iterator - some Problems Pin
Sebastian Schneider22-Dec-05 0:47
Sebastian Schneider22-Dec-05 0:47 
GeneralRe: template with Iterator - some Problems Pin
tbrake22-Dec-05 0:57
tbrake22-Dec-05 0:57 
GeneralRe: template with Iterator - some Problems Pin
Sebastian Schneider22-Dec-05 1:23
Sebastian Schneider22-Dec-05 1:23 
GeneralRe: template with Iterator - some Problems Pin
tbrake22-Dec-05 1:43
tbrake22-Dec-05 1:43 
GeneralRe: template with Iterator - some Problems Pin
Sebastian Schneider22-Dec-05 2:04
Sebastian Schneider22-Dec-05 2:04 
GeneralRe: template with Iterator - some Problems Pin
tbrake22-Dec-05 2:21
tbrake22-Dec-05 2:21 
GeneralRe: template with Iterator - some Problems Pin
Sebastian Schneider22-Dec-05 2:36
Sebastian Schneider22-Dec-05 2:36 
QuestionSTL: C2064 on sort() of a vector Pin
Sebastian Schneider21-Dec-05 23:43
Sebastian Schneider21-Dec-05 23:43 
AnswerRe: STL: C2064 on sort() of a vector Pin
toxcct22-Dec-05 0:22
toxcct22-Dec-05 0:22 
GeneralRe: STL: C2064 on sort() of a vector Pin
Sebastian Schneider22-Dec-05 0:39
Sebastian Schneider22-Dec-05 0:39 
GeneralRe: STL: C2064 on sort() of a vector Pin
toxcct22-Dec-05 2:16
toxcct22-Dec-05 2:16 
GeneralRe: STL: C2064 on sort() of a vector Pin
Sebastian Schneider22-Dec-05 2:43
Sebastian Schneider22-Dec-05 2:43 
QuestionConverting double to BYTE array Pin
ba5h33r21-Dec-05 23:36
ba5h33r21-Dec-05 23:36 
AnswerRe: Converting double to BYTE array Pin
toxcct22-Dec-05 0:20
toxcct22-Dec-05 0:20 
AnswerRe: Converting double to BYTE array Pin
kakan22-Dec-05 0:51
professionalkakan22-Dec-05 0:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.