No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi *, I have some doubts about passing parameters to a method of a class. I am not sure if it is a problem of my design of the app or a problem of the implementation, I mean C++ knowledge. I have a class called MatrixHandler : The idea is … |
|
Re:
Hey Guys, I have a text file that has numbers in it. And I need the program I am working on to search it as an array. How do I do that? |
|
Hi *, I have a file like this : [CODE]Example : 10 2 0 1 234.5677 0 2 345.6786 0 3 678.6764 .... [/CODE] From the first line the first number is number of lines and the second one is the number of nodes, so the thing is I need … |
|
Dear all, is there is a way to go trough a matrix using just one "for" loop?, I mean I have this snippet: [CODE] #define WIDTH 5 #define HEIGHT 3 int mat [HEIGHT * WIDTH]; int n,m; int main () { for (n=0;n<HEIGHT;n++) for (m=0;m<WIDTH;m++) { mat[n*WIDTH+m]=(n+1)*(m+1); } return 0; … |
|
Re:
If you would convert these 3 examples to a string you would get an errormessage as no of the numbers are valid numbers. How would it be possible to do a check programatically if the number is a valid number before a conversion ? [code] String^ GetValue = ""; GetValue … |
|
Hi I am fjrivash. I have been using DaniWeb for a couple of months and finally I decided to be a member of this friendly and smart community. So I jus want to thanks you to all of you for post solutions and comments; I am glad to see people … |