Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Preminition

@Preminition
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Multidimension arrays
    P Preminition

    Multidimension arrays Read dozens of examples given on website how to do an single array with the System::Array etc. But I can't get the hang of it how to use it properly. I keep getting error messages when I hit the build button. For example I want a simple 2 dimension array of the integer type. in the old code it was: int board[16][16]; board[3][3] = 5; if i try to use the managed version: array^ m_Board = gcnew array(16,16); for (int row = 0; row < 16;row++) { for (int col = 0; col < 16;col++) { m_Board[row][col] = 0; } } :confused: I get error message on my screen. Also I can't find anything about freeing the memory in the articles. Is it neccessary if you use it in a class. How do I free it if it's necessary? Can I change the size of the area dynamically? "Knowledge shouldn't be preserved by one, but shared with others." -- Preminition

    Managed C++/CLI tutorial question data-structures performance help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups