so let's start from the begining.
--open your terminal (if u dont know how then go to .... goggle)
ok then there are 2 programs to use 1- gcc 2- vi
those programs are in every Linux's distribution (I think so!)
ok first thing is to create a file to write into by using (touch)
try this
then
you will find the new file listed like this
ash@localhost ~$ ls
Desktop/ Download/ Pictures/ test.c* tmp/
Documents/ Music/ Videos/
then now you can open it using (vi) "a simple text editor"
ok now if you want to insert text press (i) and type what ever u want
then after u finish press Esc then type
if u did press Esc without noticing(i always do) u can return to text inserting mode by pressing (i)
now try to write this to the file
#include <stdio.h>
int main()
{
printf("fokak meny\n");
return 0;
}
then save
to compile it then type in termenal
the test.o is the output file
to run ur program simply type in termenal
if u want more knowledge in those commands type(for example)
>>> man vi
>>> man cat
that's all folks!!
N.B: plz replay if u need more of those stupid lessons (no replays means that everybody there has already done all this before so no need for this )
thank you
ASH