I'm attempting to make an Ncurses based menu frontend for a Hyper Text Coffee Pot Control Protocol Client. This was an april fools RFC and the spec for this can be found here:
...
Type: Posts; User: chris Ray
I'm attempting to make an Ncurses based menu frontend for a Hyper Text Coffee Pot Control Protocol Client. This was an april fools RFC and the spec for this can be found here:
...
Firstly thanks for all the help, i'm making some progress now!!
Right a quick update:
I added the missing = sign in the if checking for clashes. i can now add meetings without a problem!!
...
Please enter your Name: chris
Please enter Year for Diary (YYYY): 2008
Simple Diary
1) Add Meetings
2) Delete Meeting
3) Display All
4) Display One by One
5) Exit
Please choose an...
In that case i still get a clash error, i'm so confused :-( sorry!!
The add meeting function is in day.cpp.
so it should be
if(new_end > appointments.at(i)->start_time())
clash = true;
}
if ive understood you??
the other files...
Hi, as part of my course at uni we have started to learn C++. One of the projects we are working on is a diary. Its supposed to do the following:
The Diary objects created in previous weeks were...
Ok thanks guys, I’m beginning to understand why it’s coming up with that warning now, can someone show me an example using a different approach to achieve the same thing?? or a solution to make this...
line 113 is the first of my snprintfs
snprintf(AUTOLINE,256+NAME_MAX,"%sd",THISLINE); /*directory*/
with the version of this i have posted up at the moment the compiler doesn't like these lines:
#define AUTOLINE line[(((++linec))%2)]
#define THISLINE line[((linec)%2)]
get the following...
The bottom of the code with the sort function, i don't want to post everything here just in case someone else on my course finds this and starts using it. If you want more info let me know
Hi, some more info that may help you guys!
For an assignment at Uni, ive been writing my own version of LS. Its been going quite well, it will work with ls,ls -a, ls -l, ls-al and any of those with a directory. I would like some suggestions...