Search:

Type: Posts; User: Taper

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,330

    Mixing stereo files?

    Here is my program, it mixes audio files. But I can't seem to get it working for 2 Channel or stereo files. Any Ideas


    #include<stdio.h>
    #include<sndfile.h>
    #include<stdlib.h>
    #include<math.h>...
  2. Ahhhhhhhh Thank you now I see.

    Ahhhhhhhh

    Thank you now I see.
  3. initialisng an array of floats (float* array???)

    What exactly does


    float* variable;

    do, I think its a pointer to a float but I've seen it used like an array!



    for(i=0; i<512; i++)
  4. Replies
    16
    Views
    5,239

    Butt, joke, me... edit: Thanks rags

    Butt, joke, me...


    edit:
    Thanks rags
  5. Replies
    16
    Views
    5,239

    For all the trouble i went to in installing gcc...

    For all the trouble i went to in installing gcc it hasn't impressed me so far i should know about these warnings!!!

    Question if i use Borland C++ will i be able to program in C normally and will...
  6. Replies
    16
    Views
    5,239

    No warnings at all ????????? I'm using gcc from...

    No warnings at all ????????? I'm using gcc from the command line and notepad :-/ Can you explain what you just replied with sorry i'm a bit of a newbie to this C lark.
  7. Replies
    16
    Views
    5,239

    Ok I deleted my last post because i just realised...

    Ok I deleted my last post because i just realised that 'return 0;' should not be in the last else its part of my debugging.

    Even when I remove 'const' it still retruns -1


    here is the rest...
  8. Replies
    16
    Views
    5,239

    Fucntion returns -1, Why?

    This function that I have returns '-1' whenever it enters the last else can anyone tell me why so I can go about fixing it?? (Hope Indentation is correct)

    Perhaps the fucntion wants to return...
  9. Replies
    20
    Views
    3,116

    Point taken mate. I will indent correctly before...

    Point taken mate. I will indent correctly before posting from now on.

    Oh anyone any idea why, when the function calls itself again it doesn't return what the user entered?
  10. Replies
    20
    Views
    3,116

    Ok thanks for your help everyone I'll try to...

    Ok thanks for your help everyone I'll try to implement what you've all said but I'll need to understand it first. I probably should have mentioned that I'm a begginer to C and I'm used to programming...
  11. Replies
    20
    Views
    3,116

    Ok just realised a big mistake I don't need the...

    Ok just realised a big mistake I don't need the for loop in convert or the variable 'i' as I am just passing the string to it each time it is typed in. The code now looks like:

    ...
  12. Replies
    20
    Views
    3,116

    Passing Array of Strings to a function ??

    Ok I'm trying to make strings correspond to numbers but I having problems getting the information to and from the function convert (see code below). Can Anyone tell me what I'm doing wrong? I'm...
Results 1 to 12 of 13