Ok so I realise this is a forum for mac programming and i'm about to ask about windows but i'm a regular to macrumors, a student, and am doing a computing course mainly in C++ which we have to do in Visual C++ (or at least have to compile to run under windows) and I have no idea where else to get this information from!
Basically my problem is that i have created a program which among other things creates an object which models the heat over a 2D rectangle. This rectangle is split into a grid of 100x100 and the temperature is calculated at each point using a finite difference method to model the diffusion of the heat using certain boundary conditions.
But i'm having issues de-bugging. I would like to create a 100x100 box on the screen then display each pixel a colour according to the temperature at each point so i can see the diffusion of the heat as it happens and see if the thing is working as expected. Problem is I am using a PC and have no idea how to do that (saying that i don't know how to do it on a mac either but I'm going to teach myself obj-C and cocoa in a couple of months when i finish Uni)
If anyone knows of a simple library or method of doing this then I would appreciate the help. If, on the other hand, it is going to be a pain in the neck and be more hassle than its worth then i'll just stick to std::cout commands everywhere to debug.
Thanks in advance for any help and sorry about the lack of mac-ness in this question!
Basically my problem is that i have created a program which among other things creates an object which models the heat over a 2D rectangle. This rectangle is split into a grid of 100x100 and the temperature is calculated at each point using a finite difference method to model the diffusion of the heat using certain boundary conditions.
But i'm having issues de-bugging. I would like to create a 100x100 box on the screen then display each pixel a colour according to the temperature at each point so i can see the diffusion of the heat as it happens and see if the thing is working as expected. Problem is I am using a PC and have no idea how to do that (saying that i don't know how to do it on a mac either but I'm going to teach myself obj-C and cocoa in a couple of months when i finish Uni)
If anyone knows of a simple library or method of doing this then I would appreciate the help. If, on the other hand, it is going to be a pain in the neck and be more hassle than its worth then i'll just stick to std::cout commands everywhere to debug.
Thanks in advance for any help and sorry about the lack of mac-ness in this question!