Search:

Type: Posts; User: ThorntonReed

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    2,773

    Compiler Installation

    Hey everyone,

    While technically not a C programming question I wondered if you guys had any ideas about the solution to a problem I'm having. I'm currently in the process of installing a new...
  2. Replies
    3
    Views
    1,633

    Thanks. Also supplied with the dll was a ".a"...

    Thanks. Also supplied with the dll was a ".a" file and this is in the documentation:

    'users can simply link with the provided libbgd.a stub library in order to use the DLL'

    Is there a C...
  3. Replies
    3
    Views
    1,633

    Linking a DLL

    Hi,

    I'm very new to making use of 'open source' libraries in my C programs. I'm currently trying to use the GD graphics library. This library can be used by linking my program to a dll. Forgive...
  4. You, sir, are a genius. Either that or I'm a...

    You, sir, are a genius. Either that or I'm a class-A idiot...or a bit of both. Thanks very much for pointing that out, that's made it work now!!

    T
  5. If it helps, the purpose of myfunction is to take...

    If it helps, the purpose of myfunction is to take an input variable 'position' and return the element in the oranges array that this 'position' is closest to. I.e position=260, returnvar=2;...
  6. #include #include int...

    #include <stdio.h>
    #include <math.h>

    int myfunction(int,float[],int);

    int main(void){

    float oranges[3];
    float selection;
    int apples=1000;
  7. Selection statements are changing the values of my variables!!

    Hi everyone,

    Something mysterious is going on with my program and I'm just wondering if any of you had any idea what is happening.

    I have a loop like so:


    for(i=0;i<=apples;i=i+10){...
Results 1 to 7 of 7