If I just wish to create a copy of one single node (instead of a list), then would this be correct:
tmp = get_tmp( node );
TDnode * get_tmp( TDnode *node ) // I'm not sure of the argument?
{...
Type: Posts; User: dwlu244
If I just wish to create a copy of one single node (instead of a list), then would this be correct:
tmp = get_tmp( node );
TDnode * get_tmp( TDnode *node ) // I'm not sure of the argument?
{...
I don't see how they're different...the original node and the copy.
If it's any help, basically I wish to edit the new tmp_node without affecting the original node.
Thanks for the reply.
Can you please check if the following is correct, if I wish to do what you said and what I want to do?
(obviously I would need function protocol and everything, but just the...
Hi,
Say the node has data structure:
struct tdnode {
char *task;
char *notes;
TDnode *next;
};
I believe you use 'mod'.
For example
if( 15mod3 == 0 ) {
I think. Not sure.
EDIT* Actually on another post, I realise maybe instead of 'mod' it would be '%'
Thanks for both of the reply. But yeah, I didn't mean printf, I just meant normal instructions.
And I tried just using enter and the program worked normal. So yeah, it's all good.
Edit* I was...
Say one line on my code is 100 characters long. The requirement is 70 charaters per line just for the sake of layout. Basically, how do I make one line of code into two lines?
Would I just press...