pass-by-reference
How many parameters can I pass by reference in C++, without getting abnormal behavior
I had a problem with a function: int parsearRestricciones(char linea[], unsigned int& x, unsigned int& y, unsigned int& tiempo, char restric[])[详细]
2023-03-17 10:09 分类:问答Pass object by reference or value
I\'m sure this question has been asked a thousand times, but i had trouble finding an answer i could understand or use anywhere.[详细]
2023-03-17 08:25 分类:问答'ref' not working like I think it should
I have the following code which when looking at it while it\'s running shows that the initial \'myInt\' and \'myFloat\' do not change their values until the method call returns back.Shouldn\'t their v[详细]
2023-03-17 06:18 分类:问答When passing objects as parameters, are they passed by reference?
Is there any performance implica开发者_如何学编程tions if I do either of these: def do_something(user, article)[详细]
2023-03-16 13:18 分类:问答Linked Lists are turning my brain to mush. How should I be doing this?
I\'m attempting to use linked lists as a way to buildup my knowledge of pointers in C. So, I wrote a small example but when I compile it I\'m getting an error I can\'t seem to figure out:[详细]
2023-03-16 03:36 分类:问答python call-by-reference on primitive types
I have experience with the imperative languages(C most often), and that\'s probably why I am confused in learning python.[详细]
2023-03-16 00:51 分类:问答Pass an array of wchar by reference
I want to make a function to allocate memory to an array. Suppose I have this: PWSTR theStrings[] = { L\"one\", L\"two\", L\"three\" };[详细]
2023-03-16 00:00 分类:问答Can't pass a variable by reference
I am really confused with this one. Here\'s my code class i开发者_StackOverflow社区nner { var $val = 0;[详细]
2023-03-13 14:31 分类:问答Passing objects into constructor before initialised
I have the following problem. This is a 开发者_StackOverflowsimple example of some classes I have (each have dependencies on other classes).[详细]
2023-03-12 14:10 分类:问答How to pass address of objects created in a C# List to C++ dll?
I have been looking all over google to find some answers to my questions but do not quite understand what I have found. I have some objects which are created and stored in C# List after using System.I[详细]
2023-03-12 13:23 分类:问答