User Profile

Collapse

Profile Sidebar

Collapse
alind
alind
Last Activity: Jan 29 '08, 10:13 AM
Joined: Sep 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • alind
    replied to do/while loop
    in C
    Check on the char in the wile loop for y/n will solve ur problem.
    pseudo code:

    condition = 'n'
    do
    {
    process...
    process...
    condition = <get char input from keyboard>
    }
    while(condition = 'y')

    //This wil solve ur probem (if i understod ur post). else describe ur problem wth some example.
    See more | Go to post

    Leave a comment:


  • alind
    replied to template virtual function
    in C
    so it seems that my problem does not have any solution
    k thanks for aa the help buddies.
    See more | Go to post

    Leave a comment:


  • alind
    replied to template virtual function
    in C
    i cannot make the class as template because in my case T is the thing that is going to vary. (i want to use boost matrices as T.) THe selection of pasticular type of boost matrix will depend upon the tun time conditions.
    See more | Go to post

    Leave a comment:


  • alind
    replied to template virtual function
    in C
    plz help me with the problem ?
    :(
    See more | Go to post

    Leave a comment:


  • alind
    replied to how to use multi threading in c
    in C
    U can try for pthread or boost threads. Look for them on internet.
    See more | Go to post

    Leave a comment:


  • alind
    replied to appending string or int to vector variable
    in C
    i dont think tht u can append the vector variable like tht
    but if i m able to guess ur functionality then u can be better using array of vectors or vector of vectors. Then u can access the sub(contained) vectors like a[0], a[1] and so on. If u can clarify more on ur problem (or requirement) then may be we can help further.
    See more | Go to post

    Leave a comment:


  • alind
    started a topic template virtual function
    in C

    template virtual function

    I m having a problem with templates. A per C++ std says i cant use override template virtual functions. in other words virtual functions cant be templates due to some vtable size issues. Now i want to simulate it somehow. I read in some other posts that it is somehow possible throg visitor pattern but i m unable to get it done. My intended code is posted below. can somebody give me a workaround to get this functionality.A ny help is appreciated. I...
    See more | Go to post
    Last edited by alind; Sep 10 '07, 07:13 AM. Reason: some simple typo errors
No activity results to display
Show More
Working...