Posts by Fernando • 349 points
4 posts
-
2
votes1
answer91
viewsA: Can anyone explain why this is possible? C++
Look man, here in both GCC 7.3.0 and Clang 5.0.1 this does not even compile for the exact reason you said, the signature of the copy assignment is wrong: [phoemur@notebook_lenovo.darkstar…
-
1
votes1
answer77
viewsA: Is there inclusion mapping for ' #include "cmylib" '?
When using include with quotes #include "filename.h" the Preprocessor looks for the file first in the current directory and if it does not find it, it will look in the same places when using include…
-
1
votes2
answers1745
viewsA: Threads in python 3.4
Wouldn’t it be better to create an executioner and give him your duties? For example, the following I will take a list of numbers up to 1000 and return the factorial. I will call Math.factorial on…
-
7
votes6
answers42162
viewsA: Removing duplicate elements in a python list
The list must be ordered, but in the same order as the original or can be ordered later? I say that because set() is used precisely for this and is very efficient. In general you should avoid…