wait, so what should i change? i tried using full header name, that didn''t work, and i tried using namespace std; and that didn''t work either :''(
am i doomed to work forever with dev c++?
What about me? What about Raven?
Visual C++
do what pouya and invective said: File -> New -> Projects then win32 console aplication for dos like aplication that run in a dos prompt like window, or win32 aplication for a windows program that uses WinMain() rather than main()...
then it will ask you to add stuff to your program, choose what you want... then you will have a project!!!
now you can use any of the File->New (Files tab)to add new files to your project or right click on the project or in one of its folders to import already existing files with "Add Files to the Project..."
and i guess that is all to get started... you will probabily learn how VC++ workspaces and projects works with time( the same happened with me in the beggining... i used to code in turbo c++ :p )
hope i helped
-------------------------------
MOTHERSHIP!!! hahaha! very funny! now take me outta here!!!!!
[edited by - The Alchemist on March 17, 2002 10:01:36 PM]
then it will ask you to add stuff to your program, choose what you want... then you will have a project!!!
now you can use any of the File->New (Files tab)to add new files to your project or right click on the project or in one of its folders to import already existing files with "Add Files to the Project..."
and i guess that is all to get started... you will probabily learn how VC++ workspaces and projects works with time( the same happened with me in the beggining... i used to code in turbo c++ :p )
hope i helped
-------------------------------
MOTHERSHIP!!! hahaha! very funny! now take me outta here!!!!!
[edited by - The Alchemist on March 17, 2002 10:01:36 PM]
"Everything works out in the end, if it doesn't then it is not the end"
quote: Original post by sanguineraven
wait, so what should i change? i tried using full header name, that didn''t work, and i tried using namespace std; and that didn''t work either :''(
Did you try what I wrote in my last post? (the post about including "stdafx.h". Perhaps you missed it in the heat of the iostream flamewar )
That should have fixed the precompiled header directive error that you got. Do you still get this error? If not, what errors do you get?
March 17, 2002 07:07 PM
quote: Original post by Matt Calabrese
Don''t act like an ass to people you don''t know.
I wasn''t an ass to you, you don''t be an ass to me, got it!?
He can''t help it. He has too high a regard for himself to interact with those "below" him politely.
What''s all this about precompiled header directives? And what IS the difference between and ? I''ve read that you''re supposed to write it without the h now but some vendors don''t support it just yet so you still have to use it with the h.
Oh, and what''s a namespace? And why don''t I know any of this!!?
Oh, and what''s a namespace? And why don''t I know any of this!!?
"All the girls that turn me on (turn me down)"
quote: Original post by yottskry
What''s all this about precompiled header directives? And what IS the difference between <iostrean.h> and <iostream>?
The difference is that iostream is the only one which is standard. iostream.h is not specified by the Standard, so there''s no guarantee of what it implements. MS''s version of iostream.h, for example, does not support std::string.
quote:
I''ve read that you''re supposed to write it without the h now but some vendors don''t support it just yet so you still have to use it with the h.
Which vendors are those? The Standard''s been around for 4 years. If a vendor doesn''t care enough to get something this simple correct after that period of time, then it''s not worth using their products.
quote:
Oh, and what''s a namespace? And why don''t I know any of this!!?
It''s a lexical scoping mechanism. The Standard Library lives in namespace std. What learning resources are you using that don''t teach this?
quote: Original post by Anonymous Poster
He can''t help it. He has too high a regard for himself to interact with those "below" him politely.
Bad guess. My problem is with the dissemination of misinformation as if it were fact.
quote:
Oh, and what''s a namespace? And why don''t I know any of this!!? What learning resources are you using that don''t teach this?
I''m not really. I was a Pascal programmer and now a bit of C++ so I got MSVC++ and started writing a game. I look up just the bits I need to know when I come across a problem.
I''m gonna buy a book sometime but at the moment I''m a bit skint.
"All the girls that turn me on (turn me down)"
You can''t learn C++ like that. There are too many potential pitfalls and oddities that you need to learn about. Buy Accelerated C++.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement