Search:

Type: Posts; User: guest18

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    2,193

    A is for apple or alphabet pie which all get a...

    A is for apple or alphabet pie
    which all get a slice of, come taste it and try.

    this is the content of the txt

    hmm I have experiment with scanf and fgets to read the stream of redirection,...
  2. Replies
    17
    Views
    2,193

    A is for apple or alphabet pie which all get a...

    A is for apple or alphabet pie
    which all get a slice of, come taste it and try.

    this is what contained inside the txt :)

    for sorting part I think I just sort it abcd and such, IM pretty sure I...
  3. Replies
    17
    Views
    2,193

    c:\assignment\assignment1question2.exe < a.txt ...

    c:\assignment\assignment1question2.exe < a.txt

    yup it is not a part of C, I know but the assignment need me to do redirection to enter content of a txt file into the program
  4. Replies
    17
    Views
    2,193

    Microsoft Corporation...

    Microsoft Corporation

    this is redirection

    basically it is entering a file after exe when you executing it

    c:\assignment\assignment1question2.exe <- a.txt
  5. Replies
    17
    Views
    2,193

    its school assignment and requirement ...

    its school assignment and requirement



    printf("%c\n",*w[11]); <- I mean this one, if I put 11 and below it crash , but if I put 12 and above it work fine



    the school assignment said I got...
  6. Replies
    17
    Views
    2,193

    array of pointer give error above 11

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #define MAXWORD 30 /* max word size in characters */
    #define N 10000 /* max number of words */

    void sort_words(char *w[], int n);...
  7. Replies
    7
    Views
    1,151

    well the reason why it is pointer in the struct...

    well the reason why it is pointer in the struct is because the question Im doing required me to do so

    yeah, thanks alot, I shall go find way of allocating the pointer inside the struct
  8. Replies
    7
    Views
    1,151

    uhh the program arent suppose to quit at that...

    uhh the program arent suppose to quit at that stage, it still have another line to execute to enter



    well Book *pbook[howmanyrecords]; <- this already declare the pbook as pointer, if I put...
  9. Replies
    7
    Views
    1,151

    program quit automatically

    #include <stdio.h>

    typedef struct {
    char* author;
    char* title;
    char* isbn;
    int edition;
    } Book;

    int main()
  10. Replies
    4
    Views
    900

    god damm it I freaking hate c now ... I have...

    god damm it I freaking hate c now ...
    I have been alot of trouble with syntax

    I have completely rewritten my code
    why c gotto be soo hard , why it cant be like java

    T.T

    oh yeah ......
  11. Replies
    4
    Views
    900

    newbie with stack

    #include <stdlib.h>
    #include <stdio.h>
    #include <string.h>
    #include <ctype.h>
    #include <io.h>
    #include <conio.h>

    struct client
    {
    char name[40];
Results 1 to 11 of 11