Thread: .resize

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    3

    .resize

    Using the ".resize" command on a two demensional array like this "tri.resize[size][size]" where size is a variable passed by value into the function. The error i am recieving is:

    "syntax error : missing ';' before '.' "
    on the line in which the resize code has been place. Am i stupid and should know u cant do a resize on a two-dim array or is it something else? Thanks for ur time.

    P.S. MSVC++

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    3
    actually the code is like this "tri.resize[size][size];"

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    3
    sorry i guess i keep forgetting things, here's another error i get for it :

    left of '.resize' must have class/struct/union type

Popular pages Recent additions subscribe to a feed
Website Security Test