Quote:
Originally Posted by Korvacs
Not really helping your argument when you have to edit your post because you forgot part of the hello world, which wouldn't work without it. Kinda shows that if you, someone whos been doing C++ for many years, cant do hello world without error first time that perhaps C++ IS the more complex and less straight forward language.
/claps
Oh and now we've switched from C++ is simpler, to C# is too simple, hurray!
|
It's been a loooong time since I've had to make a minimal con output app for the sake of demonstration and put stdio instead of iostream. Excuse me. I'm sure you make.. wait. I forgot. You're the best programmar evar. EVAR. You sure have room to criticize.
Also, I said having a full understanding of C# makes it more complex, even if the "face" of it is easier. It's a RAD language. It's designed to hide portions of the process to speed things up in development. You can code a program just fine without knowing what goes on behind the scenes, but to fully understand it you're diving into deep waters, the same as if you were learning a C++ library.
Quote:
Originally Posted by Kiyono
Code:
using System;
class Program
{
static void Main()
{
Console.WriteLine("Hello World!");
Console.ReadLine();
}
}
I think this is more straightforward. It at least says what it does. I mean what the hell does cout even mean? Is it even a word?
|
I have been saying "IMO" all over the place. You know, in MY OPINION. The guy wanted to stop, so I gave a suggestion of "try c++ instead". -I- find it easier and more straight forward. cout = console out, like cin = console in. You could also do printf if you desire which is print file. Console handlers themselves are nothing but stream handles, the same as a file would be. Pretty much every function that can be used on a console stream can be used on a file and vice versa.