Search:

Type: Posts; User: aditya1

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    5,185

    What you would like to do is convert the short...

    What you would like to do is convert the short int into a stream of bytes and then you are good to go.
    These conversions are easy when you use stringstreams
    good luck
  2. Replies
    13
    Views
    1,732

    i dont think cin.get will give you the same...

    i dont think cin.get will give you the same effect as cin.getline gives.
    because cin.get will not capture the \n entered in the first input to the name.

    have you tried?
  3. Replies
    5
    Views
    2,038

    but how can I "insert" the record in the right...

    but how can I "insert" the record in the right place.
    Is there a command for this.
    OR it will involve erasing the whole database and putting the sorted one at that place.
    Is there a way through...
  4. Replies
    5
    Views
    2,038

    file handling problem

    I have to make a file (or a database I should say)in which I can read,write,append ---I can do these things easily.

    The problem is that how I can rewrite at a particular location.

    Also how I...
  5. Replies
    4
    Views
    1,489

    Try This

    int num;
    //push
    for(i=o;i<tos;i++)
    {
    cout<<"enter the no.";
    cin>>num;
    s1.push(num);
    s2.push(num);
    }
    //pop
  6. linux(red hat 9)

    linux(red hat 9)
  7. Thread: strings

    by aditya1
    Replies
    23
    Views
    2,291

    surely,one can find the '.' but inserting '.' is...

    surely,one can find the '.' but inserting '.' is not that easy.one should then know all
    .com,.tk,.info etc sites .
  8. thanks man! but can u tell me where will I get...

    thanks man! but can u tell me where will I get such library?
  9. any substitute for conio.h(turbo c++) in g++ compiler?

    couldn't find the other way out for getting characters entered
    from the user as one can do with getch() under turbo c++ compiler.
Results 1 to 9 of 9