The first error message of "no such file ..." has disappeared after I changed the name of the directory
but the rest 4 errors remains. I have also tried to redownload a newer version of the marking script aswell
VScode has been fine but out of no where today I am getting error saying
" include file includes itself"
I have a treve.h file that has include "hashtable.h" and inside my hashtable.h I have include "trove.h"
I played around and deleted some stuff one...
I am trying to read a file line by line and extract each of the words out for processing later on.
trouble I am having right now is I am using fgets, which requires me to find out the length of a line the number of characters I need to read before I ...
soz if this question has already been answered (so many clarification posts).
for out command line argument when we specify the month (either an integer 0..11, or a 3-character name).
DO we need to take into account of Jan, jAN and other kinds of non-l...
char strcpy pointer( char dest, char src ) two pointer parameters
char origdest dest; take a copy of the dest parameter
while( src ' 0' )
dest src; copy one character from src to dest
src;
dest;
dest ' 0';
return origdest; ...
3.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.
So there is at most 20 non comment lines (commands lines...
chris setted up mycc as a "shortcut" for compiling, its equivalent of something like "cc -std c11 -Wall -Werror" and can be setted up. Its explained on the bottom of one of the linux basics pages
Also another question, I can't use exit(0) and exit (1)
as when I compile
"haversine.c 27 5 error incompatible implicit declaration of built-in function exit -Werror
27 exit(0);"
But I can compile with exit(EXIT FAILURE);
Just wondering...
In the workshop there says printf("haversine distance .1fm n", haversince function(....);
I understand the n and i etc, but can you go through the .1fm a bit more?
Tried googling it but it seems like I dont know how to ask a good questions and fi...
I need some help with question 10, specifically need help with c deciding whether my file is the name of a text file or an user input text.
few lines of my code
FILE fp;
there is a text file "text.txt" located in the follow fo...
Hi just want to sate a contradiction I noticed. It says there is a face to face lab session 2-4pm on Wednesday but on top left it says its online. This session also doesn't exist on CAS. What is the verdict?