Search:

Type: Posts; User: stiltz

Search: Search took 0.01 seconds.

  1. Sorry.... for error in posting the code Code...

    Sorry.... for error in posting the code

    Code is :



    #define re(c) ((c)[0]) ///< real part of a complex number as defined by fftw_complex in fftw
    #define im(c) ((c)[1])
    #include <fftw3.h>...
  2. help about error: lvalue required left operand assignment c

    Hi all,
    I am working with complex number and using fftw library ( FFTW Home Page ) to compute fft of some data. But when I am compiling my following simple piece of code , I am getting the above...
  3. Replies
    3
    Views
    3,044

    A beginner level problem with char datatype

    Hi all,
    I am a new user of c language and I have written a program which just first stores the char values in memory then it reads and prints. Following is the code:



    #include <stdio.h>...
  4. Replies
    6
    Views
    1,108

    OK. Let me explain the whole code. Following is...

    OK. Let me explain the whole code. Following is the main method:


    int main()
    {
    CBuffer cbuff;
    linearADC_type adc;
    int nbit = 4;
    int n1,i;
    float Vmax = 2 * 40;
  5. Replies
    6
    Views
    1,108

    So, i have done it in correct way ?? if so then...

    So, i have done it in correct way ?? if so then why results are wrong
  6. Replies
    6
    Views
    1,108

    help about pointer casting

    Hi everyone,
    I am trying a little piece of code:



    typedef struct {
    unsigned int dim; ///< Dimension of the buffer
    unsigned int head; ///< Head of the fresh data
    unsigned int...
  7. Replies
    5
    Views
    1,476

    What do you mean by this line ?? and please can u...

    What do you mean by this line ?? and please can u suggest me some good reference material for these kind of things like pointers, arrays, structures etc. There is a lot of material available on web...
  8. Replies
    5
    Views
    1,476

    Thanks for reply but ... what I have got from...

    Thanks for reply but ... what I have got from your reply is that ,e.g., in my lines of code,

    buffer[buff->head] means * (buffer + head) and buffer[0] means *(buffer) ...

    is it so ?????
  9. Replies
    5
    Views
    1,476

    Help needed about pointer and structure

    Hi Everyone,
    I am a new user of C language. I have been given a c code of circular buffer to understand. Following is the one method of code:




    unsigned int Fill_CBuffer(CBuffer * buff, FILE...
Results 1 to 9 of 9