Linux For Your Life

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 28 October 2009

How To Running C Language on Linux

Posted on 04:40 by Unknown
This time we will discuss how to run the C programming language in the system linux operating. We know that C is oriented programming language Objects or in other words is the OOP (Object Oriented Progaram). Language C an initial language used to create a linux kernel, so if we want to know about linux we also need to know how the linux kernel
It can be built only in C and we must know the C language itself .

Then let us now practice on your computer.

1.Open notepad that is on your linux, it's up to any kind of notepad

2.Type a simple program below into your notepad.

# include
main () (
int number = 42;
printf ( "The answer is% i \ n", number);
)

3.Save simple.c name in your home directory, each of us to program in C to save the exstensi *. c:

File>> Save As >> simple.c

4.Open your terminal and enter into your root system and run the command in below:

# gcc -o simple.c simple
#. / simple 




5. If successful, the terminal will show the output "The answer is 42".

Thank's
By:Mr.Gm
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Programming Language | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Format USB in linux for use as Live USB
        In the main discussion at this time, you can find a variety of distribution LiveUSB that can be installed in the UFD. However, after an...
  • Active & Passive Sentences
    1.Theory and example from active & passive voice Active Voice         Active voice is where the object recieves the action of the verb.A...
  • Using Guide BackInTime
    In short how to use BackInTime are as follows: 1.On the start page will appear BackInTime some important parameters to fill tone, such a...
  • sitemap
    Applications install Dropbox On Linux What is Dropbox How to install an use Back In Time What is BackInTime Install windows on linux Organiz...
  • How to restore grub boot-loader after installing windows
         This tutorial will explain how to restore Grub after installing Windows 7/Vista/Xp.If you are using dual boot PC with windows,Ubuntu fo...
  • Dahsyat atau Inbox
         Acara musik sekarang ini sudah bukan pembicaraan asing lagi di telinga kita ,dari pagi sampai malam pasti ada acara musik yang menghibu...
  • How To Using Nautilus Scripts
    With script s you can do many things such as : make an enhanced "open with"-alike feature (open some files that match a filter in ...
  • Lakukan apa yang ingin anda lakukan
        Lakukan apa yang ingin anda lakukan ,gunakanlah semua kemampuan anda untuk berfikir , membuka sesuatu ,menjalanka sesuatu dan membuat ap...
  • Download super fast with the command lftp in ubuntu linux
         Simply capitalize a terminal window and lftp program, we've got a manager download manager and download accelerator that can suck a...
  • installation XAMPP
    If you want the integration of the Apache web server, MySQL database server, and PHP / Perl in one package, you can install XAMPP XAMPP is a...

Categories

  • Applications
  • cairo-dock
  • convert Rpm to Deb
  • Desktop
  • Distro
  • Download Manager
  • Fix Crash GUI
  • Format USB
  • game
  • hardware
  • Install Linux
  • internet and Web
  • Linux Intro
  • LiveUSB
  • Local Repository
  • nautilus
  • Optimize Linux system
  • Programming Language
  • Robot
  • Server
  • so
  • Terminal
  • Tips and Trick OpenOffice
  • Tugas Manajemen Proyek dan Risiko
  • Tugas SoftSkill
  • wifi

Blog Archive

  • ►  2012 (5)
    • ►  June (2)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
  • ►  2011 (29)
    • ►  December (10)
    • ►  November (2)
    • ►  October (2)
    • ►  May (11)
    • ►  March (2)
    • ►  February (2)
  • ►  2010 (74)
    • ►  December (13)
    • ►  October (4)
    • ►  June (12)
    • ►  May (10)
    • ►  April (6)
    • ►  March (8)
    • ►  February (18)
    • ►  January (3)
  • ▼  2009 (42)
    • ▼  October (6)
      • How To Running C Language on Linux
      • Fedora 11
      • Changing OpenOffice Splash Screen Images
      • sitemap
      • Switch to Kubuntu, Xubuntu, or Edubuntu
      • Add a swap file or expand existing swap space
    • ►  September (13)
    • ►  August (13)
    • ►  July (10)
Powered by Blogger.

About Me

Unknown
View my complete profile