Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

C++ cast and STL

Posted on 1997-03-04
1
Medium Priority
?
205 Views
Last Modified: 2010-04-10
Does Sun C++ v4.1 compiler support C++ cast (static_cast, dynamic_cast, etc..) and STL?  If yes, how can I get it to work on my SPARC workstation?
0
Comment
Question by:phan030397
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
yonat earned 300 total points
ID: 1162131
You can get the SGI STL port that works with SunPro C++ v4.1 (and
other compilers) from:
http://www.ipmce.su/people/fbp/stl/stlport.html
You "get it to work" by extracting all the files to some
directory, and adding this directory to your include path.
About the casts: I know const_cast is supported, so I imagine
that the other casts are supported too.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question