these chat boards aren't very popular are they
these chat boards aren't very popular are they
there is only like 2 registered users on here
>even this websites tutorials don't tell me to put them
Really. I could have sworn that all of the code examples in those tutorials accounted for the std namespace when I wrote them! But I guess you have to be slapped in the face with it right away:
Nice game though, very entertaining.Lesson 1: The basics of C++(Printable Version)
That namespace crap is important.
This tutorial is for everyone; if you've never programmed before, or if you have extensive experience programming in other languages and want to expand into C++. It is for everyone who wants the feeling of accomplishment from a working program.
p.s. Is our month up yet?
My best code is written with the delete key.
what month.
it's a very accurate dog simulation
>>these chat boards aren't very popular are they
>>there is only like 2 registered users on here
It's not a chat board. And there's around 12,000 registered users.
>>what month.
Stick around, follow the rules, put away the "it works for me so stfu" attitude, ask smart questions, and say thanks when people help you even though you sure as hell didn't deserve it, and you might find out the nice way. Otherwise, when the month is over, you'll find out the other way.
On a lighter note, we're not really a bunch of fascist anti-newbie nazis, as I may have given you the impression of. Your posts have just irritated me somewhat.
Welcome to the boards.
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
I think the next step.. if possible.. would be to make a similar program using women instead of man's best friend.
- "Problem Solving C++, The Object of Programming" -Walter Savitch
- "Data Structures and Other Objects using C++" -Walter Savitch
- "Assembly Language for Intel-Based Computers" -Kip Irvine
- "Programming Windows, 5th edition" -Charles Petzold
- "Visual C++ MFC Programming by Example" -John E. Swanke
- "Network Programming Windows" -Jones/Ohlund
- "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
- "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel
you never gave me a greeting hunter
>>> even this websites tutorials don't tell me to put them
The tutorials here that use iostrem have to do something to bring, for example cout, into scope. Preceeding cout with std:: brings it into scope. Another way to do this is by using the entire namespace, a "using namespace std" line. Both will work. Right now <iostream.h> works as well, however, there will come a time when it will no longer be the case.
The reason people are advising you to use one of the namespace methods is because they know that this is a better solution.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.