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

MS Visual Studio2003.net string varables

I already did the following things for my program;

#include<iostream>
#include<string>
.
.
.
string S;

Problem...in my Visual Studio2003.net won't take string variables.It won't even highlight <string> keyword as it is declared.Please let me know what's wrong with it?

Sethsiri
Aug 21 '07 #1
1 1159
Banfa
9,065 Expert Mod 8TB
Problem...in my Visual Studio2003.net won't take string variables.It won't even highlight <string> keyword as it is declared.Please let me know what's wrong with it?
string is not a keyword it is a type name.

Have you put

Expand|Select|Wrap|Line Numbers
  1. using namespace std;
  2.  
somewhere between the includes and the code?
Aug 21 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Graham Mattingley | last post by:
Hello Group, I have a small problem I dont seem to be able to fix. When I have a form which sends data using GET to an ASP page, it addes X & Y into the get string URL see below ...
7
by: Forecast | last post by:
I run the following code in UNIX compiled by g++ 3.3.2 successfully. : // proj2.cc: returns a dynamic vector and prints out at main~~ : // : #include <iostream> : #include <vector> : : using...
4
by: Geoff Cox | last post by:
Hello, After much effort I have got the Visual C# code below to work using Visual C# 2005 Express Beta 2 and now I am trying to convert it to Visual C++ code so that I can use it in Visual C++...
4
by: LCAdeveloper | last post by:
I have had to move to Visual Studio.NET Pro. from Visual Basic 4.0 and am now starting to re-write our code. I was a bit surprised to find that Visual Basic.NET no longer supports fixed length...
11
by: Rolf Welskes | last post by:
Hello, the problem seems to be complex and is in all developments of web-controls which uses own TypeConverter. For this I have here a simple demo-program of the problem: The Control-code: A...
0
by: vivekshrivastava51 | last post by:
i m make one window aplication project in c#.net using visual studio 2003 all thing is well and it is runing very fine but the problem is that when i send mail from from "my window application" ...
1
by: cnixuser | last post by:
Hello, I am having a problem that I believe is related to the way a stream reader object looks for a text file by default. What I am doing is using a StreamReader object to read the text of a text...
4
by: Vadim | last post by:
Hello, I need to converting project that done on Visual Studio 2005 to Visual Studio 2003. What the best way to do this? Vadim Vilkhov
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
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
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?
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.