Search:

Type: Posts; User: Hitsugaya_KK

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    2,277

    But since I started the thread and all, I...

    But since I started the thread and all, I wouldn't want people to copy my work =/. That is the reason I want it removed. I never got much help with my code anyway. Not like you guys helped me do my...
  2. Replies
    10
    Views
    2,277

    How can I delete a thread?

    I created a thread on this site and I need it removed :(. I want the thread to be deleted plz. or can I delete the thread myself as the creator?
  3. Replies
    49
    Views
    14,423

    -_-. I have already fixed my problem. My whole...

    -_-. I have already fixed my problem. My whole code works fine now. I have been wasting time not working on my code much thinking someone could help me, but I had to be at everone's mercy by trying...
  4. Replies
    49
    Views
    14,423

    I have only one problem now regarding case 4, I...

    I have only one problem now regarding case 4, I don't have any problem with the reset of my code



    case 4: //allows user to choose items
    printf("do you want to add choose...
  5. Replies
    49
    Views
    14,423

    #include #include ...

    #include <stdio.h>
    #include <string.h>
    #include <sys/types.h>
    #include <stdio.h>


    struct item
    {
    int ID;
    char name[64];
  6. Replies
    49
    Views
    14,423

    #include #include ...

    #include <stdio.h>
    #include <string.h>
    #include <sys/types.h>
    #include <stdio.h>


    struct item
    {
    int ID;
    char name[64];
  7. Replies
    49
    Views
    14,423

    I have done this so far ...

    I have done this so far



    case 4: printf( "choose item for purchase\n" );
    int i, x[10],int quantity;
    for (i=0;i<10;i++)

    {
    ...
  8. Replies
    49
    Views
    14,423

    Choosing the quantity for each of the items will...

    Choosing the quantity for each of the items will make it harder to code. The number of items the person would like to choose should be up to 10 and the person should be able to stop choosing items at...
  9. Replies
    49
    Views
    14,423

    case 4: printf( "choose item for purchase\n" ); ...

    case 4: printf( "choose item for purchase\n" );
    for (i=0;i<10;i++)
    {

    printf("choice %d - %s\n",i+1,array.name);

    }


    Now the question is, how do...
  10. Replies
    49
    Views
    14,423

    but I don't know how to make the user choose the...

    but I don't know how to make the user choose the item or even quantity. I know I have to use the integer ID from the array to allow the user choose, the question is how to code it.
  11. Replies
    49
    Views
    14,423

    do you have any idea how I can code option 4?

    do you have any idea how I can code option 4?
  12. Replies
    49
    Views
    14,423

    I can only go so far in the second part :( ...

    I can only go so far in the second part :(



    int menu_choice;



    switch ( menu_choice)
    {
  13. Replies
    49
    Views
    14,423

    #include #include ...

    #include <stdio.h>
    #include <string.h>
    #include <sys/types.h>
    #include <stdio.h>


    struct item
    {
    int ID;
    char name[64];
  14. Replies
    49
    Views
    14,423

    I am now getting an error based on "char retstr,...

    I am now getting an error based on "char retstr, [BUFSIZ];" . It is saying Error 2 error C2059: syntax error : '[' :(. No need error anymore, I realised I had to get rid of "char retstr, [BUFSIZ];"...
  15. Replies
    49
    Views
    14,423

    laserlight, is this what you said I should do? ...

    laserlight, is this what you said I should do?



    int main(int argc, char *argv[])
    {
    FILE *fp;
    char retstr[BUFSIZ];
    char *f1, *f2, *f3, *p;
    int...
  16. Replies
    49
    Views
    14,423

    #include #include ...

    #include <stdio.h>
    #include <string.h>
    #include <sys/types.h>
    #include <stdio.h>


    struct item
    {
    int ID;
    char name[64];
  17. Replies
    49
    Views
    14,423

    ok I edited the code. will it do? I am sorry :(....

    ok I edited the code. will it do? I am sorry :(. ok I made final adjustments. I hope someone can help me in identifying my errors
  18. Replies
    49
    Views
    14,423

    this is what I have done so far: #include...

    this is what I have done so far:


    #include <stdio.h>
    #include <string.h>
    #include <sys/types.h>
    #include <stdio.h>


    struct item
  19. Replies
    49
    Views
    14,423

    this is the latest: #include ...

    this is the latest:


    #include <stdio.h>
    #include <string.h>
    #include <sys/types.h>
    #include <stdio.h>


    struct item
  20. Replies
    49
    Views
    14,423

    strange, when I try to build my code, I get this...

    strange, when I try to build my code, I get this



    // cstdio standard header
    #pragma once
    #ifndef _CSTDIO_
    #define _CSTDIO_
    #include <yvals.h>
  21. Replies
    49
    Views
    14,423

    ok I have added the curly bracket. so what should...

    ok I have added the curly bracket. so what should I do next? I have tried to figure out how to read the ID as the main part of each line. wow I noticed I get so many errors with the latest code I...
  22. Replies
    49
    Views
    14,423

    I had a feeling it was wrong. sorry MK27 ...

    I had a feeling it was wrong. sorry MK27

    anyway, I have redone the code. So what do you think of this?




    #include <stdio.h>
    #include <iostream>
    #include <fstream>
  23. Replies
    49
    Views
    14,423

    ok then. So you are asking me to use something in...

    ok then. So you are asking me to use something in relation to this? http://twiki.org/p/pub/Support/LockingAllFunctionsToRegisteredOnlyUsers/C-Examples.pdf . If so how do I apply it to...
  24. Replies
    49
    Views
    14,423

    I managed to make my code similar to what I saw...

    I managed to make my code similar to what I saw to in the link I recently provided. I would like someone to help me sort errors in the code :(.
  25. Replies
    49
    Views
    14,423

    I found a website that I could get some ideas...

    I found a website that I could get some ideas from which is Read file into array of structs - C example .

    Just wanted you to see this if this will help me better since I made little changes...
Results 1 to 25 of 44
Page 1 of 2 1 2