| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"Sean" |
| Date: |
17 Oct 2006 08:00:14 AM |
| Object: |
what is std:: |
i use turbo c++ compiler v3.0
pl tell what is this std::
like in 1 of the topic/discussion below sum1 writes std::vector..
i cant use this thing in my compiler. it says sumth like std must b a
membr of struct or class. pl help
.
|
|
| User: "Michael" |
|
| Title: Re: what is std:: |
17 Oct 2006 01:12:07 PM |
|
|
like in 1 of the topic/discussion below sum1 writes std::vector..
i cant use this thing in my compiler. it says sumth like std must b a
membr of struct or class. pl help
I also get a message like that if I forgot to include the right header
file:
// File 1
#include <vector>
using std::vector; // Okay
// File 2
using std::vector; // Gives me an error message like what you're
reporting.
Michael
.
|
|
|
|
| User: "Sean" |
|
| Title: Re: what is std:: |
17 Oct 2006 09:24:50 AM |
|
|
I downloaded bulider C++ (free version) fron the borland site. But im
unable to use it.
I have managed to install the downloaded .exe file but how do i get to
run the compiler?
below is an extract fron the readme file
===============================================
C++BUILDER COMMAND LINE TOOLS
RELEASE NOTES
===============================================
This file contains important supplementary and
late-breaking information that may not appear
in the main product documentation. We recommend
that you read this file in its entirety.
CONTENTS
===============================================
-- PRODUCT NOTES AND ISSUES
-- ONLINE HELP
-- PRODUCT INFORMATION ON THE WEB
PRODUCT NOTES AND ISSUES
===============================================
Installing and running the Command Line Tools
-----------------------------------------------
1. Run freecommandlinetools.exe; choose the
drive and folder into which you want to
install the free C++Builder 5 command line
tool development system.
2. From the bin directory of your installation:
a. Add "c:\Borland\Bcc55"
to the existing path
b. Create a bcc32.cfg file which will set
the compiler options for the Include
and Lib paths (-I and -L switches to
compiler) by adding these lines:
-I"c:\Borland\Bcc55\include"
-L"c:\Borland\Bcc55\lib"
c. Create an ilink32.cfg file which will set
the linker option for the Lib path by
adding this line:
-L"c:\Borland\Bcc55\lib"
.
|
|
|
| User: "Martin Steen" |
|
| Title: Re: what is std:: |
17 Oct 2006 10:02:12 AM |
|
|
Sean wrote:
I downloaded bulider C++ (free version) fron the borland site. But im
unable to use it.
I have managed to install the downloaded .exe file but how do i get to
run the compiler?
The most common way to control compiler commandline tools is
a tool called "make".
You set up a file named "makefile" which contains instructions how
to build your application. Then you call make by typing "make" in a
commandline-shell.
http://en.wikipedia.org/wiki/Make
http://www.gnu.org/software/make/manual/html_node/index.html
If you really want to use commandline-tools it's nice to have
Microsoft Powertoys. The tool "commandline here" lets you open
a shell via right mouseclick on any folder.
-Martin
.
|
|
|
|
| User: "Bart" |
|
| Title: Re: what is std:: |
17 Oct 2006 02:49:36 PM |
|
|
Sean wrote:
I downloaded bulider C++ (free version) fron the borland site. But im
unable to use it.
I have managed to install the downloaded .exe file but how do i get to
run the compiler?
below is an extract fron the readme file
Let's see...
We recommend that you read this file in its entirety.
I think that's pretty clear. Have you RTFM?
In any case, as already mentioned, here we deal with pure
language-related questions only. If you have compiler problems try one
of the borland groups.
Regards,
Bart.
.
|
|
|
|
| User: "mlimber" |
|
| Title: Re: what is std:: |
17 Oct 2006 09:28:56 AM |
|
|
Sean wrote:
I downloaded bulider C++ (free version) fron the borland site. But im
unable to use it.
I have managed to install the downloaded .exe file but how do i get to
run the compiler?
below is an extract fron the readme file
[snip]
This is off-topic here
(http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9).
Please ask in a newsgroup or forum for that product or for your
platform.
Cheers! --M
.
|
|
|
|
|
| User: "mlimber" |
|
| Title: Re: what is std:: |
17 Oct 2006 08:38:37 AM |
|
|
Sean wrote:
i use turbo c++ compiler v3.0
pl tell what is this std::
like in 1 of the topic/discussion below sum1 writes std::vector..
i cant use this thing in my compiler. it says sumth like std must b a
membr of struct or class. pl help
std is the namespace where the standard library resides. Your compiler
is pretty old (you know you can get newer ones for free, right? Google
for it.) and doesn't likely support namespaces.
Cheers! --M
.
|
|
|
|
| User: "Kai-Uwe Bux" |
|
| Title: Re: what is std:: |
17 Oct 2006 08:41:00 AM |
|
|
Sean wrote:
i use turbo c++ compiler v3.0
pl tell what is this std::
like in 1 of the topic/discussion below sum1 writes std::vector..
i cant use this thing in my compiler. it says sumth like std must b a
membr of struct or class. pl help
std is the standard namespace.
I have no idea whether that completely answers your question. Please keep in
mind that this is an international news group. A native speaker of English
may have a shot at understanding his language spelled with radical
abbreviations. A non-native speaker is facing a much harder challenge.
Please use the spelling that all of us at some point learned at school. It
helps tremendously.
Best
Kai-Uwe Bux
.
|
|
|
| User: "Kaz Kylheku" |
|
| Title: Re: what is std:: |
18 Oct 2006 01:12:43 AM |
|
|
Kai-Uwe Bux wrote:
Sean wrote:
i use turbo c++ compiler v3.0
pl tell what is this std::
like in 1 of the topic/discussion below sum1 writes std::vector..
Please use the spelling that all of us at some point learned at school. It
helps tremendously.
What about "std" representing "standard"? The irony ...
.
|
|
|
|
|
| User: "Victor Bazarov" |
|
| Title: Re: what is std:: |
17 Oct 2006 08:37:19 AM |
|
|
Sean wrote:
i use turbo c++ compiler v3.0
pl tell what is this std::
It's a prefix required to qualify the standard names, which are pretty
much all declared/defined in the 'std' namespace. Learn about C++
namespaces and you'll know what 'std::' is.
like in 1 of the topic/discussion below sum1 writes std::vector..
i cant use this thing in my compiler. it says sumth like std must b a
membr of struct or class. pl help
Get a better compiler.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
.
|
|
|
|

|
Related Articles |
|
|