Click here to Skip to main content
15,915,774 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalstructs in C++ Pin
LCI21-Jun-05 8:40
LCI21-Jun-05 8:40 
GeneralRe: structs in C++ Pin
FlyingTinman21-Jun-05 8:58
FlyingTinman21-Jun-05 8:58 
GeneralRe: structs in C++ Pin
GDavy21-Jun-05 8:58
GDavy21-Jun-05 8:58 
GeneralRe: structs in C++ Pin
John R. Shaw21-Jun-05 15:11
John R. Shaw21-Jun-05 15:11 
QuestionHow to know running task? Pin
lewislewis_lewis21-Jun-05 8:37
lewislewis_lewis21-Jun-05 8:37 
AnswerRe: How to know running task? Pin
Blake Miller21-Jun-05 9:22
Blake Miller21-Jun-05 9:22 
Generalthanks Pin
lewislewis_lewis21-Jun-05 9:26
lewislewis_lewis21-Jun-05 9:26 
QuestionWhat is LPCTSTR? & how to convert 2 a char? Pin
tomek1821-Jun-05 6:57
tomek1821-Jun-05 6:57 
This is my 1st time in a Forum, so here it goes...

I have something like this

void CChildView::sortData(LPCTSTR sendData)
{
//I want to insert sendData into an array.
//the compiler, visual C++ 6 will not allow me to.
//sendData is only 1 character at a time send from the COM-port.
//I've tried:
strcpy (tempData, sendData);
//and many more to mention

//Also after editing, I want to send it back to:
DispalyData(tempData);
//DisplayData will not accept anything else but the LPCTSTR format.
}

I've been working on this for 2 whole days, 18hrs!!! Could you please help me, I am a beginer in programming, and have read all the reading materials on the net, but don't understand as it's to advance for me.

Thank you. Confused | :confused:

All the evidence seems to indicate, that the universe has not existed forever, but that it had a beginning, about 15 billion years ago. This is probably the most remarkable discovery of modern cosmology. Yet it is now taken for granted. We are not yet certain whether the universe will have an end. When I gave a lecture in Japan, I was asked not to mention the possible re-collapse of the universe, because it might affect the stock market.
-- Stephen Hawking

AnswerRe: What is LPCTSTR? & how to convert 2 a char? Pin
David Crow21-Jun-05 7:11
David Crow21-Jun-05 7:11 
AnswerRe: What is LPCTSTR? & how to convert 2 a char? Pin
TheGreatAndPowerfulOz21-Jun-05 7:18
TheGreatAndPowerfulOz21-Jun-05 7:18 
AnswerRe: What is LPCTSTR? & how to convert 2 a char? Pin
John R. Shaw21-Jun-05 8:23
John R. Shaw21-Jun-05 8:23 
QuestionHOW TO: Timer / tic function in C woes Pin
kevingpo21-Jun-05 6:18
kevingpo21-Jun-05 6:18 
AnswerRe: HOW TO: Timer / tic function in C woes Pin
BlackDice21-Jun-05 6:20
BlackDice21-Jun-05 6:20 
GeneralRe: HOW TO: Timer / tic function in C woes Pin
kevingpo21-Jun-05 7:58
kevingpo21-Jun-05 7:58 
GeneralRe: HOW TO: Timer / tic function in C woes Pin
BlackDice21-Jun-05 8:10
BlackDice21-Jun-05 8:10 
GeneralRe: HOW TO: Timer / tic function in C woes Pin
Blake Miller21-Jun-05 9:14
Blake Miller21-Jun-05 9:14 
GeneralWIndows Controls Pin
Ross White21-Jun-05 5:15
Ross White21-Jun-05 5:15 
GeneralRe: WIndows Controls Pin
Blake Miller21-Jun-05 5:43
Blake Miller21-Jun-05 5:43 
GeneralRe: WIndows Controls Pin
James Brown21-Jun-05 7:30
James Brown21-Jun-05 7:30 
GeneralRe: WIndows Controls Pin
Andy Moore21-Jun-05 7:35
Andy Moore21-Jun-05 7:35 
GeneralRe: WIndows Controls Pin
Ross White21-Jun-05 8:08
Ross White21-Jun-05 8:08 
Generaldynamic check box creation Pin
softtec21-Jun-05 4:33
softtec21-Jun-05 4:33 
GeneralRe: dynamic check box creation Pin
Blake Miller21-Jun-05 6:05
Blake Miller21-Jun-05 6:05 
GeneralUltimate Grid 6.1 (tab font) Pin
smbelow21-Jun-05 4:32
smbelow21-Jun-05 4:32 
GeneralRe: Ultimate Grid 6.1 (tab font) Pin
lynchspawn21-Jun-05 4:41
lynchspawn21-Jun-05 4:41 

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.