C (gcc) , 50 bytes, -m32, 50 bytes
main(i){for(;puts(nl_langinfo(131079+i%7))-i++;);}
Explanation
Simply put, nl_langinfo() is a useful function which returns a particular string given an argument. It just turns out that the argument to pass for obtaining weekday names is 131079 ... 131086. One other thing is that we must add the flag -m32, which is explained nicely in this answer.
C (gcc) , 50 bytes, -m32
main(i){for(;puts(nl_langinfo(131079+i%7))-i++;);}
Explanation
Simply put, nl_langinfo() is a useful function which returns a particular string given an argument. It just turns out that the argument to pass for obtaining weekday names is 131079 ... 131086. One other thing is that we must add the flag -m32, which is explained nicely in this answer.
C (gcc) -m32, 50 bytes
main(i){for(;puts(nl_langinfo(131079+i%7))-i++;);}
Explanation
Simply put, nl_langinfo() is a useful function which returns a particular string given an argument. It just turns out that the argument to pass for obtaining weekday names is 131079 ... 131086. One other thing is that we must add the flag -m32, which is explained nicely in this answer.
C (gcc), 50 bytes, -m32
main(i){for(;puts(nl_langinfo(131079+i%7))-i++;);}
Explanation
Simply put, nl_langinfo() is a useful function which returns a particular string given an argument. It just turns out that the argument to pass for obtaining weekday names is 131079 ... 131086. One other thing is that we must add the flag -m32, which is explained nicely in this answer.