Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2011
    Posts
    1

    Unanswered: How can i define an array globably

    Hi im trying to do this,

    for(int k=0; k<context.size(); k++)

    {
    cc_no_issue[k]=0;

    }


    Can someone tell me how i can do that globally? Whenever i try i get the errors

    expected unqualified-id before "for"
    k does not define a type
    k does not define a type.


    Thanks much

  2. #2
    Join Date
    Apr 2004
    Location
    Arizona
    Posts
    75
    Need your initialization code for "K". Please include this code in your post.

Posting Permissions

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