Search:

Type: Posts; User: Vedran

Search: Search took 0.01 seconds.

  1. Problem with swapping structures inside file

    Hi,i tried normal swapping method like this (counter is number of structures written in file) :


    fopen("books.txt","r+");
    system ("cls");
    for(i=1;i<counter-1;i++){...
  2. Replies
    4
    Views
    1,008

    Oh so stupid mistake,didnt think about that .....

    Oh so stupid mistake,didnt think about that .. Thank you! :)
  3. Replies
    4
    Views
    1,008

    My code is in Croatian... I type full book name...

    My code is in Croatian...
    I type full book name with spaces in bookname,name and surname of author in author,and year in year with this:



    printf("\nHow many books do you want to type in?\n");...
  4. Replies
    4
    Views
    1,008

    File Output problem

    Hi,i need help with my book database.I use scanf to store book name,author name and year when is book writen.

    example:


    scanf(" %[^\n]",k[i].bookname);

    I have problem when i want to printf...
Results 1 to 4 of 5