Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Running C++, OH where, OH where
Tuxmate
post Nov 9 2003, 02:06 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 9-November 03
Member No.: 1,773



I recently installed Suse8.2, and I am making slow progress. I installed the C++ compiler and tried to use it but no joy. I found a C++ icon in /usr/bin/ . It's a pointer to a file.
I tried to run C++ from the Konsole using the following usr/bin/c++.
No joy, there seem to be something missing, or am I in the boonies.
Any of you GURUS would have a thought on the matter.
Is this C++ package a true c++ with it"s own UI like Visual C++ or any of the other programming languages.

Thank you.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Hemant
post Nov 9 2003, 03:45 PM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



You must have gcc installed on your computer before you can program on your GNU/Linux(not a joke including c/c++/java/fortran and lots others) system.
try command
$gcc --version

if you get any output then it means gcc is installed on your system and you can very well program on your system...so write a program and compile using the command..

$g++ -o <prgram> <program.cpp>

i will suggest you some excellent documents on programming on GNU/Linux ...check out..
1.http://www.cs.cf.ac.uk/Dave/C/CE.html (for c)
2.http://www.strath.ac.uk/IT/Docs/Ccourse
or else check out this link for c++
http://www.functionx.com/cpp/index.htm(they have included a guide for programming on almost any platform)..
Now let us turn to ugly question if you don't have gcc installed what to do???!!!
I have never used suse and i don't recommend anyone to use it...(A blot on entire GNU/Linux community this version is...)..but still i guess they must have gcc included in thier installation cdz..so if u have cdz then you need not to download gcc just check out CDz and install gcc from there...
and that's it.....


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th December 2017 - 01:48 PM