Click here to Skip to main content
15,897,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: _argv[] proglems Pin
hlmechanic22-Sep-06 5:42
hlmechanic22-Sep-06 5:42 
Questionwin32 API - How to use a button Pin
gunner_uk200021-Sep-06 6:13
gunner_uk200021-Sep-06 6:13 
AnswerRe: win32 API - How to use a button Pin
David Crow21-Sep-06 6:56
David Crow21-Sep-06 6:56 
QuestionRe: win32 API - How to use a button Pin
gunner_uk200021-Sep-06 23:23
gunner_uk200021-Sep-06 23:23 
AnswerRe: win32 API - How to use a button [modified] Pin
David Crow22-Sep-06 3:01
David Crow22-Sep-06 3:01 
AnswerRe: win32 API - How to use a button Pin
susiriss22-Sep-06 3:25
susiriss22-Sep-06 3:25 
QuestionShell open with Pin
Mohammad A Gdeisat21-Sep-06 6:13
Mohammad A Gdeisat21-Sep-06 6:13 
Questionarray input using edit box Pin
Cyclone0221-Sep-06 5:27
Cyclone0221-Sep-06 5:27 
Hi guys

I have been trying to make an app that gets the arra input from the user for ex:

I have made a variable for an edit box and named it BYTE m_bytes then i make another edit box and add the variable BYTE m_arrayinput thne i make a function like this:

void whatever()<br />
{<br />
     UpdateData(true);<br />
     <br />
     BYTE myarray[m_bytes] = {m_arrayinput};<br />
}


now what i want to do with this code is to for example the user enters:

Bytes: 2<br />
<br />
Array Input: 0x60, 0x90


then i want the function to interpret it as:


void whatever()<br />
{<br />
     UpdateData(true);<br />
     <br />
     BYTE myarray[2] = {0x60, 0x90};<br />
}


but this code does not work and i havnt got a clue of how to make it work so could someone please help me?

Thanks in advance





Cyclone
AnswerRe: array input using edit box Pin
Zac Howland21-Sep-06 5:39
Zac Howland21-Sep-06 5:39 
AnswerRe: array input using edit box Pin
David Crow21-Sep-06 6:59
David Crow21-Sep-06 6:59 
GeneralRe: array input using edit box Pin
Cyclone0221-Sep-06 7:15
Cyclone0221-Sep-06 7:15 
GeneralRe: array input using edit box Pin
David Crow21-Sep-06 7:28
David Crow21-Sep-06 7:28 
GeneralRe: array input using edit box Pin
Cyclone0222-Sep-06 5:59
Cyclone0222-Sep-06 5:59 
QuestionCall Windows Explorer after save files Pin
Max++21-Sep-06 5:19
Max++21-Sep-06 5:19 
AnswerRe: Call Windows Explorer after save files Pin
toxcct21-Sep-06 5:39
toxcct21-Sep-06 5:39 
QuestionDialog don't get focus back [modified] Pin
jsumm21-Sep-06 4:34
jsumm21-Sep-06 4:34 
QuestionComparing enum types Pin
Waldermort21-Sep-06 4:25
Waldermort21-Sep-06 4:25 
AnswerRe: Comparing enum types Pin
Zac Howland21-Sep-06 4:44
Zac Howland21-Sep-06 4:44 
GeneralRe: Comparing enum types Pin
Waldermort21-Sep-06 5:21
Waldermort21-Sep-06 5:21 
GeneralRe: Comparing enum types Pin
Zac Howland21-Sep-06 5:36
Zac Howland21-Sep-06 5:36 
GeneralRe: Comparing enum types Pin
Waldermort21-Sep-06 5:45
Waldermort21-Sep-06 5:45 
QuestionReceive broadcast UDP Pin
jeron121-Sep-06 4:14
jeron121-Sep-06 4:14 
QuestionRe: Receive broadcast UDP Pin
Eytukan21-Sep-06 6:17
Eytukan21-Sep-06 6:17 
AnswerRe: Receive broadcast UDP Pin
jeron121-Sep-06 7:17
jeron121-Sep-06 7:17 
QuestionTo reduce the duplication of exes Pin
johnalek21-Sep-06 3:44
johnalek21-Sep-06 3:44 

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.