Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

How do you run Hello World in C++? [Expert Needed]

hello world

  • Please log in to reply
8 replies to this topic

#1 jwxie518

jwxie518

    Speaks fluent binary

  • Senior Member
  • PipPipPipPipPipPip
  • 517 posts

Posted 30 June 2011 - 06:20 PM

Posted Image


I don't understand.


........

WHAT?


Go read this guy
visual c++ - Why is this program erroneously rejected by three C++ compilers? - Stack Overflow
  • 0

#2 jwxie518

jwxie518

    Speaks fluent binary

  • Senior Member
  • PipPipPipPipPipPip
  • 517 posts

Posted 30 June 2011 - 06:21 PM

The best solution is here
Posted Image

http://i.imgur.com/QlGpd.gif
  • 0

#3 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 01 July 2011 - 04:28 AM

Now, if there was just a way to get rid of the excess few characters at the beginning...
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#4 jwxie518

jwxie518

    Speaks fluent binary

  • Senior Member
  • PipPipPipPipPipPip
  • 517 posts

Posted 01 July 2011 - 09:05 AM

I doubt. Maybe it was just photoshopped. When I have time I should try this out. Ha.
  • 0

#5 Revolt

Revolt

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 100 posts

Posted 01 July 2011 - 12:31 PM

Now that is just awesome! :D
  • 0

#6 John

John

    CC Mentor

  • Moderator
  • 4450 posts
  • Location:New York, NY

Posted 01 July 2011 - 06:45 PM

I doubt. Maybe it was just photoshopped. When I have time I should try this out. Ha.

In theory it should work. A BMP file is literally, a map of bits (with some meta information at the beginning). So, if you convert the C code from ASCII to hex, and breaking it up into 24 bit chunks, you will end up with a list of what could be used as hex colors.
  • 0

#7 fkl

fkl

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 417 posts

Posted 02 July 2011 - 11:38 AM

This reminds me of obfuscated code contests particularly the one requiring to write "self reproducing program"

Quine (computing) - Wikipedia, the free encyclopedia

Edited by fayyazlodhi, 02 July 2011 - 11:39 AM.
wrong url

  • 0
Today is the first day of the rest of my life

#8 jwxie518

jwxie518

    Speaks fluent binary

  • Senior Member
  • PipPipPipPipPipPip
  • 517 posts

Posted 03 July 2011 - 12:27 PM

In theory it should work. A BMP file is literally, a map of bits (with some meta information at the beginning). So, if you convert the C code from ASCII to hex, and breaking it up into 24 bit chunks, you will end up with a list of what could be used as hex colors.

Yes. I actually looked at your recent blog. A success :]
  • 0

#9 jwxie518

jwxie518

    Speaks fluent binary

  • Senior Member
  • PipPipPipPipPipPip
  • 517 posts

Posted 03 July 2011 - 12:28 PM

This reminds me of obfuscated code contests particularly the one requiring to write "self reproducing program"

Quine (computing) - Wikipedia, the free encyclopedia

Wow. that's interesting! When I first saw Quine I thought you were talking about Quine–McCluskey algorithm. :]
  • 0





Also tagged with one or more of these keywords: hello world

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download