No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
So, I think I've figured something out for you, I tried building it myself and I can think of two different ways to fix the error: [code]for (int i = 0; i < (int)users.size(); i++) { const char *t = users[i].data(); char t2[30]; memcpy(t2, t, strlen(t)); ChatSession cs(t2); ssid.push_back(cs); }[/code] …
Have you tried building any of the WxWidgets provided sample codes or demos? I just recently learned a bit of wxWidgets, and they had proved very useful in figuring out some rudimentary things. So my reccomendation would be to see if you can get one of the samples to build, …
Well, it looks like you can access a member outside of the array: [code]shapeArray[j + 1][/code] because [code]for(int j = i; j < total; j++)[/code] allows it to get to the final member, then you can step one further, putting you outside of the array. Looks like you tried to …
Hello, So I've got a code where I'm wanting to make sure that there is nothing in this class variable "finalgrid". To do this I've got an if statement: [code]if(canvas->finalgrid) OR if(finalgrid)[/code] Sorry for the confusion with the two statements, but I'm working on modifying one project to fit in …
So I think your confusion is in the fact that you're using a C++ compiler, but using C code in that compiler to open the file. While the method you're using is very common, there is a C++ method: [code=C++] #include <fstream> #include <iostream> #include <string> #include <sstream> //those are …
So, I think the previous post was alluding to the fact that: degrees = radians * 180/pi Hope that helps?
The End.
bnekolny