Search:

Type: Posts; User: infantheartlyje

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,252

    Yes. Mr. salem !!! I have to finish my work very...

    Yes. Mr. salem !!! I have to finish my work very soon ! this also very slow to me ! so only i post the question in many forums.
  2. Replies
    3
    Views
    1,252

    Doubt in writing in binary file.

    Hi folks, I had created a class for student. This is the class.


    class student
    {
    int rollno,marks;
    char name[20];


    public:
  3. Specif Record Read error in random access files.

    Hi i could not specific Record from my binary file. This is the method to list out all records.


    int student :: showall(fstream &fp)
    {
    student rec;
    fp.seekg(0,ios::beg);
    int i=0;...
  4. Passing Class object to the same class method

    Hi folks, I have written code to random access files in c++ . I got result without creating a method for write a record to the file. I have given the code snippet below.


    #include<iostream>
    ...
  5. Replies
    12
    Views
    2,290

    if i open like this, the file is created...

    if i open like this, the file is created successfully.


    fPointer.open(fname.c_str(), ios::out | ios::binary);
    if ( !fPointer )
    {
    cout << "Failed to open" << endl;
    }
  6. Replies
    12
    Views
    2,290

    Then what is the problem here?? should i declare...

    Then what is the problem here?? should i declare the fPointer as reference???
  7. Replies
    12
    Views
    2,290

    This is my new code : #include ...

    This is my new code :


    #include <iostream>
    #include <fstream>
    #include <cstring>
    using namespace std;
    struct status
    {
    char name[80];
  8. Replies
    12
    Views
    2,290

    What you are telling??? sorry. i could not get u

    What you are telling??? sorry. i could not get u
  9. Replies
    12
    Views
    2,290

    I removed. But still The result is not correct.

    I removed. But still The result is not correct.
  10. Replies
    12
    Views
    2,290

    Random access files

    Hi..this is my coding. Its compiled successfully. But i could not get my result. I don't know whether the data stored in the file successfully or not. Please Help me.


    #include <iostream>...
  11. Replies
    1
    Views
    2,260

    File handling problem

    HI folks,
    This is my code. How can i pass a outside structure parameter to a class method?


    using namespace std;
    struct status
    {
    char name[80];
    double balance;
    unsigned long...
  12. That older posts are posted by my colleague sir !!

    That older posts are posted by my colleague sir !!
  13. Now I'm Learning only. Still i didn't get into...

    Now I'm Learning only. Still i didn't get into the project sir !
  14. Yeah ! You are Absolutely correct. But not...

    Yeah ! You are Absolutely correct. But not "they". Now its mine Only. Actually i have lot of doubts in switch ? Can you explain me about switch statement ? Can i use switch statement inside a other...
  15. Function overloading by passing structure variable

    Hi folks,
    This is my code. I don't know what error in this. Please help me to correct it



    struct m_Record
    {
    int number;
    char S_trancode[3];
    char S_sectype[5];
  16. Replies
    4
    Views
    2,869

    Selecting pivot in sorted array.

    Hi folks,
    I'm having 200,000 records those are sorted by date. Now i want to insert one back dated record as order. If i using quick sort to insert back dated record inside the file, How to...
  17. Replies
    11
    Views
    15,449

    But by using this clock() function i couldn't get...

    But by using this clock() function i couldn't get the milliseconds ?
  18. Replies
    11
    Views
    15,449

    Actual time that the processor is running.

    Actual time that the processor is running.
  19. Replies
    11
    Views
    15,449

    Very helpful. Thanks a lot !!!

    Very helpful. Thanks a lot !!!
  20. Replies
    11
    Views
    15,449

    Yes. Its not windows programming. Any way thank...

    Yes. Its not windows programming. Any way thank you.
  21. Replies
    11
    Views
    15,449

    Calculate Execution Time?

    How to calculate Execution time in milliseconds?
    if i use time() function i can get the result only in seconds .
    What about clock function ? How to print the difference using clock_t variable?
    ...
  22. Replies
    77
    Views
    16,872

    I NEVER discount experience! But, if we accept...

    I NEVER discount experience! But, if we accept experience is everything, if status quo would prevail, if something is not there, there is a reason why it is not there, then we wouldn't have many...
  23. Replies
    77
    Views
    16,872

    I agree. App should do what it is supposed to and...

    I agree. App should do what it is supposed to and leave the OS to handle what it does and let the firmware handle the h/w.
    Looks like if my idea were to be implemented, there would have to be...
  24. Thank You all ! Very nice explanations and ideas...

    Thank You all ! Very nice explanations and ideas ! Here i some what learned about sprintf, how to avoid goto statement and How to use arrays in good way. Once again Thank you for you all.
  25. 1. Then how to convert integer to String ? Which...

    1. Then how to convert integer to String ? Which function should i use ?

    2. So in my program how to use concatenation ?
Results 1 to 25 of 57
Page 1 of 3 1 2 3