A Coders Nightmare

Tell me this dose not annoy you...

1
2
3
4
5
#include <iostream>
#include <string>

int main(){int age =9876543210;std::string name = "abcdefghijklmnopqrstuvwxyz";std::cout << "What is your name?\t";getline(std::cin, name);std::cout << "Hello, " << name << "!" << std::endl;std::cout << "How old are you?\t";std::cin  >> age;std::cout << "You look young for " << age << "!" << std::endl;}
It annoys me for 1 second until I apply Astyle to it.
closed account (E0p9LyTq)
A minor annoyance, yes. A nightmare? not at all.

As MiiNiPas said, use Astyle on the code, or let the Visual Studio IDE format it, and suddenly it is fine.
closed account (E0p9LyTq)
http://www.worsethanfailure.com/articles/Make-It-Work

OUCH!
Topic archived. No new replies allowed.