• Register

Recent questions tagged variables

0 votes
1 answer 2 views
Problem: Which of the following is not a valid c++ identifier? 9index, break, user_name, CONSTANT, _member Got this wrong on a test and I'm wondering where I can find the right answer. Would be highly appreciated. Thanks!
asked 1 day ago Irenka Kiri 25.6k points
0 votes
1 answer 3 views
Problem: Is there a solution for this? > An identifier that cannot be used as a variable name is a.
asked May 10 Junia Phoebe 23k points
0 votes
1 answer 6 views
Problem: I'm not sure where this came from >A variable may be assigned a value only once in the program.
asked May 8 Rada Gracelynn 8.4k points
0 votes
1 answer 3 views
Problem: Non-static variable this cannot be referenced from a static context new.
asked May 6 Ryan evans 1.5k points
0 votes
1 answer 9 views
Problem: I want to ask you if a variable declared inside main method is an instance variable or a local variable. This is the code: public class App { public static void main(String[] args) { Animal fish = new Fish(); ... } } I'm watching a video tutorial from Udemy and the instructor say that fish is an instance variable. I thought that a variable declared inside a method is a local variable.
asked May 4 anika11 32.2k points
0 votes
1 answer 3 views
Problem: What is the difference between 'static global variable' and 'non-static global variable' in C?Please explain how they are different with some example.(Since, both global static and simple global variable remain active throughout program and can be used in any block. I'm confused how to differentiate them.) Can someone explain this with code?
asked May 4 sumaiya simi 43.9k points
0 votes
1 answer 17 views
Problem: I'm working on anaconda by making multiple environments in it. I have made any environment camelot so now I want to install in different libraries in this environment. So for example I install pandas in this environment(camelot), I'm writing: conda ... .dll First I thought it may be error because of environment-variable, I Set environment-variable for pyhton but it could not resolve
asked May 2 anika11 32.2k points
1 vote
1 answer 11 views
Problem: Can some one help me with this? A reserved instance can be moved from one region to another.
asked May 1 PkGuy 23.5k points
1 vote
1 answer 14 views
Problem: While compiling a program I am getting this error: Error class is public should be declared in a file named.
asked Apr 27 PkGuy 23.5k points
0 votes
1 answer 4 views
Problem: I am stuck now and need some suggestions > The name of the variable used in one function can also be used in another function
asked Apr 26 ummeshani 10.8k points
0 votes
1 answer 10 views
Problem: I'm pretty sure this is possible, because I'm pretty sure I've seen it done. I think it is awesome, but I will gladly accept answers along the lines of "this is a terrible idea because ____". Say we have a basic struct. struct vertex { float x, y ... into which it will store data (eg many of the OpenGL glGet functions), it would work fine. What do you think? Possible? Possible but stupid?
asked Apr 25 sumaiya simi 43.9k points
1 vote
1 answer 20 views
Problem: Any solution for this error? Error in qda.default(x, grouping, ...) : some group is too small for 'qda'.
asked Apr 24 PkGuy 23.5k points
0 votes
1 answer 4 views
Problem: In Java, where should instance variables be declared?
asked Apr 17 jamuna1 30.2k points
0 votes
1 answer 4 views
Problem: In Java, what is the meaning of instance variables?
asked Apr 17 jamuna1 30.2k points
0 votes
1 answer 6 views
Problem: I was trying to delete the shell data in the registry. I can get to it and get all of the information right, but I want to automate it for all users. The one I can use right now only targets a specific file. I am not sure if there is a variable for this, or maybe I am going in the wrong direction here. Any input is appreciated and I will attempt to answer any questions I can.
asked Apr 13 ummesalma 29.2k points
0 votes
1 answer 4 views
Problem: Who can help me to solve this issue:can static variables be changed c++
asked Apr 13 ashik 14.6k points
0 votes
1 answer 5 views
Problem: I am creating a program for a project that will help me learn visual basic. But when I work out how much a certain material is worth with dimensions. It comes out with more than two decimal places Does anyone know what function I should use to round to two decimal places?
asked Apr 13 ummesalma 29.2k points
0 votes
1 answer 4 views
Problem: Check if something is an array javascript..
asked Apr 13 Ethan ross 2.7k points
0 votes
1 answer 2 views
Question: I know this might seem like an absolutely silly question to ask, yet I am too curious not to ask. Why did "i" and "j" become THE variables to use as counters in most control structures? Although common sense tells me they are just like X, which is ... have some obscure reason behind it? Just in case, I know I can give them whatever name I want and that variables names are not relevant.
asked Apr 12 Atik03 26.5k points
0 votes
1 answer 5 views
Problem: Can you tell me that how to change string variable to numeric in stata?
asked Apr 3 Ifra 37.2k points