Click here to Skip to main content
15,920,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: stl list error in memory.h Pin
kfaday3-Jun-04 9:11
kfaday3-Jun-04 9:11 
GeneralRe: stl list error in memory.h Pin
palbano3-Jun-04 9:23
palbano3-Jun-04 9:23 
GeneralRe: stl list error in memory.h Pin
kfaday3-Jun-04 9:38
kfaday3-Jun-04 9:38 
GeneralRe: stl list error in memory.h Pin
palbano3-Jun-04 9:48
palbano3-Jun-04 9:48 
GeneralRe: stl list error in memory.h Pin
kfaday3-Jun-04 9:56
kfaday3-Jun-04 9:56 
GeneralRe: stl list error in memory.h Pin
palbano3-Jun-04 10:35
palbano3-Jun-04 10:35 
GeneralRe: stl list error in memory.h Pin
Jonas Larsson3-Jun-04 22:42
Jonas Larsson3-Jun-04 22:42 
Generalerror C2143: syntax error : missing ';' before '.' Pin
elephantstar3-Jun-04 8:48
elephantstar3-Jun-04 8:48 
Hi there,

When I call the convertString function I get the 2 of the same errors on the same line: missing ';' before '.' I can't seem to find a problem with it. Can someone help me?

Thanks!

char temp2[6];
UINT temp;

temp = 129;
CRex.convertString(temp2, temp); //error on this line

/**********************************************************

void CRex::convertString(char *value, unsigned int num)
{
char convert[8] = {'0', '1', '2', '3', '4', '5', '6', '7'};

value[0] = convert[num >> 12 & 0x7];
value[1] = convert[num >> 9 & 0x7];
value[2] = convert[num >> 6 & 0x7];
value[3] = convert[num >> 3 & 0x7];
value[4] = convert[num & 0x7];
value[5] = 0;
}
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
David Crow3-Jun-04 8:51
David Crow3-Jun-04 8:51 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
palbano3-Jun-04 9:02
palbano3-Jun-04 9:02 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
vcplusplus3-Jun-04 10:19
vcplusplus3-Jun-04 10:19 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
Paul Ranson3-Jun-04 11:41
Paul Ranson3-Jun-04 11:41 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
elephantstar3-Jun-04 12:47
elephantstar3-Jun-04 12:47 
GeneralRetrieving a processes STARTINFO (or desktop) Pin
Nnamdi Onyeyiri3-Jun-04 8:43
Nnamdi Onyeyiri3-Jun-04 8:43 
GeneralRe: Retrieving a processes STARTINFO (or desktop) Pin
David Crow3-Jun-04 8:49
David Crow3-Jun-04 8:49 
GeneralRe: Retrieving a processes STARTINFO (or desktop) Pin
Nnamdi Onyeyiri3-Jun-04 9:00
Nnamdi Onyeyiri3-Jun-04 9:00 
GeneralService Restart Pin
Peter Weyzen3-Jun-04 7:56
Peter Weyzen3-Jun-04 7:56 
GeneralRe: Service Restart Pin
Anonymous3-Jun-04 18:43
Anonymous3-Jun-04 18:43 
GeneralRe: Service Restart Pin
palbano3-Jun-04 18:48
palbano3-Jun-04 18:48 
GeneralRe: Service Restart Pin
Peter Weyzen4-Jun-04 0:16
Peter Weyzen4-Jun-04 0:16 
GeneralSmall ComboBox Pin
doctorpi3-Jun-04 6:58
doctorpi3-Jun-04 6:58 
GeneralRe: Small ComboBox Pin
Antony M Kancidrowski3-Jun-04 9:35
Antony M Kancidrowski3-Jun-04 9:35 
GeneralRe: Small ComboBox Pin
Johan Rosengren4-Jun-04 3:39
Johan Rosengren4-Jun-04 3:39 
Generaldevice context for a menu Pin
Anonymous3-Jun-04 6:29
Anonymous3-Jun-04 6:29 
GeneralRe: device context for a menu Pin
Trollslayer3-Jun-04 7:09
mentorTrollslayer3-Jun-04 7:09 

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.