shouldn't it be #include "inc.h"
is there a difference?
i'm not sure, can somebody clarify?
Type: Posts; User: chris charlotte
shouldn't it be #include "inc.h"
is there a difference?
i'm not sure, can somebody clarify?
slightly of topic, but can somebody point out the difference between paging and segmentation.
according to the microsoft website,
someprocess.Kill() will forcefully terminate the process.
someprocess.CloseMainWindow() request to exit ie a prompt appear reminding the user to save their...
you are right, its the hidden newlines in the input file...
also gets() will be better...
thanks guys...
that is what i thought... but when i run a program to count the number of newline, revealed that there is 4 newline for a file with 5 lines. ie. EOF is at the end of the last line...
i use getchar...
int i=0,j=0;
char hold[200], ch;
char *teamname, *lastname, *firstname, *email;
FILE *output = fopen("output", "w");
while( (ch = getchar())!=EOF)
{
do
{
...
while( (ch = getchar())!=EOF)
{
do
{
hold[i++]=ch;
ch=getchar();
}while(ch != '\n'&& ch!=EOF);
hold[i]='\0';
i=0;