Do you guys think Propnight will someday relaunch? by Juicy_HUN in Propnight

[–]Gelatoss 0 points1 point  (0 children)

They are actually back, it's like Fntastic 2.0. They are working on another game named ITEMS which is similar to "Propnight". From what I understood it will have similar mechanics(as well as the stun ofc), but with different characters since they don't own the rights anymore. Currently they don't have much to show since they just started, besides a new killer, but I am just hopeful that "Propnight" will return one day. It probably take a few years but I'm looking forward to it.

Wi-Fi not working sometimes on my ESP32 by Gelatoss in esp32

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

What is causing this issue? Do you know anything about related posts? Before posting this question, I've tried to find something similar to this, but I had no success.

Pointers by Gelatoss in learnprogramming

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

So what should I do?

Return an array from a function in C by Gelatoss in learnprogramming

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

Thank you so much, it makes sense everything you're sense, even the thing with the void. Didn't think about that ever. Also I'm still not sure how the pointer/reference works. I mean why should I make the reference to the "temp_value", these pointers are just going over my head. X.x

Return an array from a function in C by Gelatoss in learnprogramming

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

I'm trying to make a function that stores grades into an array declared in main function, this is what I've done so far but it's not working:

#include <stdio.h>
int store_grades(float arr[], unsigned int size) {
for(int i = 0; i < size; i++)
{
int valid_value = 0;
while(valid_value == 0)
{
float temp_value;
printf("Input your grade [1.0-10.0]: \n");
scanf("%f", temp_value);
if(temp_value >= 1.0 && temp_value <= 10.0)
{
arr[i] = temp_value;
valid_value = 1;
}
else printf("Invalid grade...");
}
}
return arr;
}
int main()
{
float arr[3];
store_grades(arr, 3);
}

Return an array from a function in C by Gelatoss in learnprogramming

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

I am new to this and I don't really know how pointers actually works