473,398 Members | 2,120 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,398 software developers and data experts.

"STL .NET" in VS 2005 Beta 2

Is "STL .NET" included in Beta 2? If yes, under what namespace?
Nov 17 '05 #1
8 1294
STL.NET Primer
http://msdn.microsoft.com/library/de...-netprimer.asp
--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org
Nov 17 '05 #2
Rodrigo Corral [MVP] wrote:
STL.NET Primer
http://msdn.microsoft.com/library/de...-netprimer.asp

temp.cpp(1) : fatal error C1083: Cannot open include file: 'cli/vector': No such
file or directory

C:\c>
Nov 17 '05 #3
Ioannis Vranos wrote:
temp.cpp(1) : fatal error C1083: Cannot open include file: 'cli/vector':
No such
file or directory

OK I found it. The headers are in the style:

#include <cliext/vector> and the namespace is cliext.
I think this cliext is very confusing. Couldn't it be stdcli as it was before?
Anyway, a code example that compiles with /clr:safe.
#include <cliext/vector>
int main()
{
using namespace System;
using namespace cliext;

vector<String ^> somevec;

somevec.push_back("Test");
Console::WriteLine(somevec[0]);
}
C:\c>temp
Test

C:\c>
Nov 17 '05 #4
Another interesting case:
#include <cliext/string>
int main()
{
using namespace System;
using namespace cliext;

string s= "Test";

for(string::size_type i=0; i<s.size(); ++i)
Console::WriteLine(s[i]);
}

C:\c>temp
T
e
s
t

C:\c>
Nov 17 '05 #5
I don't get it. My Beta 2 has nothing like that. There's no cliext in my
entire hard disk, stdcli doesn't exist either, even a grep returns
nothing but 4 dll files containing the string "stdcli", and there's
nothing at all that contains the string "cliext". I doubt the public
Beta 2 has STL.NET. Where did you download it from?

Tom

Ioannis Vranos wrote:
Ioannis Vranos wrote:
temp.cpp(1) : fatal error C1083: Cannot open include file:
'cli/vector': No such
file or directory


OK I found it. The headers are in the style:

#include <cliext/vector> and the namespace is cliext.
I think this cliext is very confusing. Couldn't it be stdcli as it was
before?
Anyway, a code example that compiles with /clr:safe.
#include <cliext/vector>
int main()
{
using namespace System;
using namespace cliext;

vector<String ^> somevec;

somevec.push_back("Test");
Console::WriteLine(somevec[0]);
}
C:\c>temp
Test

C:\c>

Nov 17 '05 #6
I have the same problem. No cli at all, actually nothing of STL.NET in beta
2 of VS 2005.

I guess it's simply not in there?

Jürgen Devlieghere
Nov 17 '05 #7
Jürgen Devlieghere wrote:
I have the same problem. No cli at all, actually nothing of STL.NET
in beta 2 of VS 2005.

I guess it's simply not in there?


It simply is there.

Are you using VC++ Express or Visual Studio 2005?

-cd
Nov 17 '05 #8
Not the express. "Visual Studio 2005 Standard Beta 2 (English)" from the
MSDN site. File: en_vs_2005_std_dvd_beta2.iso, downloaded on 4/18/2005.

Tom

Carl Daniel [VC++ MVP] wrote:
Jürgen Devlieghere wrote:
I have the same problem. No cli at all, actually nothing of STL.NET
in beta 2 of VS 2005.

I guess it's simply not in there?

It simply is there.

Are you using VC++ Express or Visual Studio 2005?

-cd

Nov 17 '05 #9

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

Similar topics

2
by: Generic Usenet Account | last post by:
I have been using STL for a long time now, without any problems. Recently we generated a purification report on our software using Rational Purify, and we found some memory leaks. My colleague...
4
by: Ioannis Vranos | last post by:
Will "STL .NET" of VS 2005 include a fully managed std::string? -- Ioannis Vranos
2
by: | last post by:
I like the "view in browser" feature of vs.net: right click from an aspx page, and preview a working version of the page. I don't like how this can't be launched from the pages' codebehind. The...
2
by: Brent White | last post by:
I have IIS 6 on a Windows 2003 box running with FP 2002 Extensions, which are enabled. I am trying to open an existing website called CrystalASP, which has ASP files in it, but I'm trying to use...
1
by: vad | last post by:
Hi, Can anybody explain me, please, what the folder "obj" in VB.NET 2005 for? And what the difference between folders "bin" and "obj"? Thank you.
7
by: Denis Samoilov | last post by:
We have a namespace N which includes enumeration ENUM1 and a class C with property C.Enum1, e.g. namespace N { public enum ENUM1{}; public class C { public ENUM1 Enum1 { get{} set{}
1
by: Carlos Villaseñor M. | last post by:
Hi Everybody! I just developed my first application in C#.Net 2005, but I encounter thatif I create a simple deployment application to install it in other computers, when the...
1
by: Electric Co. | last post by:
Hello, I have two questions: 1.) Could I create a custom server control in 2005 in order to leverage the CompositeControl base class and then use that control in 2003? (fingers crossed but...
1
by: Brad Pears | last post by:
I am working on a vb .net 2005 project. Recently I wanted to changed the location of my builds from debug to release. I clicked on the 'Build option and for some unknown reason, the "configuration...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.