|
Are we supposed to guess what the error is?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
C:\MANDTU\MANDTU.cpp(91) : error C2653: 'std' : is not a class or namespace name
Error executing cl.exe.
|
|
|
|
|
yes i have added iostream above ,after
#include "stdafx.h"
|
|
|
|
|
Have you tried using printf() instead of cout ? Have you seen this?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
ya thanks
NOW ITS NOT GIVING ERROR
BUT THE CONSOLE NOT REMAIN ,IT WIL ESCAPE SHORT
|
|
|
|
|
johnjitu wrote: IT WIL ESCAPE SHORT
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
MEANS IT CONSOLE SCREEN IS REMAIN THERE ,IT IS FLICKING ,MEANS I CANNOT SEE THE OUTPUT ,SCREEN WILL DISAPPEAR SHORTLY.
|
|
|
|
|
end your program with a readline or a read or something to that effect, then the console remains visible until you hit the enter key.
|
|
|
|
|
Thank you very much to all .........
|
|
|
|
|
So wouldn't it be easier to just create an actual console application, or do you really need a GUI for other reasons?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
|
i have put a timer like Sleep (100),now it remain there ,but i problem havnot solve yet because it opening other console ,but i would like to do this in same window ,like other normal program
|
|
|
|
|
you are supposed to know such basic things yes.
|
|
|
|
|
Why are you even doing what you are doing? If you are writing a GUI program, use the GUI. If you want a console program, use the app wizard and create a console program. Don't mix the two!
(I prefer the printf family of functions.)
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
Thanks ,i got this project in MFC and i have to use it as a console ,it will be very difficult to begin from new , getoff all the MFC part and remain works as same it will time taking .
|
|
|
|
|
I seriously doubt that. MFC can be used in a console application. Just run app wizard, pick Win32 and check the box for MFC.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
|
|
Archy_Yu wrote: I want discuss qustion with people from others contry.Who have MAN group...
Is that a Metropolitan Area Network, or are you soliciting?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
And your question for the Codeproject community is...?
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Individuality is fine, as long as we do it together - F. Burns
Help humanity, join the CodeProject grid computing team here
|
|
|
|
|
very funny. The answer to your OP questions can be found in your sig.
|
|
|
|
|
my spelling mistake,sorry.
|
|
|
|
|
nothing,I just want to join a MSN group,and make some friends with other country
discuss qustion with them, and find the gap,and improve,
my MSN email :
archy_yu@sina.com
contact me
|
|
|
|
|
Archy_Yu wrote: MAN group
My mind is clearly in the gutter. When I first read this phrase, I thought of something rather different
|
|
|
|
|
My fault,My spelling mistake,sorry.
make a friend?
my MSN emeil is :
archy_yu@sina.com
contact me?
|
|
|
|