CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: gulHK

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: import package

    by gulHK
    Replies
    10
    Views
    723

    Re: import package

    I have just tried the program without the .class files and copying only the .java ones and it worked. You were right and thanks a ton for that :)
  2. Thread: import package

    by gulHK
    Replies
    10
    Views
    723

    Re: import package

    Hello Phillp

    I have copied the .java classes into my project and it works fine. I do not need to import them any more. But I still cannot use the .class files and it gives me the same error. This...
  3. Thread: import package

    by gulHK
    Replies
    10
    Views
    723

    Re: import package

    Thank you Phillip

    The package "pack" is just a folder containing files with .java and .class extensions. We are asked to create a program that contains four classes which should use the files...
  4. Thread: import package

    by gulHK
    Replies
    10
    Views
    723

    Re: import package

    Yes but are these not two different websites?
  5. Thread: import package

    by gulHK
    Replies
    10
    Views
    723

    import package

    Hello all

    I am a student and I am new to Java. I have created a simple Java program. We have been given a package to import into the program we have developed. The classes of the package are...
  6. Replies
    51
    Views
    3,157

    Re: Interview Questions

    Thanks D_Drmmr for this useful example :)
  7. Replies
    51
    Views
    3,157

    Re: Interview Questions

    I am sorry for being silly Paul and Laserlight.

    I think I need detailed study to fully understand the concepts. Any way thanks a lot.
  8. Replies
    51
    Views
    3,157

    Re: Interview Questions

    The value of "cNancy" in both of the above cases is eventually equal to that of "cMark". Is this correct?
  9. Replies
    51
    Views
    3,157

    Re: Interview Questions

    That's what's written in one of the websites



    Cents cMark(5); // calls Cents constructor
    Cents cNancy; // calls Cents default constructor
    cNancy = cMark; // calls Cents assignment operator
    ...
  10. Replies
    51
    Views
    3,157

    Re: Interview Questions

    Paul I know which one uses copy constructor and which one uses assignment but what are the uses of each of these two ways? why not we just always use a copy constructor or why not always an...
  11. Replies
    51
    Views
    3,157

    Re: Interview Questions

    I have now gone through few of the websites to clear my concepts about copy constructor and assignment and have found out that these are just two different ways that serve the same purpose, one...
  12. Replies
    51
    Views
    3,157

    Re: Interview Questions

    Thanks laserlight :). Virtual destructor concept is now clear to me
  13. Replies
    51
    Views
    3,157

    Re: Interview Questions

    Thank you all

    I still have few confusions.

    1) If any of the functions of the base class is virtual then destructor should also be virtual. What will happen if destructor is not virtual?

    2)...
  14. Replies
    51
    Views
    3,157

    Interview Questions

    Hello All

    Below are the few questions that were asked in an interview. Can anyone please explain to me the answers in an easiest way with examples.


    1) Volatile object
    3) Can...
  15. Replies
    8
    Views
    281

    Re: Reading Data from file and manipulating it

    Hello GCDEF

    Yes I can read and write a file, I can parse it and I also can make use of STL containers, I just dont know how to go about it.
  16. Replies
    8
    Views
    281

    Re: Reading Data from file and manipulating it

    Hello laserlight

    "you reuse the letters when the letters in the first column actually have nothing to do with the letters of the same name in the second column"

    That's how exactly the actual...
  17. Replies
    8
    Views
    281

    Re: Reading Data from file and manipulating it

    Hi Tex

    It is not about E, any alphabet can be missing, the point I am trying to make is that where ever a value of some alphabet is missing, we should put ZERO as its value. And value of any of...
  18. Replies
    8
    Views
    281

    Reading Data from file and manipulating it

    Hello All

    Could anyone please help me with solving the problem below?

    File Data format
    A,A
    A,B
    C,E
    C,F
    And so on ... it could be up to any alphabet. The number of As and Bs and Cs and Ds...
  19. Re: Multi-level algorithms for date-driven scheduling

    Oh thank you so much Victor :)
  20. Re: Multi-level algorithms for date-driven scheduling

    but first I need to know the meaning of what is "Multi-level algorithms" and "date-driven scheduling"?
  21. Re: Multi-level algorithms for date-driven scheduling

    That is one of the requirements of a job I have applied for. I do have an idea of the rest but I didnt understand this one
  22. Re: Multi-level algorithms for date-driven scheduling

    I did try but couldnt find any easy definition/way to understand.
  23. Multi-level algorithms for date-driven scheduling

    Hi all

    Can anyone please tell me what is Multi-level algorithms for date-driven scheduling?

    Thanks
  24. Replies
    2
    Views
    445

    Re: print chars as keys are hit

    Thanks
  25. Replies
    2
    Views
    445

    print chars as keys are hit

    Hello everyone.

    I found this method
    TCHAR win_getch()(below) on a website which is used for printing the characters as the keys on keyboard are hit i-e without hitting the ENTER key. This method...
Results 1 to 25 of 109
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width