last day (15 days later) » 

19:54
-1
Q: C/C++ extension configuration for this unusual arrangement of declarations in C files?

DCoxshallI have two C files, main.c and library.c, which contain the following: // main.c #include <stdio.h> int MY_NUMBER = 6; #include "library.c" int main() { change_the_number(); printf("The number: %d\n", MY_NUMBER); } // library.c void change_the_number() { MY_NUMBER = 5; } After ru...

Also, whoever's downvoting the question, can you at least comment why? It's not like my question is lazy. It contains some poorly written C - but that's the point of the question. — DCoxshall 3 mins ago
downvote is mine
120
Q: Why isn't it required to provide comments/feedback for downvotes, and why are proposals suggesting this so negatively received?

Sonic the Anonymous HedgehogSometimes my post receives downvotes with no explanation on what I've done wrong. Even worse, sometimes I just get snarky comments! It seems like this is especially bad for new users, who are made to feel unwelcome by veteran users. Stack Exchange's rules can be difficult to grasp, especially for...

note: I have no obligation to disclose to you that the downvote was mine, or why I downvoted
that being said,
1. downvoted because I don't like the setup. there's nothing you can really do about it. I sympathize that this is not your codebase. my downvote here is not personal.
if you give your question post a title that uniquely identifies your question unambiguously, and add a comment to the code drawing attention to the inclusion of the .c file, I might consider removing my downvote despite point #1.
note that this is not me forcing some ultimatum on you. you can do whatever you want with your post, and I am within my rights to use my votes like this.
note that if you want me to get an inbox notification about a message you send in here, you need to put "@starball" in the message
example of what I mean by "ambiguous": "this unusual arrangement of declarations"
what unusual arrangement? there are virtually an infinite number of possible "unusual arrangements" of declarations in C code.
@starball Setup of the question/how I've asked it, or setup of the code present in the question? I don't blame you for not liking the code and I won't ask you to elaborate if that's why you downvoted, but I would appreciate elaboration if by "setup" you mean "how the question has been prevented".
@DCoxshall setup of the code
@starball This is fair enough, I didn't want to make it any longer because it was already stretching in length. I'll make it shorter and more succinct in a few minutes.
@starball I also get this, and that's completely fair, I appreciate your feedback.
After my changes have been made I do not expect you to remove the downvote.
by the way, nice answer post. I take some minor issues with it (as I've now commented about) and would answer differently, but it's great that you took the time to write an answer to your question, and I think it's a fairly good answer.
Thank you :)
20:09
@DCoxshall now that you've edited, the upvote on the answer is mine btw :)
I can tell you care about the quality of the site, and I can appreciate that. Thanks for being patient enough to explain how you'd improve the answer.
cheers, and I wish you well with your work!
:0
thank you
 
1 hour later…
21:32
@DCoxshall nice title edit. I made some additional changes which I think are an improvement to clarity.
Also, whoever's downvoting the question, can you at least comment why? It's not like my question is lazy. It contains some poorly written C - but that's the point of the question. — DCoxshall 2 hours ago
^just an FYI that comments asking about why a post is downvoted are considered... unacceptable? I can't find a word that doesn't sound really condescending to a receiver.
I'd flag this comment to be removed, but I've reached my daily limit on how many comments I can flag today. would you consider please removing that comment yourself?
btw, new upvote on the question is mine :)

last day (15 days later) »