salam
I want to know how to compile C or C++ code in FC4. Pls tell me commands in detail.
Thanks
How to compile C langauge code?
-
- Naib Subedar
- Posts: 344
- Joined: Sat Apr 10, 2004 9:07 pm
- Location: Karachi
- Contact:
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Farrukh Ahmed
Re: How to compile C langauge code?
Dearsherwani wrote:salam
I want to know how to compile C or C++ code in FC4. Pls tell me commands in detail.
Thanks
vi test.c
#include <stdio.h>
#include <conio.h>
main()
{
printf("RedHat Enterprise Linux version 4.0");
}
after writing program save it.
khanzada # gcc test.c -o test
#./test (To Run your program)
Regards
Noman Liaquat Khanzada Rajput