Search found 58 matches

by Phantom
8 years ago
Forum: Other languages
Topic: C#
Replies: 20
Views: 19858
Gender: None specified

Re: C#

Jajajajaja I regret to say that these is the only way. In C# exist an static function of the class <Array> named <Copy>, that do this for you, but... what do you think this method do behind?? You can do something like this: Array.Copy(<source>, <destination>, <quantity>); //Find it in the documentat...
by Phantom
8 years ago
Forum: C/C++/C++11
Topic: Learning C++
Replies: 11
Views: 8757
Gender: None specified

Re: Learning C++

Wait a moment; my problem is that I don’t see yet the difference between:
temp = NULL; and delete temp;
Can you explain me that very well?

I invoke the functions normally, as I do it in all the languages:
jose = pepe.Friend();
by Phantom
8 years ago
Forum: Other languages
Topic: C#
Replies: 20
Views: 19858
Gender: None specified

Re: C#

Of course!! In C# and not only in this language (like Java, Python, Ruby,…) the list is by reference. It means that when you do something like this: List<int> l_reverse = lista; You say that <l_reverse> and <lista> gonna point to the same memory space. For this reason, if you change anything in <lis...
by Phantom
8 years ago
Forum: C/C++/C++11
Topic: Learning C++
Replies: 11
Views: 8757
Gender: None specified

Learning C++

People!! I can say I am re-starting in C++. My friend Robbin has been orientating me. But... I can not molest him more... The problem is the next. I has been doing some exercises were I have to use a queue. Now... I has been receiving Runtime Error in these exercises. I supouse the problem is in my ...
by Phantom
8 years ago
Forum: Other languages
Topic: C#
Replies: 20
Views: 19858
Gender: None specified

Re: C#

Look, if you want help for your solutions, you can post in the topic "Problem set". This topic most be to talk only about C#.
by Phantom
8 years ago
Forum: Other languages
Topic: Ruby
Replies: 23
Views: 21086
Gender: None specified

Re: Ruby

Mmmm… I haven´t see JetBrains RubyMine, but… I have seen too many programs did by JetBrains, and all are very good tools. Let me tell you an example, I program in Python on PyCharm, and this is the best IDE I seen for program in Python, and… PyCharm is made by JetBrains. Another example is ReSharper...
by Phantom
8 years ago
Forum: Other languages
Topic: C#
Replies: 20
Views: 19858
Gender: None specified

Re: C#

Your problem is not in C#. Your Problem is in your implementation. When you are adding in an integer, and in a certain moment the value of your integer is negative, is because this integer is out of range. When an integer, double, long, etc… exceed its maximum value, it take its minimum value, like ...
by Phantom
8 years ago
Forum: Other languages
Topic: Ruby
Replies: 23
Views: 21086
Gender: None specified

Re: Ruby

Yeah!! Geany have a version in windows too. I not prove program in C, C++ or C# with Geany, but with Ruby and Python works very well.
by Phantom
8 years ago
Forum: Other languages
Topic: Python
Replies: 36
Views: 33525
Gender: None specified

Re: Python

Jajajaja Python English is hard?? Jajaja good definition… Yes it happened to me too.
by Phantom
8 years ago
Forum: Other languages
Topic: C#
Replies: 20
Views: 19858
Gender: None specified

Re: C#

Very easy, modulus (mod) is like in almost every language:

int mod = 5 % 3; //Now mod have the value 2

mod = 13 % 5; //Now mod have the value 3

m = pq + r
The function modulus (%) returns “r”.
13 = 5*2 + 3

Go to advanced search