Click here to Skip to main content
       

C / C++ / MFC

 
QuestionRe: The 'rename' function gives errno == -1 PinmemberDavidCrow20-Jan-13 15:17 
AnswerRe: The 'rename' function gives errno == -1 PinmemberAnthony Appleyard20-Jan-13 18:15 
GeneralRe: The 'rename' function gives errno == -1 PinmvpRichard MacCutchan20-Jan-13 4:49 
AnswerRe: The 'rename' function gives errno == -1 Pinmemberjschell20-Jan-13 6:13 
GeneralBANZAI :: bug found [modified] PinmemberAnthony Appleyard20-Jan-13 23:50 
QuestionIs there a way to trace an mpi message through a topology? PinmemberCioroiu Adrian-Nicu19-Jan-13 6:39 
AnswerRe: Is there a way to trace an mpi message through a topology? PinmvpRichard MacCutchan19-Jan-13 21:32 
QuestionSOLVED Cannot access #include files – “permission denied” [modified] PinmemberVaclav_Sal19-Jan-13 4:38 
AnswerRe: Cannot access #include files – “permission denied” PinmvpRichard MacCutchan19-Jan-13 5:23 
GeneralRe: Cannot access #include files – “permission denied” PinmemberVaclav_Sal19-Jan-13 7:09 
GeneralRe: Cannot access #include files – “permission denied” PinmvpRichard MacCutchan19-Jan-13 7:11 
GeneralRe: Cannot access #include files – “permission denied” PinmemberVaclav_Sal19-Jan-13 12:02 
GeneralRe: Cannot access #include files – “permission denied” PinmvpRichard MacCutchan19-Jan-13 21:26 
QuestionWriting a non-Windows program PinmemberAnthony Appleyard19-Jan-13 1:23 
One of the bygone useful features of the ancient days before DOS programming vanished, was ability, when I wanted to calculate something quickly, to quickly write a program where control started at the beginning and ran down the text like in a knitting pattern and and I did not have to catch Windows messages and events. A short example follows at the end of this message. Please, how can I use Visual C++ to write and run such a program, and how to run it? (I have Windows Vista).
 
#include <stdio.h>
#include <std.h>
int F; char s[256],*nl="\n";
void v(int i,int j){sprintf(s,"%1d,%-3d %c%c%c%c ",i,j,0xc0,j,i,0xc0);
    write(F,s,11);}
main(){int i,j; F=open("t$$",0x8002);
for(j=0;j<=84;j++) v(4,j); write(F,nl,1);
for(j=0;j<=34;j++) v(5,j); write(F,nl,1);
for(j=0;j<=234;j++) v(6,j); write(F,nl,1);
close(F);}

AnswerRe: Writing a non-Windows program PinmvpRichard MacCutchan19-Jan-13 1:35 
QuestionHow to get Visual C++ to use the char* forms of standard functions? PinmemberAnthony Appleyard19-Jan-13 1:15 
AnswerRe: How to get Visual C++ to use the char* forms of standard functions? PinmemberSajeeshCheviry19-Jan-13 1:29 
GeneralRe: How to get Visual C++ to use the char* forms of standard functions? PinmvpRichard MacCutchan19-Jan-13 1:34 
AnswerRe: How to get Visual C++ to use the char* forms of standard functions? PinmvpRichard MacCutchan19-Jan-13 1:33 
GeneralRe: How to get Visual C++ to use the char* forms of standard functions? PinmemberSajeeshCheviry19-Jan-13 1:37 
GeneralRe: How to get Visual C++ to use the char* forms of standard functions? PinmemberAnthony Appleyard19-Jan-13 12:06 
QuestionFor beginners introduction to CFormView, CView ? Pinmemberbosfan18-Jan-13 11:04 
AnswerRe: For beginners introduction to CFormView, CView ? Pinmemberjibesh18-Jan-13 13:36 
GeneralRe: For beginners introduction to CFormView, CView ? Pinmemberbosfan18-Jan-13 22:51 
AnswerRe: For beginners introduction to CFormView, CView ? PinmemberSajeeshCheviry19-Jan-13 1:28 
GeneralRe: For beginners introduction to CFormView, CView ? Pinmemberbosfan19-Jan-13 4:38 
GeneralRe: For beginners introduction to CFormView, CView ? PinmemberSajeeshCheviry19-Jan-13 7:37 
QuestionUsing the OpenFileDialog in Console? [modified] PinmemberMember 975216818-Jan-13 7:01 
QuestionRe: Using the OpenFileDialog in Console? Pinmemberjeron118-Jan-13 7:32 
AnswerRe: Using the OpenFileDialog in Console? PinmemberMember 975216818-Jan-13 7:38 
GeneralRe: Using the OpenFileDialog in Console? Pinmemberjeron118-Jan-13 8:07 
SuggestionRe: Using the OpenFileDialog in Console? PinmemberMember 975216818-Jan-13 8:33 
QuestionHELP: how to load satellite DLL for a DLL Pinmemberandwan018-Jan-13 5:54 
AnswerRe: HELP: how to load satellite DLL for a DLL Pinmemberandwan021-Jan-13 22:46 
QuestionCompiling libexif 0.6.21 PinmemberSharath C V17-Jan-13 18:19 
AnswerRe: Compiling libexif 0.6.21 PinmvpCPallini17-Jan-13 21:55 
GeneralRe: Compiling libexif 0.6.21 PinmemberSharath C V18-Jan-13 15:51 
GeneralRe: Compiling libexif 0.6.21 PinmvpCPallini18-Jan-13 23:18 
AnswerRe: Compiling libexif 0.6.21 PinmemberGraham Breach17-Jan-13 22:41 
GeneralRe: Compiling libexif 0.6.21 PinmemberSharath C V18-Jan-13 15:49 
QuestionNeed Debugging tips: MFC static library DLL PinmemberClark Kent12317-Jan-13 8:06 
AnswerRe: Need Debugging tips: MFC static library DLL PinmvpRichard MacCutchan17-Jan-13 23:07 
QuestionRe: Need Debugging tips: MFC static library DLL PinmemberClark Kent12318-Jan-13 3:03 
AnswerRe: Need Debugging tips: MFC static library DLL PinmemberDavid Knechtges18-Jan-13 3:43 
GeneralRe: Need Debugging tips: MFC static library DLL PinmemberClark Kent12318-Jan-13 4:19 
AnswerRe: Need Debugging tips: MFC static library DLL PinmvpRichard MacCutchan18-Jan-13 4:11 
GeneralRe: Need Debugging tips: MFC static library DLL PinmemberClark Kent12318-Jan-13 4:18 
GeneralRe: Need Debugging tips: MFC static library DLL PinmvpRichard MacCutchan18-Jan-13 4:23 
GeneralRe: Need Debugging tips: MFC static library DLL PinmemberClark Kent12318-Jan-13 4:32 
AnswerRe: Need Debugging tips: MFC static library DLL PinmemberAlan Balkany18-Jan-13 5:21 

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
Web04 | 2.8.140916.1 | Last Updated 20 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid