cout << hello world

  • (2 Pages)
  • +
  • 1
  • 2

18 Replies - 868 Views - Last Post: 21 January 2013 - 02:18 PM

#1 cppnewb  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 20-January 13

cout << hello world

Posted 20 January 2013 - 07:07 PM

Hey there,

I'm a newb, well not really. I have a pretty good general coding knowledge, acquired from
various languages. In the past 2 years though, it's slipped due to my procrastination.....well gaming lol. So with little C++ skills and experience I feel it's time to turn the games off and
get to doing some real work.

I'm here for a few reasons, most importantly to learn but I'd also like to meet a few like minded people, learn from them, ask questions and if capable provided answers. I plan
on going at this like a maniac, so you'll find me either in the tutorial section or dumping my code somewhere in the c++ section.

That's about it.....bye

Is This A Good Question/Topic? 0
  • +

Replies To: cout << hello world

#2 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4438
  • View blog
  • Posts: 12,310
  • Joined: 18-April 07

Re: cout << hello world

Posted 20 January 2013 - 07:35 PM

Welcome to Dream.In.Code cppnewb! If you are looking for like minded people, you probably found the place! Well... unless you are psychotic and then you are only like minded like NeoTifa but anyways. Welcome to the board and I hope to see around the forums in the days/months/years to come.

:)
Was This Post Helpful? 0
  • +
  • -

#3 cppnewb  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 20-January 13

Re: cout << hello world

Posted 20 January 2013 - 08:22 PM

Thanks for the reply martyr2 and don't worry I'm not crazy..
wait if I was crazy I wouldn't know that I'm crazy so maybe I am crazy? :P

Anyway, I found your project post - you sir are a god among men, saves me
from thinking too hard myself. A quick question, what sub forum do I dump
my code in? The code I've written in response to your projects that is?



-Nub
Was This Post Helpful? 0
  • +
  • -

#4 raghav.naganathan  Icon User is offline

  • Perfectly Squared ;)
  • member icon

Reputation: 408
  • View blog
  • Posts: 1,440
  • Joined: 14-September 12

Re: cout << hello world

Posted 20 January 2013 - 09:32 PM

Hello cppnewb

Welcome to DIC :)

Well, if you have the desire to learn, then DIC is the place for you to quench your thirst for knowledge...yes, in fact, I can guarantee you that you will certainly learn a lot over here :)

Well, on a humorous note, your title cout<< Hello World should be

cout<<"Hello World";

And there is an example of how to use code tags. Every time you post any code, please do so within the [ CODE ] tags, without space of course :D

Looking forward to seeing you around in the forums :)

regards,
Raghav

This post has been edited by raghav.naganathan: 20 January 2013 - 09:32 PM

Was This Post Helpful? 0
  • +
  • -

#5 .Aaron  Icon User is offline

  • Rock, paper, scissors, lizard, Spock
  • member icon

Reputation: 62
  • View blog
  • Posts: 2,915
  • Joined: 04-August 09

Re: cout << hello world

Posted 20 January 2013 - 10:06 PM

Welcome to the site!
Was This Post Helpful? 0
  • +
  • -

#6 cppnewb  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 20-January 13

Re: cout << hello world

Posted 20 January 2013 - 10:24 PM

View Postraghav.naganathan, on 20 January 2013 - 09:32 PM, said:

Hello cppnewb

Well, on a humorous note, your title cout<< Hello World should be

cout<<"Hello World";

And there is an example of how to use code tags. Every time you post any code, please do so within the [ CODE ] tags, without space of course :D/>

I'm....not....sure...If you're really trying to help, being sarcastic or just attempting to troll the new guy lol.

I know about bbcode + forum etiquette, I've been using them on/off for years, I know that's the correct way to use
cout was just unsure if the tittle could contain << " " ;

On a lighter night I've no doubt I'll see you around the forums :).

Thanks .Aaron nice to meet you.

- Nub
Was This Post Helpful? 0
  • +
  • -

#7 raghav.naganathan  Icon User is offline

  • Perfectly Squared ;)
  • member icon

Reputation: 408
  • View blog
  • Posts: 1,440
  • Joined: 14-September 12

Re: cout << hello world

Posted 20 January 2013 - 10:40 PM

View Postcppnewb, on 21 January 2013 - 10:54 AM, said:

I'm....not....sure...If you're really trying to help, being sarcastic or just attempting to troll the new guy lol.

I know about bbcode + forum etiquette, I've been using them on/off for years, I know that's the correct way to use
cout was just unsure if the tittle could contain << " " ;

On a lighter night I've no doubt I'll see you around the forums :).

- Nub


Well, no...I was not at all trying to troll you. I only meant to say that since hello world is a string, it should be enclosed in " " in a cout statement or it would give errors.

Well, now that you have mentioned it, I am also doubtful if title can contain " " ; .

Nevertheless, I think you meant a lighter note in your last sentence :D...yes, you will certainly see me around...no doubt about that :)

regards,
Raghav
Was This Post Helpful? 1
  • +
  • -

#8 .Aaron  Icon User is offline

  • Rock, paper, scissors, lizard, Spock
  • member icon

Reputation: 62
  • View blog
  • Posts: 2,915
  • Joined: 04-August 09

Re: cout << hello world

Posted 20 January 2013 - 11:29 PM

I'm going to have to try that with a topic at some point just out of curiosity.

Geez, you're just picking his posts all apart raghav. :P/>

This post has been edited by .Aaron: 21 January 2013 - 12:09 AM

Was This Post Helpful? 0
  • +
  • -

#9 raghav.naganathan  Icon User is offline

  • Perfectly Squared ;)
  • member icon

Reputation: 408
  • View blog
  • Posts: 1,440
  • Joined: 14-September 12

Re: cout << hello world

Posted 20 January 2013 - 11:55 PM

View Post.Aaron, on 21 January 2013 - 11:59 AM, said:

I'm going to have to try that with a topic at some point just out of curiosity.


Well, good luck...I would also like to know what would happen if we use the " " ; in topic names...but make sure you post a valid topic...or it will be considered as trolling :D

Quote

Geez, your just picking his posts all apart raghav. :P/>


If you meant the 'note' part, I guess I was being a bit too much of a grammarian there :D

regards,
Raghav
Was This Post Helpful? 0
  • +
  • -

#10 .Aaron  Icon User is offline

  • Rock, paper, scissors, lizard, Spock
  • member icon

Reputation: 62
  • View blog
  • Posts: 2,915
  • Joined: 04-August 09

Re: cout << hello world

Posted 21 January 2013 - 12:07 AM

Oh I know, that's why I said "at some point". I gotta have a topic first. And yes, you were. Reminds me of an old friend, we'd do that to anything each other wrote all the time. Kind of miss the brutal honesty of that relationship. So yea, guess I can't get on your case TOO much. :whistling:

This post has been edited by .Aaron: 21 January 2013 - 12:09 AM

Was This Post Helpful? 0
  • +
  • -

#11 cppnewb  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 20-January 13

Re: cout << hello world

Posted 21 January 2013 - 12:44 AM

Yeah he was being a bit of a nazi...but in his defense I was wrong,
I guess I was thinking of a "light night" whilst typing.

Also another guess, I doubt nothing visible will happen.... You might
however end up in a logfile somewhere for attempting to bypass php sanitation :P
Was This Post Helpful? 0
  • +
  • -

#12 raghav.naganathan  Icon User is offline

  • Perfectly Squared ;)
  • member icon

Reputation: 408
  • View blog
  • Posts: 1,440
  • Joined: 14-September 12

Re: cout << hello world

Posted 21 January 2013 - 01:09 AM

View Post.Aaron, on 21 January 2013 - 12:37 PM, said:

And yes, you were. Reminds me of an old friend, we'd do that to anything each other wrote all the time. Kind of miss the brutal honesty of that relationship. So yea, guess I can't get on your case TOO much. :whistling:


I remember being in the same boat as well. We would constantly correct each other while speaking...and tell you what, that turned out to be very fruitful in later part of my life. I guess it was all those corrections which probably improved my English. :)

On a lighter note, I somewhat like being a grammarian...so much that I sometimes correct my own sentences, seconds after uttering them. :D

View Postcppnewb, on 21 January 2013 - 01:14 PM, said:

Yeah he was being a bit of a nazi...but in his defense I was wrong,
I guess I was thinking of a "light night" whilst typing.


Well, I remember something like that happened to me a long time ago. I was replying to a text from my friend, and I don't know if I was really hungry at the time...coz this is what I typed....

Quote

Have you finished writing the chocolate cake which was given today? :D


Do you see how your subconsciousness sometimes plays funny games? :D

regards,
Raghav
Was This Post Helpful? 0
  • +
  • -

#13 .Aaron  Icon User is offline

  • Rock, paper, scissors, lizard, Spock
  • member icon

Reputation: 62
  • View blog
  • Posts: 2,915
  • Joined: 04-August 09

Re: cout << hello world

Posted 21 January 2013 - 01:33 AM

Yep, it can be very helpful. Chocolate cake huh? LOL. Never done anything quite that 'off' myself. Shame you couldn't see the look on the other person's face when they got it.

@cppnewb: That would be interesting. But I'll hope for something visible. Just boring if you can;t see the results of your experiment.
Was This Post Helpful? 0
  • +
  • -

#14 cppnewb  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 20-January 13

Re: cout << hello world

Posted 21 January 2013 - 01:44 AM

View Postraghav.naganathan, on 21 January 2013 - 01:09 AM, said:

Well, I remember something like that happened to me a long time ago. I was replying to a text from my friend, and I don't know if I was really hungry at the time...coz this is what I typed....

Quote

Have you finished writing the chocolate cake which was given today? :D/>


Do you see how your subconsciousness sometimes plays funny games? :D/>

Yes. I do remember reading a couple papers on it once, but for the life of me I can't remember the name of the phenomena. I'm drawing a blank, I'm sure it's neuro*** something something lol.

View Post.Aaron, on 21 January 2013 - 01:33 AM, said:

@cppnewb: That would be interesting. But I'll hope for something visible. Just boring if you can;t see the results of your experiment.

Someone hunting for error messages eh? :innocent:
- Nub
Was This Post Helpful? 0
  • +
  • -

#15 .Aaron  Icon User is offline

  • Rock, paper, scissors, lizard, Spock
  • member icon

Reputation: 62
  • View blog
  • Posts: 2,915
  • Joined: 04-August 09

Re: cout << hello world

Posted 21 January 2013 - 01:51 AM

I'm a programmer. Encountering error messages is half my life. :online2long:
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2