how to use vector(tcl object) in C

Discussion in 'C' started by cimon, Jun 3, 2008.

  1. cimon

    cimon New Member

    Joined:
    Feb 9, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Hello

    man vector gives

    Code:
    NAME
           vector -  Vector data type for Tcl
    
    SYNOPSIS
           vector create vecName ?vecName...? ?switches?
    This I saw somewhere has been used in C code as follows
    cellWidth = vector(1, numNodes);
    cellHeight = vector(1, numNodes);


    I wanted to know, how can this vector can be used.
    Because when I tried to use it, it said be vector not declared, is ther some particular way to use TCL object. As it is C code, so i m sure it is not at all related to vector class

    can some one shed some light if this is vector what I am thinking of, because I didn't found any vector defination in any other file, where I saw this use of vector.

    I am Feisty Fawn (7.04)(Ubuntu Linux) and use gcc.

    -Thank You
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice