Can't use Strings :'(

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2008
Posts: 8
Reputation: Risame is an unknown quantity at this point 
Solved Threads: 0
Risame Risame is offline Offline
Newbie Poster

Re: Can't use Strings :'(

 
0
  #11
Aug 17th, 2008
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?
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 8
Reputation: Risame is an unknown quantity at this point 
Solved Threads: 0
Risame Risame is offline Offline
Newbie Poster

Re: Can't use Strings :'(

 
0
  #12
Aug 17th, 2008
BTW Yes I had the #include <iostream> when I compiled the program, And it still gave those errors.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 3,818
Reputation: VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute 
Solved Threads: 501
Featured Poster
VernonDozier VernonDozier is offline Offline
Senior Poster

Re: Can't use Strings :'(

 
0
  #13
Aug 17th, 2008
Originally Posted by Risame View Post
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 8
Reputation: Risame is an unknown quantity at this point 
Solved Threads: 0
Risame Risame is offline Offline
Newbie Poster

Re: Can't use Strings :'(

 
0
  #14
Aug 17th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,401
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1467
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Can't use Strings :'(

 
0
  #15
Aug 17th, 2008
That ancient Borland compiler probably wants <iostream.h> and leave out the using namespace std; statement.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 973
Reputation: Alex Edwards is a jewel in the rough Alex Edwards is a jewel in the rough Alex Edwards is a jewel in the rough Alex Edwards is a jewel in the rough 
Solved Threads: 107
Alex Edwards's Avatar
Alex Edwards Alex Edwards is offline Offline
Posting Shark

Re: Can't use Strings :'(

 
0
  #16
Aug 18th, 2008
Originally Posted by Risame View Post
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...
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 2,001
Reputation: ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of 
Solved Threads: 343
ArkM's Avatar
ArkM ArkM is offline Offline
Postaholic

Re: Can't use Strings :'(

 
0
  #17
Aug 18th, 2008
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...
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 8
Reputation: Risame is an unknown quantity at this point 
Solved Threads: 0
Risame Risame is offline Offline
Newbie Poster

Re: Can't use Strings :'(

 
0
  #18
Aug 18th, 2008
Originally Posted by Alex Edwards View Post
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...
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 351
Reputation: Radical Edward has a spectacular aura about Radical Edward has a spectacular aura about Radical Edward has a spectacular aura about 
Solved Threads: 62
Radical Edward's Avatar
Radical Edward Radical Edward is offline Offline
Posting Whiz

Re: Can't use Strings :'(

 
0
  #19
Aug 18th, 2008
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.
If at first you don't succeed, keep on sucking until you do succeed.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC