Closed somebodyLi closed 5 months ago
Improved Data Stability in 'language.c' We've changed how we declare our 'languages' array in 'language.c'. Now this array is constant, which means it stays the same once created. This will help in preventing any accidental modifications to the data it holds.
Corresponding Changes in 'language.h' Similarly, adjustments were made to the 'languages' array in the 'language.h' file to keep consistency, which avoids any confusion or errors due to mismatching declarations in different parts of the program.
Updated External Declarations We've also updated the way we declare the 'languages' externally in 'language.h'. This change also aligns with our new way of declaring it in 'language.c', ensuring uniformity and reducing potential issues across our program.
…ich save ram use to avoid stack overflow