Application settings saved, but not viewable in visual studio
I've got a program with (you guessed it) a .properties file.
I've saved new values for properties while running the program through visual studio's debugging system.
The changed properties are persistent when running the program (they appear in text boxes, as per my code), but when I view the settings file within visual studio, they are the same as before I changed them.
Two questions here:
-Would these settings reset back to default if I were to compile and export the project?
-Will these modified settings be still viewable if I commit the project changes to github (using the visual studio gitignore)
Would these settings reset back to default if I were to compile and export the project?
No, but you need to be mindful in what mode you are compiling. If you test in Debug mode and modify the application settings file in the Debug/bin folder and then compile in Release mode, the file in Release/bin will be the same as the settings in the project and not that which may have been modified in Debug/bin.
Will these modified settings be still viewable if I commit the project changes to github (using the visual studio gitignore)
Yes, your settings will be persisted for both Visual Studio and any changes you may have made. Visual Studio reads the settings from the App.config file, but your program reads them from the application configuration file. So both will be available if you upload them to github.
To test, modify your application settings file in your whatever/bin folder (where whatever refers to debug or release depending on your compile settings) in Notepad and then run your program and you will see that the setting has changed, but in Visual Stido, properties it has not. Now midfy the App.config file in Notepad in the root of your project folder and you will see that Visual Studio reflects these changes.
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...