Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Wrong (Score 2) 145

So essentially you're saying that you, as a technically illiterate person, don't give a crap about the opinion of your sysadmin in technical questions.
Oh, wait, you've already mentioned you're a business person. Enjoy your Dunning-Kruger while it lasts.

need to fix the infrastructure when it are broken.

Shall we fix your understanding of the English language while we're at it? Or would that be too mission-critical a business decision?

Comment Re:Which behaviour? (Score 1) 306

[...] shows you are a troll [...] also marks you as a sadist [...] I am so far beyond your level [...]

This makes your original claim less wrong how exactly?
Since you're so far beyond my level, it should be trivial to point out in which standard, (be it formal or informal, to lower the bar a bit for you) void main() is "valid C".
Protip.

That being said, i have nothing to add to sibling's post.

Comment Re:Which behaviour? (Score 1) 306

You talked about standards, and C89 is the first formal C standard. I'm sorry for your C knowledge if you are indeed oblivious of implicit int (hint: you can and must still return an int from "main([void])".
Furthermore probably sucks to think that a function taking no parameters like foo(void) and a function taking an unspecified number of parameters like foo() and (void) were the same thing. Your mind might be a bit C++-damaged (in C++, foo() in fact means foo(void)).
Educate much?
Consider char (*foo(int))[4];
What's the type of foo?

Comment Re:Which behaviour? (Score 1) 306

Depends on the standard.

No. None of the C Standards ever had void a valid return type for main, and, frankly all of them (since we're talking standards, that means C89 through C11) give you int main(void) and int main(int argc, char **argv)(and equivalent).
It's not like i didn't link a source.

Even "main()" can be valid.

Yes, C89 allowed leaving away the int, that's called "implicit int". Needless to point out, the return type is still int.

Submission + - Idiot Left Driver's Seat In Self-Driving Infiniti, On The Highway

cartechboy writes: Self-driving cars are coming, that's nothing new. People are somewhat nervous about this technology, and that's also not news. But it appears self-driving cars are already hear, and one idiot was dumb enough to climb out of the driver's seat while his car cruised down the highway. The car in question is a new Infiniti Q50 which has Active Lane Control and adaptive cruise control. Both of which essentially turn the Q50 into an autonomous vehicle while at highway speeds. While impressive, taking yourself out of a position where you can quickly and safely regain control of the car if needed is simply dumb. After watching the video, it's abundantly clear why people should be nervous about autonomous vehicles. It's not the cars and tech we need to worry about, it's idiots like this guy.

Slashdot Top Deals

One way to make your old car run better is to look up the price of a new model.

Working...