there's somthing....
I have installed RedHat 8.0 ....
I created a file called test.c #include <stdio.h> void main() { printf("test"); } This is what I get in my terminal [root@localhost]#gcc -o test test.c [root@localhost]#./test [root@localhost]# so I can't open the file .... than I downloaded some other *.c files but I have the same problem |
gcc filename.c -o filename
g++ filename.cpp -o filename ./filename Does it compile at all? What do you see? |
Did you setup execute permissions on it?
chmod a+x test ./test HTH -NSKL |
this is on my screen...
[root@localhost]#gcc -o test test.c [root@localhost]#./test [root@localhost]# theres no erorr messages thers nothing it compiles the program but i don't know why i can't open it ... I send the exectuble file that i creating from compiling to my freind and he can open it but i can't open it.... |
yes i did it NSKL
|
All times are GMT -5. The time now is 04:58 AM. |