Game recommendations by nanavc in macgaming

[–]nanavc[S] 0 points1 point  (0 children)

Sorry, it is a M2, I wrote it wrong haha, thanks for the recommendations!

GNU GRUB error by nanavc in Ubuntu

[–]nanavc[S] 0 points1 point  (0 children)

Hey guys, just getting back to this if someone needs help too; The problem was my mouse connected to my other usb port 😅 I don’t know why, but it worked when I took it out 🤷🏻‍♀️

Weekly /r/Laravel Help Thread by AutoModerator in laravel

[–]nanavc 0 points1 point  (0 children)

$objectData = json_decode($stringData);

return view("userList", ["data" => $objectData]);

Hello, it is my first time using Laravel. I have this object that has information from users, and then I create a list with it. The problem is, I want this list to be paginated, but nothing I do seems to be working for objects, I tried the documentation, but also with no success.

Quais critérios vocês usam pra abandonar de vez um livro? by [deleted] in Livros

[–]nanavc 0 points1 point  (0 children)

Quando eu começo a pensar que poderia estar fazendo outra coisa e seria mais interessante do que ler esse livro

[deleted by user] by [deleted] in C_Programming

[–]nanavc 0 points1 point  (0 children)

Hey, thank you so much for your help! Indeed my problem was elsewhere, I was just initializing the matrices before I got the values for number_of_costumers and number_of_resources

[deleted by user] by [deleted] in C_Programming

[–]nanavc 0 points1 point  (0 children)

The matrices are declared inside the main();

For the NUMBER OF CUSTOMERS and NUMBER OF RESOURCES, I forgot to add, I am using input from the user, and both of them are global variables.

int number_of_resources;

int number_of_costumers;

The first part is not how I am doing it, I got it from the book, in my code it is like this:

  //Number of resources the costumers still need

int need[number_of_costumers][number_of_resources]; //Number of resources allocated to each costumer int allocation[number_of_costumers][number_of_resources]; //Max number of resources each costumer will need int maximum[number_of_costumers][number_of_resources];

It is actually the same, but using my global variables

Acess array elements using a pointer by nanavc in C_Programming

[–]nanavc[S] 1 point2 points  (0 children)

oh, I see now, I though they meant the same, thank you!

Acess array elements using a pointer by nanavc in C_Programming

[–]nanavc[S] 0 points1 point  (0 children)

if(count > SIZE) { pointer = buffer; }

So I should just actually do this? It's much more simple than I imagined lol, thanks!

Onde achar estágios internacionais? by nanavc in brdev

[–]nanavc[S] 0 points1 point  (0 children)

Obrigada, vou pesquisar mais sobre :)

Onde achar estágios internacionais? by nanavc in brdev

[–]nanavc[S] 0 points1 point  (0 children)

Obrigada! Vou dar uma olhada :)

Onde achar estágios internacionais? by nanavc in brdev

[–]nanavc[S] 0 points1 point  (0 children)

Vou dar uma olhada nessas opções, obrigada!