#include <iostream>

int main() {

    std::cout << "Hello, DaniWeb!\n"
    << "I'm learning C++ from a book. When I finish this book I'm sure I'll have tonnes of questions for you. Thanks in advance.\n";

return 0;


If I screwed that up, I'm embarrassed. Possibly that isn't as clean or as effective as it could be, but so far in the book I'm reading it's completely fine. (In the book there would actually be more gaps in there lol)

Anyways, my name is Jeff, I'm 19 years old, I live in British Columbia in Canada, and have just recently taken my general interest of computers (ie. graphics, games, programming, IT etc. I don't have much knowledge under my belt yet at all) to the next stage and chose Programming as a starter hobby. Some may say it's a bad move but it's the first thing that caught my eye so I decided to try it.

What I'm trying to say is that I'm basically a complete newb so don't talk to me and assume I know anything about computers lol, because I probably won't know what you're saying. However, if you do say something I don't know you can count on a message coming back your way asking the definition if I can't find it on Google.

I hope to meet loads of people and make friends and discoveries about the computer world here at DaniWeb. Hopefully, someday I could make a career out of this.

Thanks again,

9 Years
Discussion Span
Last Post by mcnally


nice intro

I normally use "using namespace std;" after the includes

then you can just type cout not std::cout


Ya I've only read 7 Chapters in the book so far (reading more everyday though). I have noticed people using the "using namespace std;" thing but it hasn't come up in the book yet so I haven't been using it. I think it's covered in Chapter 12 so my code will be cleaner near the end of the book.

Thanks for the welcome!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.