1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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