Announcement

Collapse
No announcement yet.

HOw to compile C programs in kubuntu?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HOw to compile C programs in kubuntu?

    im a novice programmer and i would like to know how to compile and run C source codes that i made. Im not that familiar with using GCC in linux, like when i type the command gcc -o sample sampleprogram.c in konsole ... Thanks!

    #2
    Re: HOw to compile C programs in kubuntu?

    gcc name.c -o name is the right way but you may need some libs or flags,
    you sould provide an error log for a more detailed answer.

    try man gcc

    Comment

    Working...
    X