xcode 4 creating a 2d grid (range and domain)

Posted by user1706978 on Stack Overflow See other posts from Stack Overflow or by user1706978
Published on 2012-10-01T00:17:25Z Indexed on 2012/11/01 23:01 UTC
Read the original article Hit count: 119

Filed under:
|

I'm learning how to program c and i'm trying to make a program the finds the range (using an equation with x as the domain) of a 2d grid...ive already attempted it, but it's giving me all these errors on Xcode, any help?(As you can see, I'm quite stuck!)

#include <stdio.h>
#include <stdlib.h>
float domain;

float domain = 2.0;

float domainsol(float x )
{
domain = x;
float func = 1.25 * x + 5.0;
return func;

}



int main(int argc, const char * argv[])
{

}

© Stack Overflow or respective owner

Related posts about osx

Related posts about xcode4