what's __agrc come from ??? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

what's __agrc come from ???

arvind17arvind17 Posts: 62Member

hi,
Sill y question really.
I press Ctrl+Alt+T in vc++ and get access to the following member variables __argc, __argv, __afxThreadData , . I can get these variables in almost all variables.
However, I do not know where these have been declared - global or ??? .

I will help me if anybody could tell me where its variables have been declared - where should they be initialised.

Let me know if u have any idea what i should be doing.................................................................................
regards
-arvind

Comments

  • stoberstober Posts: 9,765Member ✭✭✭
    :
    : hi,
    : Sill y question really.
    : I press Ctrl+Alt+T in vc++ and get access to the following member variables __argc, __argv, __afxThreadData , . I can get these variables in almost all variables.
    : However, I do not know where these have been declared - global


    [blue]I'm not sure what all that list contains but __argc, __argv, etc are global variables declared in the program's startup code crt0dat.c located C:Program FilesMicrosoft Visual StudioVC98CRTSRC
Sign In or Register to comment.