Click here to Skip to main content
13,560,290 members

C / C++ / MFC

 
Questionvs2005 Form window Error C2039 Pin
jimNLX11-May-18 6:31
memberjimNLX11-May-18 6:31 
AnswerRe: vs2005 Form window Error C2039 Pin
Victor Nijegorodov11-May-18 7:23
memberVictor Nijegorodov11-May-18 7:23 
GeneralRe: vs2005 Form window Error C2039 Pin
jimNLX11-May-18 7:28
memberjimNLX11-May-18 7:28 
GeneralRe: vs2005 Form window Error C2039 Pin
Victor Nijegorodov11-May-18 8:07
memberVictor Nijegorodov11-May-18 8:07 
QuestionWhy do I need typecast hex? Pin
Vaclav_11-May-18 5:18
memberVaclav_11-May-18 5:18 
AnswerRe: Why do I need typecast hex? Pin
Richard MacCutchan11-May-18 6:25
protectorRichard MacCutchan11-May-18 6:25 
GeneralRe: Why do I need typecast hex? Pin
Vaclav_11-May-18 6:34
memberVaclav_11-May-18 6:34 
Questionconst char [] and char[] difference question Pin
focusdoit10-May-18 14:26
memberfocusdoit10-May-18 14:26 
Hi, I wrote a small c program on a microcontroller, 32bit.

I met a weird problem.

I wrote code like:
const char strtest[] = "Test123\r\n"; //Global
UART_print(strtest); //in a loop


the output is fine, I can see the output on Teraterm(RS232 interface tool), like:
Test123
Test123
..

But when I try code:
char str123[] = "Test123\r\n";  //Global
UART_print(strtest); //in a loop


The output is only the first element:
TTTTTTTT

Any hint is appreciated.
QuestionRe: const char [] and char[] difference question Pin
David Crow10-May-18 17:22
memberDavid Crow10-May-18 17:22 
AnswerRe: const char [] and char[] difference question Pin
Richard MacCutchan10-May-18 21:25
protectorRichard MacCutchan10-May-18 21:25 
AnswerRe: const char [] and char[] difference question Pin
Victor Nijegorodov10-May-18 23:03
memberVictor Nijegorodov10-May-18 23:03 
GeneralRe: const char [] and char[] difference question Pin
samzcs11-May-18 2:24
membersamzcs11-May-18 2:24 
QuestionPlease advise me on C++ coding structure Pin
Vaclav_9-May-18 4:24
memberVaclav_9-May-18 4:24 
AnswerRe: Please advise me on C++ coding structure Pin
leon de boer9-May-18 4:44
memberleon de boer9-May-18 4:44 
QuestionHelp with C Pin
Faith Burnett5-May-18 10:28
memberFaith Burnett5-May-18 10:28 
AnswerRe: Help with C Pin
David Crow5-May-18 16:57
memberDavid Crow5-May-18 16:57 
GeneralRe: Help with C Pin
Faith Burnett5-May-18 19:08
memberFaith Burnett5-May-18 19:08 
QuestionHow to get value Pin
Vaclav_5-May-18 4:41
memberVaclav_5-May-18 4:41 
AnswerRe: How to get value Pin
Richard MacCutchan5-May-18 5:47
protectorRichard MacCutchan5-May-18 5:47 
GeneralRe: How to get value Pin
Vaclav_6-May-18 3:54
memberVaclav_6-May-18 3:54 
GeneralRe: How to get value Pin
Richard MacCutchan6-May-18 4:48
protectorRichard MacCutchan6-May-18 4:48 
GeneralRe: How to get value Pin
Vaclav_6-May-18 6:49
memberVaclav_6-May-18 6:49 
QuestionWrapping c++ Pin
Member 129991324-May-18 22:48
memberMember 129991324-May-18 22:48 
AnswerRe: Wrapping c++ Pin
Richard MacCutchan5-May-18 1:26
protectorRichard MacCutchan5-May-18 1:26 
GeneralRe: Wrapping c++ Pin
Member 129991325-May-18 5:06
memberMember 129991325-May-18 5:06 

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.


Advertise | Privacy | Cookies | Terms of Service
Web03-2016 | 2.8.180527.3 | Last Updated 27 May 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid