Search:

Type: Posts; User: babu198649

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    27
    Views
    3,064

    Thanks to all for replys, I want to know...

    Thanks to all for replys,

    I want to know wheater allocating temporary variables inside loop takes more cpu cycles(since pushing each time the varible in to stack and deleting when the scope is...
  2. Replies
    27
    Views
    3,064

    I had tried creating an int variable inside a for...

    I had tried creating an int variable inside a for loop ,storing a value in the variable and then print it.But every time the program takes different time to complete execution.

    creating a...
  3. Replies
    27
    Views
    3,064

    Stack Variable and Speed

    hi
    Does creating temporary variable inside for loop affects the execution speed.
  4. Replies
    8
    Views
    13,068

    If there are n-cases in a switch,at each time in...

    If there are n-cases in a switch,at each time in a loop ,one of the cases is executed,after all the n-cases are executed,if the default-case takes the control out of the while-loop ,the code would...
  5. Replies
    8
    Views
    13,068

    switch-case,Infinite while-loop ,break

    hi
    If a switch-case is inside a while-loop how to get out of while-loop without using if- conditional statement(using break inside switch gets only out of switch).
  6. Replies
    9
    Views
    1,184

    i am unable to make it work by value or by const...

    i am unable to make it work by value or by const reference.


    As i know mutable variables can be altered by const functions,Is this what Mutable in the above statement mean or something else(I am...
  7. Replies
    9
    Views
    1,184

    Please post a simple working code,i tried to do...

    Please post a simple working code,i tried to do it but i am unable to make work
  8. Replies
    9
    Views
    1,184

    Thank u If a constructor takes a...

    Thank u
    If a constructor takes a pointer as an argument then new operator can be passed as the argument( new ClassName ) to create a object with out creating object name.

    In the same...
  9. Replies
    9
    Views
    1,184

    Thanks for reply i for got to tell u that...

    Thanks for reply
    i for got to tell u that nrange is defined as

    long unsigned int nrange = 4;
    Even if nrange is an unsigned int object, does the compiler sees co as a function.

    Also with the...
  10. Replies
    7
    Views
    1,795

    Thanks to all i have found the error:),As...

    Thanks to all
    i have found the error:),As we can see in the below template definition the typename T is assigned with the default type( T = VSIP_DEFAULT_VALUE_TYPE/*typedef of float */ ). ...
  11. Replies
    9
    Views
    1,184

    Template object without object name

    hi
    The below code compiles


    typedef Correlation<vsip::Vector,support_full,value_type> cor;
    Domain<1> aa(nrange);
    cor co(aa,aa);

    But if i modify the same code like below i get error
  12. Replies
    7
    Views
    1,795

    i use gcc 3.4.4.But i have compiled u r code and...

    i use gcc 3.4.4.But i have compiled u r code and it worked.Is the error with the Convolution class
  13. Replies
    7
    Views
    1,795

    yes Actually there are many constructors for...

    yes

    Actually there are many constructors for Vector,i wanted to show the template arguments and hence i have not shown the Vector i have used.

    The below constructor is one of the Vectors...
  14. Replies
    7
    Views
    1,795

    Thank u ,i never thought about it. The error...

    Thank u ,i never thought about it.

    The error is

    ds.cpp:106: error: no matching function for call to `vsip::Convolution<vsip::Vector, nonsym, support_full, vsip::VSIP_DEFAULT_VALUE_TYPE, 0u, ...
  15. Replies
    7
    Views
    1,795

    Template object creation problem

    hi
    i wnt to create a template object which takes templates as arguments .

    The below code gives me error

    length_type nrange = 4;
    typedef Convolution<vsip::Vector,nonsym,support_full>...
  16. Replies
    17
    Views
    2,151

    till u type quit u will be asked questions ...

    till u type quit u will be asked questions

    #include <iostream>
    #include <cstring>

    using namespace std;

    int main()
    {
    char quest [100000];
  17. Replies
    17
    Views
    2,151

    u have to use loop(while or for),post u r code...

    u have to use loop(while or for),post u r code ,lets see where to modify
  18. Replies
    8
    Views
    1,173

    Thank u king mir, That solved all my...

    Thank u king mir,
    That solved all my doubts(I was thiniking too much about class templates ,that i forgot to see that vmmul is actually a function template).
  19. Replies
    8
    Views
    1,173

    Is it compulsary to provide atleast one template...

    Is it compulsary to provide atleast one template argument.(Because without any template arguments i get error).
    Also without creating the object arguments are passed to the constructor,how could...
  20. Replies
    8
    Views
    1,173

    Thanks for reply But there is no...

    Thanks for reply
    But there is no default values specified at the template arguments
  21. Replies
    8
    Views
    1,173

    explanation regarding Template arguments

    hi
    i have a working code which uses templates.But the number of template arguments mismatch with the call to template object. please explain the code below.

    In the below statement one...
  22. Replies
    2
    Views
    1,231

    Thank u anon you r right .It is...

    Thank u anon
    you r right .It is overloaded operator().
  23. Replies
    2
    Views
    1,231

    constructor called twice

    hi
    I found two statements in a working program which calls constructor twice.
    The first statement creates an object by calling two argument constructor.
    In the second statement the same...
  24. Thanks for the keyword "interthread...

    Thanks for the keyword "interthread communication" i will search more ,implement and then will post the problems.
  25. linux(RHEL4) [babu@localhost aaff]$ uname -a...

    linux(RHEL4)


    [babu@localhost aaff]$ uname -a
    Linux localhost.localdomain 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 i686 i386 GNU/Linux
Results 1 to 25 of 32
Page 1 of 2 1 2