473,385 Members | 1,907 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,385 software developers and data experts.

Why can't the sentence compile?

ofstream outf("data/CaseHistory.dat", iso::app);

I have included the file named iomanip.h
Error message:
[C++ Error] Doctor.cpp(72): E2090 Qualifier 'iso' is not a class or
namespace name

Aug 3 '06 #1
2 1603
sword:

Try:

std::ofstream out ( "your_path.txt",std::ios::out | std::ios::app);

std->is the namespace
ios->the base clase of the class ofstream
app->some typedefed value

got it?

sword wrote:
ofstream outf("data/CaseHistory.dat", iso::app);

I have included the file named iomanip.h
Error message:
[C++ Error] Doctor.cpp(72): E2090 Qualifier 'iso' is not a class or
namespace name
Aug 3 '06 #2
sword wrote:
ofstream outf("data/CaseHistory.dat", iso::app);
You probably mean ios::app.

Regards,
Sumit.
--
Sumit RAJAN <su*********@geoconcept.com>
Aug 3 '06 #3

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

Similar topics

1
by: Christian Buck | last post by:
Hi, i'm writing a regexp that matches complete sentences in a german text, and correctly ignores abbrevations. Here is a very simplified version of it, as soon as it works i could post the...
1
by: Torsten Bronger | last post by:
Hallöchen! I work on the XML output routines of Texinfo at the moment and have to cope with the difference between full stops "." that mean the end of a sentence and such that denote an...
8
by: huhu | last post by:
Hi, I meet a sentence: ------------------------------------------------ struct intNode *(*fpt)(void)= {createList, inNode, delNode,revNode,NULL};...
6
by: mike | last post by:
Hello, I am trying to write some code to parse a sentence and hyperlink just the words in it. I used Aaron's code from an earlier question as a start. So far, all the code does below is...
8
by: Scott | last post by:
I would like to automatically change the first letter to upper case and keep the rest intact of each sentence on a control of a form, i.e., i am going to school. see you in the afternoon. -I am...
2
by: Etienne Hilson | last post by:
Hello the list :-) I do a little program that permit the user to manage list of sentences. This program runs into a linux shell. The user can add, modify and delete the sentences. What I want...
4
by: wohast | last post by:
Hi, I'm stuck at the very beginning of my current assignment. I just need a little help getting started, and then I know how to do everything else. ask user: "Please enter your name followed by...
12
by: jackson.rayne | last post by:
Hello, I am a javascript newbie and I'm stick at one place. I have a requirement where I will get a sentence in a variable example var v1 ="This is a sentence"
3
by: dmalhotr2001 | last post by:
Hi, For string extraction function in vb, if I feed in a paragraph, how do I extract the first sentence of that paragraph. Thanks :D
4
by: xhani | last post by:
Hi , can anyone help me about writing a given sentence in Floyd's triangle . e.g , printf("Write a sentence:\n"); sentence=getchar(); ( I should not use arrays ,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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:
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
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,...

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.