Course: Concepts of System-oriented Programming (Konzepte Systemenaher Programmierung = in German) Note: I did this one already. So I will send others one in the next messageat the end of this...

Course: Concepts of System-oriented Programming (Konzepte Systemenaher Programmierung = in German)
Note: I did this one already. So I will send others one in the next messageat the end of this semester (in June 2019) the target is to build a small virtual machine named NinjaVM (so the exercises are given Step by step)
Task 0: (VM0: main program, strings, command line arguments, output, deadline 12.04.2019)


Task 0


Design a C program "njvm.c", which consists only of the function int main(int argc, char *argv[]) and outputs the two strings "Ninja Virtual Machine started\n" and "Ninja Virtual Machine stopped\n" when called.
Modify your program from 1. to output all command line arguments before the two strings.
Modify your program from 1. so that the program responds sensibly to the command line arguments "--version" and "--help" as well as rejects unknown arguments. You can use the following reference implementation as a model for the behavior of your program (after downloading, make the program executable with "chmod +x njvm" before calling it with "./njvm"):


PLEASE FOR HELP.https://homepages.thm.de/~fzbn57/index.html

This is the link to the homepage of the teacher (unfortunately in German. Am just trying to translate for you - all the Exercises are there OnClick on Konzepte systemenaher Programmierung and see all topics and deadlines)https://homepages.thm.de/~fzbn57/index.html

Apr 23, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here