Questions tagged as 'lenguaje-compilado'

1
answer

Obtain the unique ID or serial number of the processor using C in Linux

How can I get the serial number or the CPU ID using C in linux? is #include <cpuid.h> occupied? A sample code would be very helpful. Thank you.     
asked by 30.11.2016 / 20:24
1
answer

C ++ error: 'bool operator () (std :: pairNode &, float, std :: pairNode &, float)' must be a nonstatic member function

I'm using a priority queue consisting of a pair of an object of a class called Nodo and a value of type float (I chose it instead of double, thinking it takes up less bytes). The error I get is in the comparison operator >...
asked by 09.11.2018 / 16:45
1
answer

Points and commas in Golang, recommended at performance level?

I know that the use of; in GOlang, but for the compiler of Golang that is more efficient, what should we say or not?     
asked by 02.11.2018 / 17:43
1
answer

How to import libraries in Perl? [closed]

My question is simple and maybe the solution too ... I am learning Perl, I know how python works, in python to import a library is simple, import is used, but for Perl ... how is it?     
asked by 31.07.2018 / 23:08
0
answers

expected type-specifier before error c ++

I get an error compiling that I do not understand, I'm implementing the Langton ant using inheritance and polymorphism, by creating a pointer to a class that defines a type of ant with special characteristics. Estos son los errores que me sale...
asked by 11.03.2018 / 21:33