You can use SDL for Graphics stuffs, its cross-platform and very easy to learn/use. I discourage you to use graphics.h/conio.h as its dos based and really backdated.<br>Install Anjuta its a good IDE for the beginners. You'll have to install few other dependencies too. If you don't want to do that use gcc from terminal<br>
Also you can eclipse with C/C++ support, its very powerful <br>Personally I use Vim, but I won't suggest you as it have a steep learning curve, but when you get to use it its very powerful :)<br><br>to compile with default<br>
<span style="font-family: courier new,monospace;">gcc filename.c</span><br>In this case run the executable by<br><span style="font-family: courier new,monospace;">./a.out</span><br>to get all warnings use<br><span style="font-family: courier new,monospace;">gcc -Wall filename.c</span><br>
for debugging option use<br><span style="font-family: courier new,monospace;">gcc -g filename.c</span><br>and finally<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">gcc -o Test filename.c</span><br>
this will build the executable as Test, you'll have to run using <br><span style="font-family: courier new,monospace;">./Test</span><br>also learn to use makefile they are very usefull when you get to use them<br>Thats for start, gcc have many options, to Debug use <span style="font-family: courier new,monospace;">gdb</span> in terminal or <span style="font-family: courier new,monospace;">nemiver</span><br>
<br><div class="gmail_quote">On Tue, May 27, 2008 at 9:27 AM, nasir khan <<a href="mailto:nasir8891@gmail.com">nasir8891@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am learning C programming. <br>Now i want to know how to use gcc or is there any better application to write C programs, where I can use graphics and other options.<br clear="all"><font color="#888888"><br>-- <br>[saikat]
</font><br>--<br>
ubuntu-bd mailing list<br>
<a href="mailto:ubuntu-bd@lists.ubuntu.com">ubuntu-bd@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd</a><br>
<br></blockquote></div><br>