Thread overview |
---|
February 26, 2005 widows error | ||||
---|---|---|---|---|
| ||||
im very new at this so im not sure what im doing. i wrote a simple hello program in a text file and then saved it in the dmc bin. then i magically made a .exe file.... im not even sure how that happened. And now when i click on the exe file to run there is an error message that says that "the system file is not sutiable for running ms-dos and microsoft windows applications" i mean did i write the program wrong? ... it is: #include <stdio.h> int main(void){ printf("hello!!!!"); return 0; } |
February 27, 2005 Re: widows error | ||||
---|---|---|---|---|
| ||||
Posted in reply to halfblood | In article <cvqu2m$1fv4$1@digitaldaemon.com>, halfblood says... > >im very new at this so im not sure what im doing. i wrote a simple hello program in a text file and then saved it in the dmc bin. then i magically made a .exe file.... im not even sure how that happened. And now when i click on the exe file to run there is an error message that says that "the system file is not sutiable for running ms-dos and microsoft windows applications" > >i mean did i write the program wrong? ... it is: > >#include <stdio.h> > >int main(void){ >printf("hello!!!!"); >return 0; >} > > Take a look at here: http://support.microsoft.com/default.aspx?scid=kb;en-us;324767 |
March 02, 2005 Re: widows error | ||||
---|---|---|---|---|
| ||||
Posted in reply to halfblood | "halfblood" <halfblood_member@pathlink.com> wrote in message news:cvqu2m$1fv4$1@digitaldaemon.com... > im very new at this so im not sure what im doing. i wrote a simple hello program > in a text file and then saved it in the dmc bin. then i magically made a .exe > file.... im not even sure how that happened. And now when i click on the exe > file to run there is an error message that says that "the system file is not > sutiable for running ms-dos and microsoft windows applications" > > i mean did i write the program wrong? ... it is: > > #include <stdio.h> > > int main(void){ > printf("hello!!!!"); > return 0; > } Add a \n between the ! and the ". Also, compile it with the command: dmc test.c where test.c is the name of the program source file. |
Copyright © 1999-2021 by the D Language Foundation