This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:comporg:projects:pnc0 [2018/01/21 01:55] – [Program Specifications] ahought2 | notes:comporg:projects:pnc0 [2018/01/22 13:51] (current) – [Program Output Format] bstrong2 | ||
---|---|---|---|
Line 108: | Line 108: | ||
#include < | #include < | ||
</ | </ | ||
+ | |||
+ | **sqrt()-less square root approximation (a)-** This is optional, you would do this instead of the sqrt() function. (If you've taken discrete then you know how to do it, if you haven' | ||
---- | ---- | ||
**primereg.c** - baseline program (Brute force, no break)\\ \\ | **primereg.c** - baseline program (Brute force, no break)\\ \\ | ||
Line 133: | Line 135: | ||
-**Put all c files in gcc directory from pnc0 grabit** \\ | -**Put all c files in gcc directory from pnc0 grabit** \\ | ||
- | -Numbers go to stderr, time goes to stdout \\ | + | -Numbers go to stderr, |
=====Testing===== | =====Testing===== |