Most voted "reference" questions
A reference is a value that allows a program to indirectly access a particular data, such as a variable or record in the memory of the computer or other storage device. The reference refers to the reference point.
Learn more…66 questions
Sort by count of
-
0
votes1
answer161
viewsRelative reference in Javascript files
Hello, Community! My question is about how the reference to external files works in a Javascript file also external. I explain! Suppose I have three files: index.php, json.php and javascript.js with…
-
0
votes1
answer57
viewsUse of batteries and passage by reference
Hello, I’m doing a program where I have a stack and I want to reorganize the elements of this. I have created a function that performs this only the original stack is not being modified (it is only…
-
0
votes1
answer62
viewsHow to take string values by reference using PHP
The way it is: var dados = $('#form').serialize(); // title=titulo&body=corpo $.post("autosave.php", dados); In PHP I can take the values by reference as follows: $title = &$_POST['title'];…
-
0
votes0
answers131
viewsType is defined in a meeting that is not referenced
I have a project called DataLibrary, a . dll is referenced in another project of mine, but for some reason, when compiling VS gives me an error to say that there is a type that is closed in…
-
0
votes1
answer298
viewsHow to pass the reference of an object?
I am trying to pass the reference of an object that is in a list to another list, without needing to delete the object and updating the first list so that the object is no longer referenced in it.…
-
0
votes1
answer697
viewsPassing matrix to function by reference
Good morning everyone, I wish in my code to leave the Main(); only with calling functions, all work is divided into small functions in the document. I want to write a matrix[3][3] in a function and…
-
0
votes1
answer82
viewsHow to change dll from Reference with running application?
I have a project where I need to use a reference with different versions in a single execution, example: Switch System.Drawing version 2.0.0 to System.Drawing version 1.0.0 It’s possible to do that?…
-
0
votes1
answer143
viewsError: a property or an indexer that cannot be passed as an out or ref parameter
I’m having second thoughts about CS0206 Error Maybe a property or an indexer cannot be passed as an out or ref parameter on line 39 and 41 of my code, how do you solve this? 35| produtos[i] = new…
-
0
votes1
answer54
viewsDimension of a vector passed by reference language C
I would like to know how I discover the amount of positions that have a vector that has been passed by reference to the function, using the language C. Example (Function prototype): int Soma (int…
-
0
votes2
answers324
viewsPointers per parameter in C++
I’m having a problem with the pointer on customers. I call the function newCustomer(), that inserts nodes in the list hanging on customers. The problem is that every time the program leaves the…
-
0
votes2
answers75
viewsGet an item from a referenced list
I am trying to get the items from a generic list that I pass for reference to a class, but I only have as return the name of my project concatenated with the class. Below is a code fragment…
-
0
votes1
answer40
viewsWhy is a vector in C passed as a parameter by reference?
Why all other types of variables passed as a parameter to a function are passed by value and the vector does not?
-
0
votes0
answers53
viewsPython Losing Class Reference
I need help with a class reference problem. My class is losing the reference in the middle of a While and I’m not getting to figure out why. Gives the following message: Erroinstance '' has been…
-
0
votes1
answer73
viewsReferences with Mongoosis
I currently have 3 Collections in my project, and I need 2 of them ("Course" and "Lesson"), have a link, I want when adding a "Lesson" it to be inserted in a "Course" through a push, but is giving…
-
-2
votes1
answer42
viewsWhy does the code return error dumped core?
I came across the following errors: floating point Exception and dumped core for the same code. I did not understand very well why this error occurred. I put the code in a Bugger and from what I saw…
-
-9
votes1
answer388
viewsWhat are weak tables?
What are Weak Tables (weak tables) in version 5.0 Lua? When to use them?