Originally Posted by boazjones Sorry guys; but I have a C# ASP.NET question. Open a new thread; your question does not belong in this one.
Originally Posted by gbsmailadd Hello forum, I am an absolute beginner in ubuntu 12.04 LTS. I have two problems which are as follows: 01. I am having problem getting the output of a C code. Welcome to the forums. In the future, please open a new thread. It is impolite to hijack another thread to post an unrelated query.
Originally Posted by Warren Hill 2. a.out is the default output file name. If you want it to be called something else you have to tell it what. Your command should have been gcc -o HelloWorld Hello.c then to run it enter ./HelloWorld In a terminal once you are in the correct directory. ------ Alternativley if you are happy for the program to be called "a.out" ./a.out should run it Thanks. It worked. Is there any other way to get the output directly in the terminal without creating any output file?
Last edited by gbsmailadd; January 22nd, 2013 at 02:54 PM.
Welcome to the forums. In the future, please open a new thread. It is impolite to hijack another thread to post an unrelated query. Ohh! I'll keep that in mind.
Ubuntu Forums Code of Conduct
Bookmarks