Search:

Type: Posts; User: chris charlotte

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    3,020

    shouldn't it be #include "inc.h" is there a...

    shouldn't it be #include "inc.h"
    is there a difference?
    i'm not sure, can somebody clarify?
  2. Replies
    2
    Views
    4,861

    paging and segmentation

    slightly of topic, but can somebody point out the difference between paging and segmentation.
  3. Replies
    1
    Views
    1,457

    killing processes...

    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...
  4. Replies
    6
    Views
    1,536

    you are right, its the hidden newlines in the...

    you are right, its the hidden newlines in the input file...
    also gets() will be better...

    thanks guys...
  5. Replies
    6
    Views
    1,536

    that is what i thought... but when i run a...

    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...
  6. Replies
    6
    Views
    1,536

    int i=0,j=0; char hold[200], ch; char...

    int i=0,j=0;
    char hold[200], ch;
    char *teamname, *lastname, *firstname, *email;
    FILE *output = fopen("output", "w");

    while( (ch = getchar())!=EOF)
    {
    do
    {
    ...
  7. Replies
    6
    Views
    1,536

    why segmentation fault?

    while( (ch = getchar())!=EOF)
    {
    do
    {
    hold[i++]=ch;
    ch=getchar();
    }while(ch != '\n'&& ch!=EOF);

    hold[i]='\0';
    i=0;
Results 1 to 7 of 7