I have come across a strange feature(?) of the C standard, which is that you cannot declare new variables within a single switch-case. For example, the following will not compile
switch(a)
case 0
int x 0; trying to declare x
x ;...
My project partner and I have come up with about 3 different plans of attack for a certain portion of the project and are unsure about how to proceed. The decision mainly involves a tradeoff between
memory efficiency (i.e. reducing the amount of ...
Hello friends
I have been stuck for a while now on conceptualising a logical flow for simulating the running of the crontab processes. My plan was to have a while loop to iterate through every single minute in the target month, updating the counts of ...
The project fine print states
"The crontab-file and the estimates-file will each contain at most 20 non-comment lines. Each line will be at most 100 characters long, and each command name will be at most 40 characters long."
Does this mean we are guar...
hello, i have a question about the use of pointers in strtol,
strtol(char , endptr, int) takes
a string input (which it attempts to convert into an int),
a pointer to a (previously declared) empty pointer, which it uses to return a pointer to the ...