Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMultiple lines edit box Pin
RomTibi31-Jul-07 6:04
RomTibi31-Jul-07 6:04 
AnswerRe: Multiple lines edit box Pin
David Crow31-Jul-07 6:51
David Crow31-Jul-07 6:51 
GeneralRe: Multiple lines edit box Pin
RomTibi31-Jul-07 8:16
RomTibi31-Jul-07 8:16 
QuestionA question about the sleep() function Pin
KaKa'31-Jul-07 5:10
KaKa'31-Jul-07 5:10 
AnswerRe: A question about the sleep() function Pin
led mike31-Jul-07 5:12
led mike31-Jul-07 5:12 
AnswerRe: A question about the sleep() function Pin
#realJSOP31-Jul-07 5:14
professional#realJSOP31-Jul-07 5:14 
AnswerRe: A question about the sleep() function Pin
Anurag Gandhi31-Jul-07 20:18
professionalAnurag Gandhi31-Jul-07 20:18 
QuestionAppend String to character buffer Pin
Programm3r31-Jul-07 4:41
Programm3r31-Jul-07 4:41 
Hi all,

I'm struggling to add a string to a certain portion of a buffer. The buffer size is 300. I'm using a ini file where I keep the coordinates (From Position - To Position). So now I want to take the string and using the coordinates put data into certain positions into the buffer. For example:
[DATA]
NAME=(1 13)
AGE=(14 17)

Lets say the string has a value of: "Hallo There Walter 20"

So I perform a substring on the string using a dirrerent structure, where I get hold of the NAME and the AGE (this step is working thus is not relevent - this is only a test string)

Now I want to use the above ini format for NAME and AGE to put it into the buffer. So from position 1 to 13 I want to put 'Walter ' (filling with spaces) and then from position 14 to 17 I want to put '20 '.

An I making sense ??

Thanks in advance
Regards,





The only programmers that are better that C programmers are those who code in 1's and 0's Green Alien | [Alien]

Smile | :) Programm3r

My Blog: ^_^

AnswerRe: Append String to character buffer Pin
jhwurmbach31-Jul-07 5:09
jhwurmbach31-Jul-07 5:09 
AnswerRe: Append String to character buffer Pin
CPallini31-Jul-07 5:14
mveCPallini31-Jul-07 5:14 
QuestionRe: Append String to character buffer Pin
Programm3r31-Jul-07 19:43
Programm3r31-Jul-07 19:43 
AnswerRe: Append String to character buffer Pin
CPallini31-Jul-07 20:59
mveCPallini31-Jul-07 20:59 
GeneralRe: Append String to character buffer Pin
Programm3r31-Jul-07 21:26
Programm3r31-Jul-07 21:26 
AnswerRe: Append String to character buffer Pin
Randor 31-Jul-07 5:26
professional Randor 31-Jul-07 5:26 
GeneralRe: Append String to character buffer Pin
Randor 31-Jul-07 5:28
professional Randor 31-Jul-07 5:28 
GeneralRe: Append String to character buffer Pin
David Crow31-Jul-07 5:58
David Crow31-Jul-07 5:58 
GeneralRe: Append String to character buffer Pin
Randor 31-Jul-07 6:53
professional Randor 31-Jul-07 6:53 
GeneralRe: Append String to character buffer Pin
David Crow31-Jul-07 6:55
David Crow31-Jul-07 6:55 
GeneralRe: Append String to character buffer Pin
Randor 31-Jul-07 7:06
professional Randor 31-Jul-07 7:06 
QuestionAccessing an edit box from multiple windows???? Pin
pblais31-Jul-07 4:36
pblais31-Jul-07 4:36 
AnswerRe: Accessing an edit box from multiple windows???? Pin
CPallini31-Jul-07 4:42
mveCPallini31-Jul-07 4:42 
GeneralRe: Accessing an edit box from multiple windows???? Pin
pblais31-Jul-07 4:47
pblais31-Jul-07 4:47 
GeneralRe: Accessing an edit box from multiple windows???? Pin
CPallini31-Jul-07 5:03
mveCPallini31-Jul-07 5:03 
GeneralRe: Accessing an edit box from multiple windows???? Pin
pblais1-Aug-07 4:19
pblais1-Aug-07 4:19 
GeneralRe: Accessing an edit box from multiple windows???? Pin
led mike31-Jul-07 5:19
led mike31-Jul-07 5:19 

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.