When I add the prototype to the header file, and remove the static keyword, it works out.
Type: Posts; User: fireonyx
When I add the prototype to the header file, and remove the static keyword, it works out.
When I just add the prototype up top, it just says its used, but never defined. And yes, ill have to cast the arg someway else.
Our assignment is to write a program that tests our teacher's code. He has written 4 files for us to "test". However, when I try and compile it, it cant find only 1 of his functions, but the rest...
Our assignment is to make a simplified stdio.h. I have most of it done and working, but I am having a problem with with my_fwrite. I am trying to copy the buffer that the user sends to me into the...
thanks all. I have a class that has several public char[] arrays. The method posted by Tonto works fine. Its been forever since I have done c++, and still getting the hang of it again.
Is there any clean way to print out a fixed-length string (no null terminator)? I realize I can copy the fixed length to a string and print out the null terminated one, but that seems execive. I...