Ah, great... I'm having a problem before I can even post the 'real' one... I'm using telnet, with W2k, and I can't copy my codes!!
I was under W98 before, and there was a toolbar that enabled me to copy whatever was highlighted... the toolbar's gone!!
Ok, now let's get into the actual problem.
I have to use pointer-to-struct array (yes, that's for an assignement), and an input file.
I declared my pointers:
initialized them to NULLCode:EMP *emp;
but now I'm confused as to how do I pass them to other function by value, and by reference???Code:for ( ;emp*; emp++) *emp = NULL;
Do I have to declare pointers-to-pointers and pass those when I want to pass by value? and pass the pointer-to-struct when I want to pass by reference?
Those pointers are really getting to me cause I'm just getting more confused every time I have to use them!!!