Search:

Type: Posts; User: CommonTater

Search: Search took 0.10 seconds.

  1. Replies
    20
    Views
    9,794

    Not with #define... simply not in any function......

    Not with #define... simply not in any function...


    #include <stdio.h>

    float a[300000];
    float b[300000];

    int main(void)
    {
  2. Replies
    20
    Views
    9,794

    Two arrays of floats at 300,000 items each......

    Two arrays of floats at 300,000 items each... 600,000 items 8 bytes each... 4.8 megabytes, declared on the stack in your main() function... yep, tha'll do it... stack overflow.

    You need to either...
Results 1 to 2 of 2