It works fine, but just as it appears, it closes..and in the tutorial it shows the console with: 'press any key to continue...' under 'Hello World!'. Please Help!
>>41
C is not the best for starters but it IS reasonably easy, or at least it doesn't suck. It's one thing to be easy and another thing to be easy to do things with. It's not easy to do string manipulation and higher level stuff in C. But the language itself is easy; I'd say far easier (and smaller) than Python, and it should be, being a low-level language. If C were actually harder than a high-level language supporting good OO, first-class functions, closures, etc., C would be a piece of shit. And it isn't. BTW, that's why C++ IS a piece of shit.
Name:
Anonymous2006-11-18 15:43
>>43
So you are saying C++ sucks just because it is a little more complicated than C because it has has good OO, first-class functions, closures, etc.?
Yes, those added features do make it a little harder, but in the end, they make things easier. It is really not a good idea to evaluate languages on what learning them is like, although it's hard to evaluate them any other way.
Name:
Anonymous2006-11-18 16:28
C++ does not have 'good OO, first-class functions, closures, etc.' It has bad OO and none of the rest.
Way to fail hard.
Name:
Anonymous2006-11-18 17:13
>>45
used all around the scientific and financial world, way to fail hard? I'm rather proud of it
Name:
Anonymous2006-11-18 17:22
You should judge a language based on what can be done with it.
Name:
Anonymous2006-11-18 17:28
>>44 So you are saying C++ sucks just because it is a little more complicated than C because it has has good OO, first-class functions, closures, etc.?
You fail, C++ has none of those.
Here is the C++ code:
#include <iostream.h>
int main() {
cout << "Hello World!\n" << end;
getchar(); // wait for the user to press enter
return 0;
}
Here is the C code:
#include <stdio.h>
int main() {
printf("Hello World!\n");
getchar();
return 0;
}
>>46
No I was saying that YOU fail hard for demonstrating you don't know what you're talking about. Assuming you're >>44. (which you are because Anonymous Anonymous is Anoooonymous)
Name:
Anonymous2006-11-19 6:52
>>53
I work in C++ with scientists, I don't need to prove anything to myself as I see it every day with my own eyes. All my friends have the same experience as I do and I just need to look at the "serious" job offers (not the J2EE crap) to have a proof of what I live. Now stfu and come back once you have some real life experience (being 15 years old does not count)
>>54
If you see closures every day while working with C++ then you're obviously using a completely different language than the C++ everyone else uses. That, or you don't know what a closure is.
Name:
Anonymous2006-11-21 15:43
>>57
where did you saw "closures" in my message, dipshit!
Name:
Anonymous2006-11-22 11:15
>>58 So you are saying C++ sucks just because it is a little more complicated than C because it has has good OO, first-class functions, closures, etc.?