Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualJuliean

Posted 06 July 2013 - 05:52 AM

#include <fstream>
#include <iostream>

void main()
{
std::fstream s;
s.open("b", std::ios::in);

while(s)
{
char c;
s.get(c);
std::cout << c;
}
}

160 characters. Yet I've got the feeling that this one doesn't count...


#1Juliean

Posted 06 July 2013 - 05:50 AM

#include <fstream>
#include <iostream>

void main()
{
std::fstream s;
s.open("b", std::ios::in);

while(s)
{
char c;
s.get(c);
std::cout << c;
}
}

160 characters, but I've got the feeling that this one doesn't count... ;) Still, data-driven programming ftw :D


PARTNERS