User Profile

Collapse

Profile Sidebar

Collapse
Martingale
Martingale
Last Activity: Sep 27 '07, 07:18 PM
Joined: Sep 24 '07
Location: PA
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Martingale
    replied to Memory problems in c++
    in C
    I got an error when I tried the above. I should mention that I'm declaring this variable within a class.

    "invalid in-class initialization of static data member of non-integral type 'float*'...
    See more | Go to post

    Leave a comment:


  • Martingale
    replied to Memory problems in c++
    in C
    I'll give that a try.

    Thanks...
    See more | Go to post

    Leave a comment:


  • Martingale
    started a topic Memory problems in c++
    in C

    Memory problems in c++

    First, I'm running dev c++ of a windows machine.


    My problem:

    I declared the variable distances as follows...


    float distances[3000][3000];



    but when I try and run the program it crashes. If I reduce the size of the array my program will run (unfortunately I need an array at least this large). Anyone have any suggestions on how to increase the amount of memory...
    See more | Go to post
No activity results to display
Show More
Working...