Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am using "C++ Weekend Crash Course", written by Stephen R. Davis. I typed in the code that he listed in his book, saved it, opened up a console and typed, "gcc Conversion.cpp -o Conversion". I just got a page of errors. Then I tried using the code that is on the cd that came with the book, but with the same results.
Thanks in advance,
or maybe since you said that it worked better, but also it didn't work and it put you back to the command prompt, maybe it just compiled successfully and the executable is just sitting there waiting to be ran
that would be my guess. successful compile and program is just waiting to be run. if you just used g++ filename.cpp then the program is a.out but if you used g++ -o filename filename.cpp then the program is filename. try running it.