Search:

Type: Posts; User: ling

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,891

    anyone have linked-list sample codes?

    Any one have some simple sample codes for Linked-List codes? because from the examples I found from books, they mostly only declare integer data inside the node.

    What I concern is, I need an...
  2. Replies
    3
    Views
    5,537

    display ASCII vaue of a string

    # include <iostream.h>

    void main(){

    char string[80];

    cout<<"Enter a string : ";
    cin.getline(string,80,'\n');
  3. Replies
    3
    Views
    5,537

    convert string to ASCII value

    I was new to C++. I trying to convert a string(example : hello) into ASCII value. I tried to use putchar(0, but it only work for one character.

    if I want to declare the char string become char...
  4. Replies
    5
    Views
    1,181

    hi there, I'd modified your coding...I hope it...

    hi there,

    I'd modified your coding...I hope it is what you want.

    ***********************code**********************

    #include<stdio.h>
    # include <stdlib.h>

    struct baby{
  5. Replies
    4
    Views
    1,801

    >Did this work ? >scanf ("%s",...

    >Did this work ?
    >scanf ("%s", &book_array[i].ISBN);


    sorry................ I should take out the '&'.......:D
  6. Replies
    4
    Views
    1,801

    sorry...I press the "post" button to fast... ...

    sorry...I press the "post" button to fast...

    the problem actually was in - book_record *search (char isbn[]) function.

    It always display the first book record information to me. why??
  7. Replies
    14
    Views
    17,779

    Thank you salem. :)

    Thank you salem.
    :)
  8. Replies
    4
    Views
    1,801

    Structure Array searching

    I always facing problem when deal with array......>_<

    mm.... I know there is something wrong in my program..but I don't know where is it? Can anyone modify for me?? thank you very much.

    ...
  9. Replies
    14
    Views
    17,779

    Thanks knave and pinko_liberal. ^_^ I know how...

    Thanks knave and pinko_liberal. ^_^

    I know how to doing the reverse priting in many ways now.



    :)
  10. Replies
    14
    Views
    17,779

    Hi, Salem, what are the different between using...

    Hi, Salem, what are the different between using void main() and main() (return 0).....

    will it cause any problem???? Thank you.
    :confused:
  11. Replies
    14
    Views
    17,779

    Thanks bigtamscot!!

    Thanks bigtamscot, now I know how to do printing the string in reverse order without using strrev();

    you solved the problem that i tried for one whole night..(how stupid I am..)
  12. Replies
    14
    Views
    17,779

    Printing String in reverse order

    I want to print all the characters (including spacing and special characters) in a sring in reverse order. But the program fail to do it. :confused


    Can anyone tell me what's wrong in my...
Results 1 to 12 of 12