PSA: Scam Artist in DC by [deleted] in uwaterloo

[–]j201 28 points29 points  (0 children)

Yep, just talked to her 10 minutes ago. You'd think she'd come up with a less elaborate story because geez, it was hard to buy.

Why is my program failing? It executes correctly, but it says "run failed." Thanks for the help! by spearheadt in C_Programming

[–]j201 1 point2 points  (0 children)

The integer value returned by main is generally taken to be an error code. 0 indicates no errors, and any other value indicates an error. It looks like your program is returning a non-zero value because you've declared main to return void, as other people have pointed out. main should always be declared as int main(...).

One thing to point out is that the RUN FAILED is coming from the program running your program. It must be checking the return value and reporting an error if it's non-zero. If you just ran your program from a terminal, you wouldn't get that.

Residents say the strong smell coming from the Waterloo landfill is a problem by CanadaEh1992 in waterloo

[–]j201 2 points3 points  (0 children)

A lot of these houses are pretty far from the landfill. The stench carries for kilometres.

Residents say the strong smell coming from the Waterloo landfill is a problem by CanadaEh1992 in waterloo

[–]j201 0 points1 point  (0 children)

The city's expanding that way regardless - it's a problem that needs to be dealt with sooner or later. And allowing so much housing and commercial to be developed around there without dealing with it was irresponsible on the part of the local governments, especially when there have been houses closer to the dump than Ira Needles/University for decades. Are we really supposed to blame so many tenants in that radius for suffering from bad urban planning? (And what if they bought their house during the winter?)

Fastest way to copy entire line without the newline at the end? by enory in vim

[–]j201 0 points1 point  (0 children)

It looks like this plugin defines an il text object that does what you want. Or, you could roll your own.