Jump to content

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

- - - - -

  • Please log in to reply
8 replies to this topic

#1
jwxie518

jwxie518

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,180 posts
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

#2
jwxie518

jwxie518

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,180 posts
The best solution is here
Posted Image

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

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 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
Now, if there was just a way to get rid of the excess few characters at the beginning...
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
jwxie518

jwxie518

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,180 posts
I doubt. Maybe it was just photoshopped. When I have time I should try this out. Ha.

#5
Revolt

Revolt

    Programmer

  • Members
  • PipPipPip
  • 99 posts
Now that is just awesome! :D

#6
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
  • Location:New York, NY

jwxie518 said:

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.

#7
fayyazlodhi

fayyazlodhi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 403 posts
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

Today is the first day of the rest of my life

#8
jwxie518

jwxie518

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,180 posts

John said:

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 :]

#9
jwxie518

jwxie518

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,180 posts

fayyazlodhi said:

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. :]




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users