<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to install turbo c++ in linux(Xanthros) and create a program?</title>
	<atom:link href="http://www.linuxbuzz.net/2008/12/how-to-install-turbo-c-in-linuxxanthros-and-create-a-program/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxbuzz.net/2008/12/how-to-install-turbo-c-in-linuxxanthros-and-create-a-program/</link>
	<description></description>
	<lastBuildDate>Sun, 04 Jan 2009 13:10:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: mckay_gerhard</title>
		<link>http://www.linuxbuzz.net/2008/12/how-to-install-turbo-c-in-linuxxanthros-and-create-a-program/comment-page-1/#comment-291</link>
		<dc:creator>mckay_gerhard</dc:creator>
		<pubDate>Fri, 02 Jan 2009 17:20:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxbuzz.net/2008/12/how-to-install-turbo-c-in-linuxxanthros-and-create-a-program/#comment-291</guid>
		<description>xandros (no xanthros) its a debian good linux, u must type this command in a konsole:

apt-get install gcc g++ gcc-3.4 g++3.4

and then gcc the C compiler of linux will install, and for a program u have a big problem, u comes from windows, so u dont known how to code C ansii, many libs not are inlinux and others OS, so write a progran and put in any folder, then open a konsole from it folder and just type and execute this command line:

gcc source.c -o execute

the &quot;source.c&quot; are the text plain with C code, and a file &quot;execute&quot; without extension are created in same place, for test program create from code type:

sh ./execute

and thats all ...

get more info here:

ja ja ja, if u plain use linux u must comes firts on tree things:
1)read before any thing that u want to do!
2)analize, not asume anything!
3)thinks, thinks, not just click the buttons!</description>
		<content:encoded><![CDATA[<p>xandros (no xanthros) its a debian good linux, u must type this command in a konsole:</p>
<p>apt-get install gcc g++ gcc-3.4 g++3.4</p>
<p>and then gcc the C compiler of linux will install, and for a program u have a big problem, u comes from windows, so u dont known how to code C ansii, many libs not are inlinux and others OS, so write a progran and put in any folder, then open a konsole from it folder and just type and execute this command line:</p>
<p>gcc source.c -o execute</p>
<p>the &#8220;source.c&#8221; are the text plain with C code, and a file &#8220;execute&#8221; without extension are created in same place, for test program create from code type:</p>
<p>sh ./execute</p>
<p>and thats all &#8230;</p>
<p>get more info here:</p>
<p>ja ja ja, if u plain use linux u must comes firts on tree things:<br />
1)read before any thing that u want to do!<br />
2)analize, not asume anything!<br />
3)thinks, thinks, not just click the buttons!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qgqlochekone</title>
		<link>http://www.linuxbuzz.net/2008/12/how-to-install-turbo-c-in-linuxxanthros-and-create-a-program/comment-page-1/#comment-290</link>
		<dc:creator>qgqlochekone</dc:creator>
		<pubDate>Wed, 31 Dec 2008 11:41:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxbuzz.net/2008/12/how-to-install-turbo-c-in-linuxxanthros-and-create-a-program/#comment-290</guid>
		<description>how stupid are a windows user, u think that all OS are like windows, open u&#039;r eyes please!

if u are christina and swicht to musulman, u must understang that both religions are totali diferents!!!!!!! same are on the O.S&#039;s

xandros not comes with all preinstaled, in linux not exist turbo &quot;stupid&quot; c++, thers kdevelop, gambas, tkwin, etc.. and ofcourse the powerfully6 gcc, the C compiler on linux..

u must learnd many before devel in real C code, real C programers are in linux, well, where u need start!?

Debian linux has a lot of documentation, but usage its also hard too!? what a dilema right!

its good to registre to forums in foruns linux sites, but real foruns, not stupid foruns...

1) firts, u must search for terminal usage how to, its stupid show u here how to use, u must search by u&#039;r self

2)second, u must use real linux distro for devel issues, debian or slack are the right answers, and the first linux useds for devel in the world, and debian are the mother of distros and live cd&#039;s..

