Search:

Type: Posts; User: Smola

Search: Search took 0.01 seconds.

  1. Thank you Laserve for your more detailed reply. ...

    Thank you Laserve for your more detailed reply. I can see you don't find it too much of a hassle to tell me that "%c" is the correct syntax. I will change it right away.

    However my biggest...
  2. i dont see what isnt complete about it. perhaps...

    i dont see what isnt complete about it. perhaps your compiler is old or too new or something. like i said, it is compiling fine for me. i dont know what the problem is for you.

    how do i declare...
  3. 1st: the code compiles just fine for me. i am...

    1st: the code compiles just fine for me. i am using telnet with a compiler on the other end. no problems happen for me. it may be the line that goes off the screen. it is shown in the code box...
  4. Here it is: #include struct...

    Here it is:



    #include <stdio.h>

    struct record{

    char book_name[50];
    char author[50];
  5. Yes I read a bit on the subject. A string is...

    Yes I read a bit on the subject. A string is simply a character array. The variables you referred to "author_search" and "publisher_search" have now been declared as



    char author_search[50];...
  6. So should i just remove all the ampersands? why...

    So should i just remove all the ampersands? why does it work with the other records? did you try compiling it yourself as well?


    EDIT: and why is it not reading only the FIRST record book name?...
  7. Searching and matching strings: segmentation fault (EDIT: code posted!)

    I am programming a simulation of a library catalogue and am using a switch statement for selections of types of data to be searched. searching year, edition, and price are all working just fine. ...
Results 1 to 7 of 7