Skip to main content
2 votes
1 answer
175 views

This is one question encountered while reading the answer of this QA (as ikegami's comment says, how subroutine foo works is complicated. IMHO that may be due to using one outside variable): sub foo { ...
An5Drama's user avatar
  • 774
0 votes
2 answers
86 views

I'm a beginner learning C programming and I'm wondering the difference between these two formats and why one works and the other does not: // this one doesn't work #include <stdio.h> int main(...
AwkwardLi's user avatar
1 vote
3 answers
94 views

I'm trying to use declaration patterns as described here: https://learn.microsoft.com/dotnet/csharp/language-reference/operators/patterns#declaration-and-type-patterns I can see that the examples only ...
Kyle Delaney's user avatar
  • 12.4k
-4 votes
1 answer
68 views

Why doesn't the two different declarations of the variable 't' within the same function cause a conflicting declaration error? (Because it doesn't). Can this way of using the same name for a variable ...
Thomas Nilsson's user avatar
2 votes
0 answers
124 views

I'm currently writing a compiler in C for my own programming language. Now I'm working on the front-end. I've added functions recently, and now I have troubles with checking if a variable was declared ...
NeTORT's user avatar
  • 39
2 votes
1 answer
143 views

When I try to use an inline variable, then I get a Syntax error. Here's my code: procedure TfrmMain.btnSignInClick(Sender: TObject); begin var UserEmail := edtEmail.Text; var UserPassword := ...
Shaun Roselt's user avatar
  • 4,361
2 votes
2 answers
137 views

I want a JSON array to contain all integers between 0 and 1000, but I don’t want to declare each element of that very long array individually. Is there a more economical/elegant way to declare that ...
Felipe Evaristo's user avatar
1 vote
0 answers
35 views

I'm really struggling with my final project for my first ever coding course. Situation: I'm able to successfully retrieve data from Geonames API, that looks like this: Geonames API response: { lat: ...
AnnaG's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
46