Search:

Type: Posts; User: vice

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    12,056

    yes I'm having the same problem, is anyone can...

    yes I'm having the same problem, is anyone can give some example of how implementing glaux replacement
  2. Replies
    2
    Views
    1,457

    Spellchecker program

    I'm trying to create a spellchecker program with dictionary stored in a file. My question is What is the best data structures to implement spell checking program. I'm using hashing right now but for...
  3. Thread: need help please

    by vice
    Replies
    1
    Views
    888

    need help please

    I'm trying to create postfix notation from infix notation
    Something wrong with my code, it suppose not change the value in "before push" and "before push2", but why it always change?



    #include...
  4. Replies
    3
    Views
    1,938

    thanks for the explanation

    thanks for the explanation
  5. Replies
    3
    Views
    1,938

    printf function explanation

    int printf(const char *format, ...);

    Why printf can receive more than 2 arguments although there is no overloading in c.

    Anyone can give me some brief explanation the use of ...(3 dots) in...
  6. Replies
    2
    Views
    2,169

    sorting in linked lists

    Can we sort elements inside the linked list using qsort, if not what must we do to sort elements inside the linked list?



    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    ...
  7. Replies
    1
    Views
    718

    Problem in linked list

    Help please,

    Well the program run just ok, but when I try to delete the last item inside the "view book's detail" menu, suddenly the program crash and unable delete the last item.

    Anyone can...
  8. Replies
    8
    Views
    2,185

    Yeah it works thanks a lot What "%*c" in your...

    Yeah it works thanks a lot
    What "%*c" in your code used for?
  9. Replies
    8
    Views
    2,185

    What about if i want to read the whitespace in...

    What about if i want to read the whitespace in the string like in "Robinson Crusoe", can we use fscanf("%s", .....)
  10. Replies
    8
    Views
    2,185

    I've tried using fscanf but the result is it only...

    I've tried using fscanf but the result is it only read a string at a time, if there is white space it will skip and move to the next string. If we use fgets it will read the whole string in the text...
  11. Replies
    8
    Views
    2,185

    Input/output question

    Basically I must create a library system which prompt user for some books input, then we save the books to file and when we open the program for the second time we can load the books that we have...
  12. Replies
    1
    Views
    850

    question about structure?

    Anyone know why we can't use scanf to initialize strucutre?



    #include <stdio.h>
    #include <stdlib.h>

    int main()
    {
    struct automobile
  13. Thread: String Search

    by vice
    Replies
    3
    Views
    964

    thanks for the solution, that really help me alot

    thanks for the solution, that really help me alot
  14. Thread: String Search

    by vice
    Replies
    3
    Views
    964

    String Search

    I'm trying to make a search string function, it will search a string if it's found it will return 1 or 0 if it's not found.



    #include <stdio.h>
    #include <string.h>

    /*
    A program for...
  15. It will be the same because u only use it for...

    It will be the same because u only use it for loop counter.

    Try this:


    #include <stdio.h>

    int main()
    {
    int i = 0;
Results 1 to 15 of 15