Google Answers Logo
View Question
 
Q: Redhat/c++ ( Answered 5 out of 5 stars,   1 Comment )
Question  
Subject: Redhat/c++
Category: Computers > Programming
Asked by: jimmyjrosu-ga
List Price: $5.00
Posted: 17 May 2003 17:42 PDT
Expires: 16 Jun 2003 17:42 PDT
Question ID: 205235
I am wanting to write code (C++) under the RedHat 9.0 operating
system, can anyone
give me instruction on how to do this.  I just need step by step
intructions compiling, building and executing a simple program. 
Nothing fancy.. I want know what application would need to be used and
how to used it (not detailed)  Thanks!
Answer  
Subject: Re: Redhat/c++
Answered By: seizer-ga on 17 May 2003 18:13 PDT
Rated:5 out of 5 stars
 
Hello there!

Redhat 9 comes with a C++ compiler built in, so the steps required are
quite simple.

Use your favourite text editor to create a file in your home
directory, called "test.cpp". In this file, write the following:

#include <iostream.h>

main()
{
cout << "Hello from Google Answers!\n";
}

After saving this, open up a console window, and type:

g++ test.cpp -o test

Assuming you saved your file in the correct directory, it will now be
compiled. The executable file will be called "test", and you can run
this by typing:

./test

Easy enough, I hope! If it's not clear, though, please use the
"request clarification" feature before rating this answer, and I'll do
my best to help you further.

All the best,

--seizer

Request for Answer Clarification by jimmyjrosu-ga on 18 May 2003 05:43 PDT
Just wondering if there is some type of interface (like visual studio)
for redhat though?

Clarification of Answer by seizer-ga on 18 May 2003 06:09 PDT
Hello again!

There are quite a few good Integrated Development Environments for
Redhat (and in fact, all Linux distributions).

You could try KDevelop:

http://www.kdevelop.org/

Or Xemacs:

http://www.xemacs.org

Or KDE Studio:

http://www.thekompany.com/projects/kdestudio/

Or Eclipse:

http://www.eclipse.org/

Hope one of these suits your needs!

Regards,

--seizer
jimmyjrosu-ga rated this answer:5 out of 5 stars
Thanks for the quick response and great answer!!!!!

Comments  
Subject: Re: Redhat/c++
From: aceresearcher-ga on 09 Jun 2003 01:05 PDT
 
Jimmy,

Regarding your questions at
http://answers.google.com/answers/main?cmd=threadview&id=214338
http://answers.google.com/answers/main?cmd=threadview&id=214440

If you paid for the software with a credit card, it is entirely
possible that you will be able to call your credit card company and
have the charge removed from your bill. I know that VISA and
MasterCard will do this. There should be a Customer Service phone
number on the back of your card, or on one of your billing statements,
and you can file a "dispute" for not receiving merchandise for which
you have paid.

The amount will be credited back to you account immediately, and all
associated interest charges for that amount removed from your bill.
You will most likely need to gather all documentation about your
efforts to contact the company and write it up on a "dispute" report
that the credit card company will send you.

Or, you can write a letter stating that you are disputing the charge,
the date of the charge, the amount, the company involved, state that
you didn't receive the merchandise, document all your attempts to
contact the company, and then mail or fax it immediately to your
credit card company, rather than wait for their generic form to arrive
in the mail.

I hope that this information enables you to get speedy resolution for
your problem!

Regards,

ace

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy