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

Search:

Type: Posts; User: raj1986

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    2,566

    Re: Free is getting called for string object

    This is part of a program from multiple files.

    What is done is a object is returned from a function with extern "C". An so(shared object) file is created with this to be used by client programs....
  2. Replies
    4
    Views
    2,566

    Free is getting called for string object

    Hi,
    I have a class with a string variable like



    #ifdef __GNUC__
    #define DLL_PUBLIC __attribute__ ((visibility ("default")))
    #elif DLL_PUBLIC_IMPORT
    #define DLL_PUBLIC __declspec(dllimport)...
  3. Replies
    0
    Views
    984

    Regex Matches Count

    Hi,
    I am using Regex to evaluate a match. I see



    var lines = System.IO.File.ReadAllLines(fileName);
    foreach (var line in lines)
    {
    MatchCollection...
  4. Replies
    4
    Views
    1,494

    Re: Getters and setters

    Thanks you explained so nicely.
  5. Replies
    4
    Views
    1,494

    Getters and setters

    Hi,
    I am very new to c#.
    While i was trying to declare a variable variab as private and use the getters and setters to access it.

    I see the syntax like



    namespace MyTest{
    class Person
  6. Thread: Destructor

    by raj1986
    Replies
    4
    Views
    1,148

    Re: Destructor

    Thanks a lot. It is clear now
  7. Thread: Destructor

    by raj1986
    Replies
    4
    Views
    1,148

    Destructor

    I have got some doubt on destructor call.
    When the object is deleted then the destructor is called.

    When the object is deleted?
    stack object when goest out of scope and heap object when we call...
Results 1 to 7 of 7





Click Here to Expand Forum to Full Width

Featured