3) u must lear to program and code in real C ansi, if u comes from windows u dont known nothing yet, conio.h and others libs are non-exist on the 34 diferent O.S. on the world of computing issues...

all of this documentation are on network, but u must take care of orign docs, if the site are sun, or ywing, or any linux devel user or comunity, sure are a good documentation!

see this site for packages of debian for devel on microchips (PIC&#039;s and z80 procesors)</description>
		<content:encoded><![CDATA[<p>how stupid are a windows user, u think that all OS are like windows, open u&#8217;r eyes please!</p>
<p>if u are christina and swicht to musulman, u must understang that both religions are totali diferents!!!!!!! same are on the O.S&#8217;s</p>
<p>xandros not comes with all preinstaled, in linux not exist turbo &#8220;stupid&#8221; c++, thers kdevelop, gambas, tkwin, etc.. and ofcourse the powerfully6 gcc, the C compiler on linux..</p>
<p>u must learnd many before devel in real C code, real C programers are in linux, well, where u need start!?</p>
<p>Debian linux has a lot of documentation, but usage its also hard too!? what a dilema right!</p>
<p>its good to registre to forums in foruns linux sites, but real foruns, not stupid foruns&#8230;</p>
<p>1) firts, u must search for terminal usage how to, its stupid show u here how to use, u must search by u&#8217;r self</p>
<p>2)second, u must use real linux distro for devel issues, debian or slack are the right answers, and the first linux useds for devel in the world, and debian are the mother of distros and live cd&#8217;s..</p>
<p>3) u must lear to program and code in real C ansi, if u comes from windows u dont known nothing yet, conio.h and others libs are non-exist on the 34 diferent O.S. on the world of computing issues&#8230;</p>
<p>all of this documentation are on network, but u must take care of orign docs, if the site are sun, or ywing, or any linux devel user or comunity, sure are a good documentation!</p>
<p>see this site for packages of debian for devel on microchips (PIC&#8217;s and z80 procesors)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.linuxbuzz.net/2008/12/how-to-install-turbo-c-in-linuxxanthros-and-create-a-program/comment-page-1/#comment-289</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 29 Dec 2008 04:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxbuzz.net/2008/12/how-to-install-turbo-c-in-linuxxanthros-and-create-a-program/#comment-289</guid>
		<description>I would recommend doing it manually.  It&#039;s not that bad.  I&#039;ll give you some basic pointers to get you going.  There are actually only 3-ish steps, but I&#039;ll explain them in detail so you can learn it and not just copy-paste some gibberish.

First you need to open a terminal.  Go to your &quot;working folder&quot; in your terminal.  This is the folder where you are, well, working.  This folder should have your .c file (programming in c) or .cpp file (programming in c++)

============================
1.  NAVIGATING THE TERMINAL

ls: shows you the contents of your folder
cd foldername: moves where you are into another folder
cd ..:  goes up a level in the folders

Note that the command &quot;dir&quot; is Window&#039;s version of &quot;ls&quot;.
Also keep in mind that folder names is case-sensitive, so typing &quot;cd Documents&quot; isn&#039;t the same as &quot;cd documents&quot;.

========================
2.  COMPILING YOUR PROGRAM

You need to compile your program so you can run it.  You can do this from any folder.
-----------------------------------------
2 (part 1) GETTING A COMPILER

type:
sudo apt-get install g++

why?
sudo: tells the computer that you have administrative privileges
apt-get: means get application
install: install
g++: the name of a widely-used, very popular compiler

In the terminal it&#039;ll show you g++ installing.  Now you can compile whenever you want in whatever folder.  The g++ package works for compiling BOTH C and C++

---------------------------
2 (part 2)  COMPILING

To compile a C++ program, type:
g++ source.cpp -o programName

why?
g++: tells the terminal that you are compiling a program

source.cpp: the source file that you made.  The &quot;source&quot; is what you typed to make the program.  If you have multiple files that you want to compile, just list them all here.
example:
g++ file1.cpp file2.cpp -o programName

-o: says that we&#039;re going to name your compiled file (naming the result)  I think o stands for output.

programName: whatever you want it to be, but name your output and don&#039;t leave this blank.

=====================
3. RUNNING YOUR PROGRAM

type:
./programName

=======================

That&#039;s all there is to it!  If you want to compile programs in C instead of C++ I&#039;d recommend replacing g++ with gcc.  gcc is a compiler that only takes C source files.

in short,

install the g++ compiler
see what folders we have
move into folders
make the program
run the program

sudo apt-get install g++ 
cd ls
cd foldername
g++ sourceFileName.cpp -o programName
./programName

Remember that knowing just HOW to make a program doesn&#039;t mean anything if you don&#039;t know WHY it works.  Try to understand the steps posted here.

PS: if your program has errors in it, then they will display when you try to compile it.  g++ will tell you what lines you messed up on.</description>
		<content:encoded><![CDATA[<p>I would recommend doing it manually.  It&#8217;s not that bad.  I&#8217;ll give you some basic pointers to get you going.  There are actually only 3-ish steps, but I&#8217;ll explain them in detail so you can learn it and not just copy-paste some gibberish.</p>
<p>First you need to open a terminal.  Go to your &#8220;working folder&#8221; in your terminal.  This is the folder where you are, well, working.  This folder should have your .c file (programming in c) or .cpp file (programming in c++)</p>
<p>============================<br />
1.  NAVIGATING THE TERMINAL</p>
<p>ls: shows you the contents of your folder<br />
cd foldername: moves where you are into another folder<br />
cd ..:  goes up a level in the folders</p>
<p>Note that the command &#8220;dir&#8221; is Window&#8217;s version of &#8220;ls&#8221;.<br />
Also keep in mind that folder names is case-sensitive, so typing &#8220;cd Documents&#8221; isn&#8217;t the same as &#8220;cd documents&#8221;.</p>
<p>========================<br />
2.  COMPILING YOUR PROGRAM</p>
<p>You need to compile your program so you can run it.  You can do this from any folder.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
2 (part 1) GETTING A COMPILER</p>
<p>type:<br />
sudo apt-get install g++</p>
<p>why?<br />
sudo: tells the computer that you have administrative privileges<br />
apt-get: means get application<br />
install: install<br />
g++: the name of a widely-used, very popular compiler</p>
<p>In the terminal it&#8217;ll show you g++ installing.  Now you can compile whenever you want in whatever folder.  The g++ package works for compiling BOTH C and C++</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
2 (part 2)  COMPILING</p>
<p>To compile a C++ program, type:<br />
g++ source.cpp -o programName</p>
<p>why?<br />
g++: tells the terminal that you are compiling a program</p>
<p>source.cpp: the source file that you made.  The &#8220;source&#8221; is what you typed to make the program.  If you have multiple files that you want to compile, just list them all here.<br />
example:<br />
g++ file1.cpp file2.cpp -o programName</p>
<p>-o: says that we&#8217;re going to name your compiled file (naming the result)  I think o stands for output.</p>
<p>programName: whatever you want it to be, but name your output and don&#8217;t leave this blank.</p>
<p>=====================<br />
3. RUNNING YOUR PROGRAM</p>
<p>type:<br />
./programName</p>
<p>=======================</p>
<p>That&#8217;s all there is to it!  If you want to compile programs in C instead of C++ I&#8217;d recommend replacing g++ with gcc.  gcc is a compiler that only takes C source files.</p>
<p>in short,</p>
<p>install the g++ compiler<br />
see what folders we have<br />
move into folders<br />
make the program<br />
run the program</p>
<p>sudo apt-get install g++<br />
cd ls<br />
cd foldername<br />
g++ sourceFileName.cpp -o programName<br />
./programName</p>
<p>Remember that knowing just HOW to make a program doesn&#8217;t mean anything if you don&#8217;t know WHY it works.  Try to understand the steps posted here.</p>
<p>PS: if your program has errors in it, then they will display when you try to compile it.  g++ will tell you what lines you messed up on.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

