473,395 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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

Oct 17 '06 #1
9 2226
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
Oct 17 '06 #2
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

Oct 17 '06 #3
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
Oct 17 '06 #4
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"

Oct 17 '06 #5
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-lit....html#faq-5.9).
Please ask in a newsgroup or forum for that product or for your
platform.

Cheers! --M

Oct 17 '06 #6
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/man...ode/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
Oct 17 '06 #7
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

Oct 17 '06 #8
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.

Oct 17 '06 #9
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 ...

Oct 18 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Steven T. Hatton | last post by:
I know of a least one person who believes std::ifstream::read() and std::ofstream::write() are "mistakes". They seem to do the job I want done. What's wrong with them. This is the code I...
10
by: Jim Langston | last post by:
Expected output of program: Key is: 0 String is: Hello Key is: 1 String is: Goodbye Key is: 2 String is: The end Actual output: Key is: 0 String is: The End Key is: 1 String is: Key is: 2...
2
by: dasilva109 | last post by:
Hi guys I am new to C++ and need urgent help with this part of my code for a uni coursework I have to submit by Thursday //ClientData.h #ifndef CLIENTDATA_H #define CLIENTDATA_H #include...
5
by: pkirk25 | last post by:
It looks like the Visuakl Studio Intellisense can see the various functions but its compiler cannot. I am well out of my depth with this error message. report.obj : error LNK2019: unresolved...
3
by: vainstah | last post by:
Hello Guys and Galls, To start off, I have reached the solution I was looking for, but I would like comments and feedback on the solution I have reached and tips/tricks on making it more elegant....
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.