Type: Posts; User: jonathan.allen
Search took 0.02 seconds.
February 15th, 2012, 09:18 AM
Sweet, sounds good, I think I get all that, I'll give it a go and be back on if there are any problems...
Thanks for you help!
February 15th, 2012, 04:43 AM
Oki doki. I think I understand that. So, for example, code could be something like this:
int main(int argc, char *argv)
int active, nTasks, rank, n;
active = MPI_Init(&argc, &argv);...
February 14th, 2012, 11:23 AM
I'm wondering whether it's possible to implement MPI to execute a process in parallel from deep within a C++ solution.
I've created a solution on VS2005 that links to several static...
November 8th, 2011, 04:53 AM
Right, ok, thanks guys, I'll think about using CMap next time if I absolutely have to link a variable to a string, but where possible will avoid it, very useful to know, cheers.
November 4th, 2011, 11:17 AM
Thank you for your extensive explanation, I understand what you mean, and you're right in the mistake I was making, forgetting what "CArray" really means, now that you've reminded me I can...
November 4th, 2011, 10:51 AM
Victor, you're quite right, your way of defining the way is how I should do it rather than the quick fix I described - I took the idea of a "quick" fix too literally and didn't think to simply define...
November 4th, 2011, 10:19 AM
Yes, I've been having a look at that myself, it'll take me some time to through it, but for now I've applied the following quick fix so my program can run while I'm reading:
November 4th, 2011, 09:32 AM
There are many times I think they made it certain ways to be evil! ;)
Ok, seriously, I'll not do it this way if you think this, smart pointers are something I haven't come across before but I'll...
November 4th, 2011, 09:10 AM
Thanks guys! All the pieces have finally fitted together in my brain correctly!
November 4th, 2011, 09:03 AM
For those who also get the final error I mentioned, I found this solution to edit the class constructor to permit this solution to work:
November 4th, 2011, 08:57 AM
Of course! Why didn't I think of that?!
I've created an array of pens, however VS doesn't like me setting the array as:
for(int i = 0; i < 4; i++)
November 4th, 2011, 08:37 AM
Sorry for the lateness of this reply, I've been focussing on other issues, as this function of my program is only to make the GUI look nicer, so not the most important for me!
However, I'm still...
November 4th, 2011, 08:30 AM
Sorry for the late reply, but I wasn't able to work a solution for this issue so reprogrammed my program to avoid encountering the problem instead.
November 4th, 2011, 08:05 AM
I have a little query for you that I haven't been able to find a solution for.
I want to set the name of a member by referencing a string. To me this seems like quite a straightforward...
July 12th, 2011, 11:08 AM
Sorry, I should have also mentioned that FirstTask.h looks like:
July 12th, 2011, 10:45 AM
I'm having a little trouble trying to update an item within a dialog box from a class that is a child of the class belonging to the dialog box. I may have become confused further as I'm using...
April 14th, 2011, 11:15 AM
Ah, missed one little bit of information off. Another peculiarity is that once the buttons have been enabled, when I hover the mouse over the "Run" button on the main menu, the linked "Run" button...
April 14th, 2011, 11:09 AM
I have a slightly strange issue with enabling a menu item on the mainframe window of my MFC project. Basically, my programme requires the user to input various pieces of data, after which...
April 2nd, 2011, 09:36 AM
I knew I shouldn't have used the word "definitely" in my last post! It meant that I would have obviously missed one of my lines for sizing a vector and yes, one was wrong (although, it...
April 1st, 2011, 01:34 PM
Thanks for your replies.
The problem is that I can press the "stop debugging" button but that's when the problem starts and the lag starts
Thanks for your advice, I had a...
April 1st, 2011, 10:46 AM
Yep, that worked perfectly, tokenize() is the way to go! :)
April 1st, 2011, 10:44 AM
I've been writing an MFC programme in VS2005 in C++ and have recently run into some issues during debugging. When I debug the code it will run perfectly well until the point I end the...
January 26th, 2011, 06:41 AM
I'm a newbie to C++ and MFC environments, so I'm sorry if this question is really obvious to answer but I've been searching forums and can't find a solution.
Basically, I have a programme...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.