|
From: Per W. <pw...@ia...> - 2003-11-04 07:55:07
|
There is _makepath() or _wmakepath() available in stdlib.h, also available
as _tmakepath() through tchar.h if you want unicode-support.
However, why do you ask here. Didn't you try a grep in the include
directory of the compiler? That is always the fastest method of locating
which include file that contains a specific function.
/Per W
On Tue, 4 Nov 2003, Dondolo Mpho wrote:
> Hi all
> I am getting an error "makepath:undeclared identifier"....can somebody
> please tell me what I am doing wrong. Is makepath() not declared in stdlib.h
>
>
> #include<stdlib.h>
>
> main()
> {
> char fullpath[_MAX_PATH];
> char drive[_MAX_DRIVE];
> char directory[_MAX_DIR];
> char filename[_MAX_FNAME];
> char extention[_MAX_EXT];
>
>
>
> makepath(fullpath, "c","\\Limpho\\mpho\\lindeka", "family" , "txt");
> return 0;
> }
>
|