Talk:Directory listing (C, Windows)

From LiteratePrograms
Jump to: navigation, search

[edit] Oldscool versus API/functions()

Since both the standard library and the Windows API have functions to replace fixpath() I was just curious what other peoples view are on this before I rewrite anything. The Windows API allows you to use PathAddBackslash() and standard C allows us to use strlen(), strncmp() and other funcions that would help us replace the code in fixpath(). I don't think it is neccesary to reinvent functions that are allready present in both the operating system and standard C even if it's a nice example. Now this funciton can be rewriten in both standard C and using the Windows API. Since this program requires Windows I personaly would go for the API function. - Waxhead 07:43, 13 June 2006 (PDT)

I agree. We are allready depending on Windows API, and it is not possible (I think) to make the program portable anyway. Ahy1 07:58, 13 June 2006 (PDT)
hijacker
hijacker
hijacker
hijacker