Click here to Skip to main content
15,867,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is there a way to trace an mpi message through a topology? Pin
Richard MacCutchan19-Jan-13 21:32
mveRichard MacCutchan19-Jan-13 21:32 
QuestionSOLVED Cannot access #include files – “permission denied” Pin
Vaclav_19-Jan-13 4:38
Vaclav_19-Jan-13 4:38 
AnswerRe: Cannot access #include files – “permission denied” Pin
Richard MacCutchan19-Jan-13 5:23
mveRichard MacCutchan19-Jan-13 5:23 
GeneralRe: Cannot access #include files – “permission denied” Pin
Vaclav_19-Jan-13 7:09
Vaclav_19-Jan-13 7:09 
GeneralRe: Cannot access #include files – “permission denied” Pin
Richard MacCutchan19-Jan-13 7:11
mveRichard MacCutchan19-Jan-13 7:11 
GeneralRe: Cannot access #include files – “permission denied” Pin
Vaclav_19-Jan-13 12:02
Vaclav_19-Jan-13 12:02 
GeneralRe: Cannot access #include files – “permission denied” Pin
Richard MacCutchan19-Jan-13 21:26
mveRichard MacCutchan19-Jan-13 21:26 
QuestionWriting a non-Windows program Pin
Anthony Appleyard19-Jan-13 1:23
Anthony 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).

C#
#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 Pin
Richard MacCutchan19-Jan-13 1:35
mveRichard MacCutchan19-Jan-13 1:35 
QuestionHow to get Visual C++ to use the char* forms of standard functions? Pin
Anthony Appleyard19-Jan-13 1:15
Anthony Appleyard19-Jan-13 1:15 
AnswerRe: How to get Visual C++ to use the char* forms of standard functions? Pin
SajeeshCheviry19-Jan-13 1:29
SajeeshCheviry19-Jan-13 1:29 
GeneralRe: How to get Visual C++ to use the char* forms of standard functions? Pin
Richard MacCutchan19-Jan-13 1:34
mveRichard MacCutchan19-Jan-13 1:34 
AnswerRe: How to get Visual C++ to use the char* forms of standard functions? Pin
Richard MacCutchan19-Jan-13 1:33
mveRichard MacCutchan19-Jan-13 1:33 
GeneralRe: How to get Visual C++ to use the char* forms of standard functions? Pin
SajeeshCheviry19-Jan-13 1:37
SajeeshCheviry19-Jan-13 1:37 
GeneralRe: How to get Visual C++ to use the char* forms of standard functions? Pin
Anthony Appleyard19-Jan-13 12:06
Anthony Appleyard19-Jan-13 12:06 
QuestionFor beginners introduction to CFormView, CView ? Pin
bosfan18-Jan-13 11:04
bosfan18-Jan-13 11:04 
AnswerRe: For beginners introduction to CFormView, CView ? Pin
Jibesh18-Jan-13 13:36
professionalJibesh18-Jan-13 13:36 
GeneralRe: For beginners introduction to CFormView, CView ? Pin
bosfan18-Jan-13 22:51
bosfan18-Jan-13 22:51 
AnswerRe: For beginners introduction to CFormView, CView ? Pin
SajeeshCheviry19-Jan-13 1:28
SajeeshCheviry19-Jan-13 1:28 
GeneralRe: For beginners introduction to CFormView, CView ? Pin
bosfan19-Jan-13 4:38
bosfan19-Jan-13 4:38 
GeneralRe: For beginners introduction to CFormView, CView ? Pin
SajeeshCheviry19-Jan-13 7:37
SajeeshCheviry19-Jan-13 7:37 
QuestionUsing the OpenFileDialog in Console? Pin
Member 975216818-Jan-13 7:01
Member 975216818-Jan-13 7:01 
QuestionRe: Using the OpenFileDialog in Console? Pin
jeron118-Jan-13 7:32
jeron118-Jan-13 7:32 
AnswerRe: Using the OpenFileDialog in Console? Pin
Member 975216818-Jan-13 7:38
Member 975216818-Jan-13 7:38 
GeneralRe: Using the OpenFileDialog in Console? Pin
jeron118-Jan-13 8:07
jeron118-Jan-13 8:07 

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.