main()
function. If you want
to change the name of the initial file, edit the main filename afterward. Press
OK when you are satisfied with the settings.See section Starting a New GCC Static Library Project to learn more about Static Library projects.
In the ASF Wizard, you can select which Drivers, Components, and Services you would like to use in the project for the current build architecture and board.
#define MAXINT 200000 int main(void) { unsigned int t=1000, k=0, l=5, pn=2; unsigned int primes[t]; primes[0]=2; primes[1]=3; while (pn < t || primes[pn] < MAXINT) { for ( k = 0; k <= pn; k++) { if (l % primes[k] == 0) { goto otog; } else { if (k == pn) primes[pn++]=l; } } otog: l += 2; } return 0; }
Dependencies
All the included files are listed here. Double click on any file to open it in the editor.
Output Files
All output files are displayed below this item.
Libraries
All Static Library files, Toolchain Library, and other Library Files will be displayed below this item.
See section Library Options to learn more about Library options.