Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:-Wall (Score 1) 470

To be honest, in this situation I would like the compiler to inform me that it had eliminated some code as it is probably not what I meant. Why not write it like this instead?

int foo(int a, unsigned int b)
{
a+=b;
return a;
}

Then in the calling code:
int *a;
unsigned int *b;
*b=10;
*a = foo(1,*b);

I understand that this is a simple example, but I prefer to write my code like this as it ensures that the pointers are only dereferenced within the scope in which they are declared.

Comment Re:Sure, to lower paying jobs (Score 1) 674

... Is it considered OK if people can't afford internet or cell phones? Because neither of those are really necessary...

Well this isn't true, the availabilty of technology results in it being EXPECTED that you use internet banking, mobile phones with email clients, internet access. Maybe you can get by without now, but if you want to compete, you need to adapt. This is not a new thing, it is nature at work.

Slashdot Top Deals

"May your future be limited only by your dreams." -- Christa McAuliffe

Working...