Hello...
I am trying to get CPU info on Linux. I need to get how many cpu\cores the CPU have. It is like "cat /proc/cpuinfo" but I am looking for a syscall or something like this. Anybody know?
...
Type: Posts; User: elvio.vicosa
Hello...
I am trying to get CPU info on Linux. I need to get how many cpu\cores the CPU have. It is like "cat /proc/cpuinfo" but I am looking for a syscall or something like this. Anybody know?
...
Hello.
Guys, i solve the problem. I will post the code, it should help anybody.
N is the size of vector
fat is the factorial of a number
fill and show are auxiliary functions to fill and show...
ops, the last vector i repeated a value, it is wrong.. ok?. thanks
Hi there.
I need to create a vector, with not repeated values.
I have a size(i will know it in runtime), and i need all possibilities of values.
Like:
n = 3
[0, 1, 2, 3]
[0, 1, 3, 2]
[0,...
Hi.
My problem is that i must alloc a struct( double x, y) and a graph( int** )
The problem is the "salesman problem", and sometimes i need to read and alloc 33,000 cities on the
program. So, i...
Hi guys.
I'm trying alloc memory with malloc, but i am having problems.
I need too much memory that malloc can alloc. I'm trying to use mmap too, but no sucess.
Anybody can help me? I am using...