CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #3
    Join Date
    Mar 2009
    Posts
    4

    Re: Quick beginner question

    You cannot create multiple objects with the same name.Here what done is,just rewriting the object with the new..or It is similar to following,,

    int a;

    for(int i=0,i<10;i++)
    a=i;

    Here you are not creating the multiple integer variables with the same name...
    Last edited by ms_javalover; March 7th, 2009 at 07:40 AM. Reason: To add some more text

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured