Search:

Type: Posts; User: crescen7

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,005

    Originally posted by shaik786 [B]>isn't...

    [QUOTE]Originally posted by shaik786
    [B]>isn't write also read and delete ?

    No. "w" is ONLY to write data. Delete? Never.



    Requesting a clarifiecation , oh wise shaik.....

    Doesn't "w" ...
  2. Replies
    11
    Views
    1,014

    natural boolean?

    Quzah,

    You're obviously better at this than I am, but just for clarification....

    I thought, according to somwwhere in this stack of books, that strcmp returned 0 on a match and either a...
  3. Replies
    11
    Views
    1,014

    Excellent!!!!

    Wow, this is outstanding.



    You folks make this look so easy. I'm ashamed to tell you how many hours I've got into this little function.



    It looks to me like all three methods would...
  4. Replies
    11
    Views
    1,014

    A 99% question

    One of the people on this board has in their signature - Programming is 99% logic & 1% syntax . (how true) So this is about that 99%.....



    I'm trying to compare an input with each of 25...
  5. Replies
    4
    Views
    2,780

    Hammer and Quzah God, Thanks for the quick...

    Hammer and Quzah God,



    Thanks for the quick response.

    Ok, I guess I understand that in the line:

    [ result = mysql_query(connection, sql_str); ]
  6. Replies
    4
    Views
    2,780

    assignment makes pointer from integer

    I'm trying to write a function to retrieve a particular field from a mysql database. I'm getting a compiler warning "assignment makes pointer from integer without a cast"

    I'm not sure if I'm...
  7. Replies
    3
    Views
    1,136

    Yes, and Yes

    Thanks Shaik,

    Yes it does compile - sorry the (.)was an error while trying to organize the bizzarre text wrapping copying from my gvim editor and pasting to the linux opera browser.

    and
    ...
  8. Replies
    3
    Views
    1,136

    almost - but one more question

    Ok, I've answered this at least part way. I've been able to make the connection to the database (mysql) and write a record entry. But I've only been able to do it while making static entries into...
  9. Replies
    3
    Views
    1,136

    writing to a mysql file

    Anyone know of a decent go-by or other resource for writing information into a mysql data base file using c.

    I've gone through the MySql site's "C API", and I've got a decent handle on the...
  10. Replies
    5
    Views
    1,746

    Hey, thanks for the quick reply.... You...

    Hey, thanks for the quick reply....

    You guessed right it is a string with printable characters ending in \0

    but when I use:
    FILE *newfile;
    newfile=fopen(msgID,"w"); [/B][/QUOTE]

    The...
  11. Replies
    5
    Views
    1,746

    Either I'm misunderstanding (quite possible) or...

    Either I'm misunderstanding (quite possible) or this doesn't do what I want.
    I understand that I can create whatever file name I want and open it, but I would like a new file name created at every...
  12. Replies
    5
    Views
    1,746

    create unique file

    What I'm trying to do - if possible is open(create) a file using a dynamicly generated file name.



    I"m working in a Linux environment using C



    Currently the existing function is passed...
  13. html spaces

    html calls it a "non breakable space"

    I'm not sure why it's "non breakable" - but it works just like the space bar.
  14. Replies
    4
    Views
    1,457

    clarification?

    Thanks for the reply Clown, I think I see what you're doing here..but I'm not sure I've got the format right. Couple of questions...


    int myFunction(FILE *out, ...);


    Are you saying that in...
  15. Replies
    4
    Views
    1,457

    redirect function output

    I checked the faq and searched the archives, but haven't found a clear answer. - and I'm very new at this so type slowly when you answer....

    In a Linux OS using gcc

    I've written a function...
Results 1 to 15 of 15