Search:

Type: Posts; User: forumuser

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. C++ File Input Output VS C file Input Output

    One of the advantage of C++ file IO is that when the exception is thrown or file handle goes out of scope, file handles are closed automatically.

    What are the other points where C++ file IO...
  2. Is there any formatting flag that makes it...

    Is there any formatting flag that makes it possible to print decimal values with required precision?
  3. setprecision is a manipulator and hence this is...

    setprecision is a manipulator and hence this is not the required solution.
  4. Displaying 9.8754321 exactly using cout and format flags

    Pls suggest the code so that the value 9.8754321 is exactly displayed without any truncation? Dont use manipulator or printf function. It is expected to use only formatting flags.




    int...
  5. Whare are advantages of C++ Input/Ouput over C input/output apart from type safety?

    This is not an assignment,but, an attempt to understand C++ in depth.


    1 .Whare are advantages of C++ Input/Ouput over C input/output apart from type safety and exentensibility for objects?

    2....
  6. Replies
    8
    Views
    1,732

    Friends, you have misunderstood me...I am not a...

    Friends, you have misunderstood me...I am not a student. I am trying to understand C++ in deep so requesting you to share a knowledge if you can.
  7. Replies
    8
    Views
    1,732

    C/C++ Type Safety

    C++ uses type-safe I/O. Each I/O operation is executed in a manner sensitive to the data type. If an I/O member function has been defined to handle a particular data type, then that member function...
  8. I could come to some conlusion after...

    I could come to some conlusion after experimenting this.

    When exception is thrown in a method and not immediately caught, terminate method is called.
    But, if the exceptoin is caught and rethrown...
  9. Replies
    5
    Views
    728

    Can you justfity? This is not homework but fundu...

    Can you justfity? This is not homework but fundu questions. Pl answer
  10. didnt compile

    didnt compile
  11. ok. Is it necessary to explicitly throw invaid...

    ok. Is it necessary to explicitly throw invaid argument exception or system generates it?
  12. no it doesnt work

    no it doesnt work
  13. Can u correct below code so that invalid_argument standard exception is thrown?

    #include <iostream>
    #include <string>
    using namespace std;

    class A
    {
    int i;int j;
    public:
    A(int ii,int jj)
    {
  14. why exception in not caught in below code snippet?

    When exception is thrown in a function and not handled there, it is passed to calling function where it can be handled...exceptoin occurs in A() which shd get handled by catch block in main which...
  15. division by zero to any integer gives infinity answer instead of runtime error

    int main()
    {
    int z=0;
    int i=1/z;
    cout<<i;

    }

    It doesn't throw any error in Visual Studio 2008. .......What setting one has to change so that it will show runtime error in VS 2008.....
  16. Replies
    5
    Views
    728

    Exception Handling

    Pl confirm if following statements are true.

    1. When exception is thrown and not caught, destructor is called during stack undwinding.
    2. When exception is thrown , destructor is called.
    3....
  17. Replies
    3
    Views
    841

    Internationalisation C Program

    Hi,

    Can you tell me various ways of internationalising C program?

    Pls provide useful links or code.
  18. Replies
    160
    Views
    278,022

    Sticky: IIT M.Tech. Madhusudan Mothe's book explains C...

    IIT M.Tech. Madhusudan Mothe's book explains C concepts in easy words. Beginner can easily become expert after studying it. It is just relased on 1st Jan 2009. One can see sample chapter at
    ...
  19. Replies
    3
    Views
    744

    Still, it is not working. Please suggest

    Still, it is not working. Please suggest
  20. How one can convert wchar_t to char in C? Please suggest the code.

    How one can convert wchar_t to char in C? Please suggest the code.
  21. Replies
    3
    Views
    744

    Library not getting loaded...Pls help

    Library is getting loaded if I hardcode the path
    h=LoadLibrary(C:\\dll\\name.dll);

    However,library is NOT getting loaded...It returns NULL..Pls suggest to fix it.
    <code>
    HINSTANCE h = NULL;...
  22. Can anyone send me C Socket Programming Tutorial for a beginner?

    Can anyone send me C Socket Programming Tutorial for a beginner? It's urgent.
  23. Replies
    160
    Views
    278,022

    Sticky: IIT M.Tech. Madhusudan Mothe's book explains C...

    IIT M.Tech. Madhusudan Mothe's book explains C concepts in easy words. Beginner can easily become expert after studying it. It is just relased on 1st Jan 2009. One can see sample chapter at

    ...
  24. Replies
    2
    Views
    850

    Intersting Question

    Expression of if statement is a sequence point.

    Sequence point is a specified point in the execution sequence where all side effects of previousevaluations are complete and no side effects...
  25. Mysterious linking error..Pls suggest solution ..it's urgent

    I am compiling 1 project. Itís compiling but giving linking error like below



    LINK : fatal error LNK1104: cannot open file '.\Debug\file.obj'

    I tried to find out the reason. I searched...
Results 1 to 25 of 63
Page 1 of 3 1 2 3