![]() |
|
cmd doesn't compile and run C code - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: C, C++, & Obj-C (https://sinister.li/Forum-C-C-Obj-C) +--- Thread: cmd doesn't compile and run C code (/Thread-cmd-doesn-t-compile-and-run-C-code) |
cmd doesn't compile and run C code - Geo777 - 11-24-2013 Hello ! I've started learning C programming language.Installed all required programs. After creating programs , I compile and run them in cmd. But command doesn't read the code. " can not open output file, permission denied".Only making programs, without testing and checking them isn't useful. Can you give me an advice ? cmd doesn't compile and run C code - Geo777 - 11-24-2013 Hello ! I've started learning C programming language.Installed all required programs. After creating programs , I compile and run them in cmd. But command doesn't read the code. " can not open output file, permission denied".Only making programs, without testing and checking them isn't useful. Can you give me an advice ? RE: cmd doesn't compile and run C code - Slarek - 11-24-2013 Could you post the code? RE: cmd doesn't compile and run C code - Slarek - 11-24-2013 Could you post the code? RE: cmd doesn't compile and run C code - Geo777 - 11-24-2013 (11-24-2013, 04:51 PM)Slarek Wrote: Could you post the code? Yes ! For example : Code: #include<stdio.h>
/*
es aris chemi pirveli programa
*/
int main () {
puts("hello world");
int i;
i = 15;
printf("i_s mnishvneloba aris %i", i);
return 0 ;
}Of course , this is the simplest program in C , but cmd doesn't open it . RE: cmd doesn't compile and run C code - Geo777 - 11-24-2013 (11-24-2013, 04:51 PM)Slarek Wrote: Could you post the code? Yes ! For example : Code: #include<stdio.h>
/*
es aris chemi pirveli programa
*/
int main () {
puts("hello world");
int i;
i = 15;
printf("i_s mnishvneloba aris %i", i);
return 0 ;
}Of course , this is the simplest program in C , but cmd doesn't open it . RE: cmd doesn't compile and run C code - Slarek - 11-24-2013 Please use code tags. Are you a Linux user? RE: cmd doesn't compile and run C code - Slarek - 11-24-2013 Please use code tags. Are you a Linux user? RE: cmd doesn't compile and run C code - Geo777 - 11-24-2013 (11-24-2013, 05:21 PM)Slarek Wrote: Please use code tags. No , I am not linux user , I use windows. RE: cmd doesn't compile and run C code - Geo777 - 11-24-2013 (11-24-2013, 05:21 PM)Slarek Wrote: Please use code tags. No , I am not linux user , I use windows. |