Just another question regarding these types of questions where the program function accepts a file directory name as an argument. Do we assume that these file directory names are their full pathnames? Or should we use realpath() to convert the names ...
ANONYMOUS wrote
Sorry I don't know why but the actual post is showing only one space before the debugging statement but there's supposed to 4 spaces preceding it.
printf(" searching for ' s' n", wanted); 4 spaces 1 tab in my text editor
...
Hello,
I've completed submitted my project-2 ages ago, but I just had a concerning thought regarding my debugging statements while examining the sample solution code.
So for my debugging statements, I did
printf(" searching for ' s' n", wanted); ...
Hi Chris, on that note, and if you don't mind me asking, how many marks will I be missing out on if I fail to implement gzip and zcat in my final submission?
Ofcourse, I'll try my best to complete the project and meet all the requirements, but the las...
Hello,
In my program I'm currently using dup2() to redirect the standard output to a file instead of the console.
However, after that line of code my program stops printing any debugging statements done by printf(). I was wondering if there is a way t...
Hello,
I'm also having a similar problem with the op, but instead my trove program, when attempting to build the trove-file, prints this statement out
gzip myTroveFileName file size changed while zipping
Now, when I do "echo ?" straight afterward...
Hello,
This is my first time having to decide the contribution percentages for a project.
What does that actually do to an individual's final mark?
Let's say I'm working with a partner and we decided to go 50 50 contribution, does that mean I as an ind...
This might not be the answer that you're after, but from Lecture-8 there's this paragraph
"File access mode flag "b" can optionally be specified to open a file inbinary mode
(described later). This flag has effect only on Windows systems, and is ignor...
Hello,
I'm just finishing off the lab sheet from last week but I am facing a problem when using strdup().
I've defined POSIX C SOURCE as 200809L before the statement that includes the string.h header file as follows
define POSIX C SOURCE 2008...
Hello,
This isn't really a question that focuses on this unit but one that I still want to ask here.
Every time I'm involved in a group partner project for any of my CS units, I realized that all we end doing is work on the entire project individually ...
Hello,
According to 10 of the Project requirements and fine-print, our program is required to provide 3 words separated by one-or-more whitespace characters. My current program prints these outputs using printf(). This might be a unnecessary question...