python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
C: check if an array element is empty after zero-out using memset
I am trying to zero out an array element and check its status so it won't be used again, however, it seems doesn't work.
int main(int argc, char const *argv[]){
char pid[10][20] = {"abc", ...
Chocode
Votes: 0
Answers: 1
Check if dictionary is empty but with keys
I have a dictionary, which may only have these keys. But there can be 2 keys, for example 'news' and 'coupon' or only 'coupon'. How to check if the dictionary is empty? (The dictionaries below are em...
Aliaksandra
Votes: 0
Answers: 3
JSP -if != null conditions on parameter
I a have jsp form page which get parameters an I need to check if one of them != null ,I have tried to write the condition but its not working:
It went to the if block and not to the else block any wa...
Z. Hocherman
Votes: 0
Answers: 0
Unexpected action of jq select filter
I have been using jq for quite a while, but some behaviour today has surprised me:
I expected this:
echo '{"Name":"NAME","Tags":[{"Key":"KEY","V...
jonseymour
Votes: 0
Answers: 1