943,872 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1566
  • C++ RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Aug 17th, 2008
0

Re: Can't use Strings :'(

Yes the file's name ends with .cpp

One question. I know that this program (Borland), works without a problem at my university, so can I simply work here at may house with any other program, and then go there and Copy&Paste the code in Borland? Will there be any problem?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Risame is offline Offline
8 posts
since Aug 2008
Aug 17th, 2008
0

Re: Can't use Strings :'(

BTW Yes I had the #include <iostream> when I compiled the program, And it still gave those errors.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Risame is offline Offline
8 posts
since Aug 2008
Aug 17th, 2008
0

Re: Can't use Strings :'(

Click to Expand / Collapse  Quote originally posted by Risame ...
Yes the file's name ends with .cpp

One question. I know that this program (Borland), works without a problem at my university, so can I simply work here at may house with any other program, and then go there and Copy&Paste the code in Borland? Will there be any problem?

Seems like that would work. You can try Dev C++ or Code Blocks or Visual Studio Express. All are free and modern.

http://en.wikipedia.org/wiki/Compari...t_environments
Featured Poster
Reputation Points: 2614
Solved Threads: 687
Posting Expert
VernonDozier is offline Offline
5,375 posts
since Jan 2008
Aug 17th, 2008
0

Re: Can't use Strings :'(

Well guess I will have to do that, can't see any other way. I have spent like two days trying to make this work, and I guess I have had enough ^^

Thank you all for your help, hope my bad English hasn't been a problem
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Risame is offline Offline
8 posts
since Aug 2008
Aug 17th, 2008
0

Re: Can't use Strings :'(

That ancient Borland compiler probably wants <iostream.h> and leave out the using namespace std; statement.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is online now Online
21,952 posts
since Aug 2005
Aug 18th, 2008
0

Re: Can't use Strings :'(

Click to Expand / Collapse  Quote originally posted by Risame ...
Well guess I will have to do that, can't see any other way. I have spent like two days trying to make this work, and I guess I have had enough ^^

Thank you all for your help, hope my bad English hasn't been a problem
Off topic: You actually type better English than some people who have lived in America for over 40 years...
Reputation Points: 392
Solved Threads: 108
Posting Shark
Alex Edwards is offline Offline
971 posts
since Jun 2008
Aug 18th, 2008
0

Re: Can't use Strings :'(

As far as I know no namespaces and string class (no STL at all) in BC++ 3.1. Old streams implementation via <iostream.h> - that's all...
Reputation Points: 1234
Solved Threads: 347
Postaholic
ArkM is offline Offline
2,001 posts
since Jul 2008
Aug 18th, 2008
0

Re: Can't use Strings :'(

Off topic: You actually type better English than some people who have lived in America for over 40 years...
Haha thanx ^^

Just for you to know, I talked with my professor and asked him if there was a way for using Strings witn Borland, and he said to me that no there isn't, that that was one of the reasons for chossing that program...

Now I have wasted 2 days trying to figure out something that did't have solution, and looks like he wants us to create our own String Class O.o . What a great start...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Risame is offline Offline
8 posts
since Aug 2008
Aug 18th, 2008
0

Re: Can't use Strings :'(

Quote originally posted by Risame ...
What a great start...
Don't think that way. Think about how much you've learned through all of the troubleshooting.
Reputation Points: 361
Solved Threads: 97
Posting Pro
Radical Edward is offline Offline
526 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Random Change Between
Next Thread in C++ Forum Timeline: About the modulo operator





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC