Search:

Type: Posts; User: m23oose

Search: Search took 0.00 seconds.

  1. Thread: strings

    by m23oose
    Replies
    12
    Views
    1,239

    It works fine now... thanks!!

    It works fine now... thanks!!
  2. Thread: strings

    by m23oose
    Replies
    12
    Views
    1,239

    Thanks!, I never would have been able to figure...

    Thanks!, I never would have been able to figure that out..

    How can I solve this?
  3. Thread: strings

    by m23oose
    Replies
    12
    Views
    1,239

    ok... now I'm just stumped... here's what I...

    ok... now I'm just stumped...

    here's what I have... well part of it



    switch (a)
    {
    case 1:
    printf("\n1.- Add a movie\n");
  4. Thread: strings

    by m23oose
    Replies
    12
    Views
    1,239

    ok, thanks... I added that, but now it doesn't...

    ok, thanks...
    I added that, but now it doesn't let me enter the string, and it gives it the value of "Žÿw", I think it might be stdin, any ideas?
  5. Thread: strings

    by m23oose
    Replies
    12
    Views
    1,239

    Maybe I didn't understand correctly, but doesn't...

    Maybe I didn't understand correctly, but doesn't fgets get strings from a file?
    Is there a way to use it to get a string from the keyboard?
  6. Replies
    5
    Views
    6,214

    you can put everything inside a do...while() ...

    you can put everything inside a do...while()



    int exit=0;
    do
    {

    All your other code here....
  7. Thread: strings

    by m23oose
    Replies
    12
    Views
    1,239

    strings

    Hi,
    If I want to imput a string, but it has spaces in it, what function do I have to use to "scan" it, if i use:

    scanf ("%s",string);

    it only "scans" the first word of the sentence...

    ...
Results 1 to 7 of 7