Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: How Static variable persists/retains its value.? PinmemberPecuniousPete9-Dec-12 20:20 
AnswerRe: How Static variable persists/retains its value.? Pinmembersajeesh.c9-Dec-12 20:25 
GeneralRe: How Static variable persists/retains its value.? PinmemberPecuniousPete10-Dec-12 7:58 
GeneralRe: How Static variable persists/retains its value.? Pinmembersajeesh.c10-Dec-12 16:50 
GeneralRe: How Static variable persists/retains its value.? PinmemberPecuniousPete11-Dec-12 7:18 
QuestionVC6.0 compiler error C2664 while using GUID PinmemberVaclav_Sal9-Dec-12 5:44 
AnswerRe: VC6.0 compiler error C2664 while using GUID PinmvpRichard MacCutchan9-Dec-12 6:02 
GeneralRe: VC6.0 compiler error C2664 while using GUID PinmemberVaclav_Sal9-Dec-12 7:14 
GeneralRe: VC6.0 compiler error C2664 while using GUID Pinmemberjschell9-Dec-12 8:16 
AnswerRe: VC6.0 compiler error C2664 while using GUID PinmemberPecuniousPete10-Dec-12 8:00 
AnswerRe: VC6.0 compiler error C2664 while using GUID PinmemberArild Fiskum19-Dec-12 10:18 
QuestionFork Implementation using the native API RtlCloneUserProcess Pinmemberakhilmv889-Dec-12 4:00 
QuestionDeclaring a TBYTE in C. PinmemberMember 41945938-Dec-12 15:04 
AnswerRe: Declaring a TBYTE in C. Pinmembermanoranjan8-Dec-12 20:56 
This should help you:
 
typedef unsigned char tbyte[10];
 
int main()
{
  tbyte a;
  a[0] = 3;
  return 0;
}
 
The drawback is it doesn't initialize the array for you.
 
My 2 cents: Please don't mix different languages' idioms. Each language is meant for a different purpose.
 
If you need to, you can easily use assembly. VC++ supports inline assembly. Otherwise, you can write a separate asm file and then link the resulting object file to your exe.
GeneralRe: Declaring a TBYTE in C. PinmemberMember 41945939-Dec-12 3:29 
GeneralRe: Declaring a TBYTE in C. Pinmembermanoranjan9-Dec-12 23:47 
GeneralRe: Declaring a TBYTE in C. PinmemberMember 419459310-Dec-12 12:11 
GeneralRe: Declaring a TBYTE in C. Pinmembermanoranjan11-Dec-12 1:35 
QuestionMethods bank account PinmemberMagda63477-Dec-12 10:17 
AnswerRe: Methods bank account PinmvpRichard MacCutchan7-Dec-12 21:56 
AnswerRe: Methods bank account PinmemberAlan Balkany10-Dec-12 5:43 
AnswerRe: Methods bank account PinmemberPecuniousPete10-Dec-12 8:05 
GeneralRe: Methods bank account PinmemberMagda634713-Mar-13 11:36 
Questionread text file Pinmemberpeoria1237-Dec-12 9:59 
AnswerRe: read text file PinmemberAndré Kraak7-Dec-12 20:56 
AnswerRe: read text file Pinmembersajeesh.c9-Dec-12 21:05 
QuestionWM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmemberVaclav_Sal7-Dec-12 4:10 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmemberJochen Arndt7-Dec-12 5:56 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pinmemberjeron17-Dec-12 5:59 
GeneralRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmemberVaclav_Sal7-Dec-12 6:58 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmvpRichard MacCutchan7-Dec-12 21:51 
GeneralRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmemberVaclav_Sal9-Dec-12 5:47 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmemberPecuniousPete9-Dec-12 20:23 
Questionhow to find out the codes who eat up my memory? PinmemberFalconapollo7-Dec-12 2:32 
AnswerRe: how to find out the codes who eat up my memory? PinmvpRichard MacCutchan7-Dec-12 2:54 
QuestionRe: how to find out the codes who eat up my memory? PinmemberDavidCrow7-Dec-12 2:55 
AnswerRe: how to find out the codes who eat up my memory? PinmemberFalconapollo7-Dec-12 3:11 
QuestionRe: how to find out the codes who eat up my memory? PinmemberDavidCrow7-Dec-12 3:25 
AnswerRe: how to find out the codes who eat up my memory? PinmemberFalconapollo7-Dec-12 3:28 
AnswerRe: how to find out the codes who eat up my memory? PinmemberJoe Woodbury7-Dec-12 8:30 
AnswerRe: how to find out the codes who eat up my memory? Pinmembervr9999999998-Dec-12 1:25 
AnswerRe: how to find out the codes who eat up my memory? PinmemberPecuniousPete11-Dec-12 20:42 
QuestionImage processing and converter PinmemberFlaviu26-Dec-12 22:12 
QuestionRe: Image processing and converter PinmvpRichard MacCutchan6-Dec-12 22:18 
AnswerRe: Image processing and converter PinmemberFlaviu26-Dec-12 22:26 
GeneralRe: Image processing and converter PinmvpRichard MacCutchan6-Dec-12 23:32 
GeneralRe: Image processing and converter PinmemberFlaviu27-Dec-12 1:00 
GeneralRe: Image processing and converter PinmvpRichard MacCutchan7-Dec-12 1:11 
GeneralRe: Image processing and converter PinmemberFlaviu27-Dec-12 1:44 
GeneralRe: Image processing and converter PinmemberChris Losinger10-Dec-12 8:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web02 | 2.8.140814.1 | Last Updated 20 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid