If you don't remember how to use the repository for turning in homework, follow the instructions at http://josephus.sergeantservices.com/classes/all/usinggit/. As part of the setup instructions you will establish your own (private) copy of the repository at bitbucket.org and will give terrys@gmail.com read privileges to your repository. Make sure you have the most recent files from the course repository and do your work in the provided hw02 directory.
When completed commit your work and push it to your bitbucket repository. Once you finish the assignment, feel free to “play around” with the program. Just for fun, see what other tasks you can convince your program to accomplish!
To work directly on csci.hsutx.edu you will need to connect to the server using an SSH client. In doing so you will establish a terminal (command-line) connection to the server and work from there. So, your working respository will be in your workspace on the server. For instructions on how to working remotely on csci.hsutx.edu read https://hsutx.instructure.com/courses/13381/pages/about-working-on-the-csci-server?module_item_id=434105.
Once you have successfully connected to the server you will find it helpful to watch these videos:
To link with C libraries to create executable (creates a.out): gcc myprog.o
To execute: ./a.out
To link but use another name besides a.out (creates myprog.exe): gcc myprog.o -o myprog.exe
Demo of using iomacros: See demos directory in homework repository For iomacros source code: See lib directory in homework repository