cpjust, I got it. Thanks for all your help. And I agree with the ArkM it's a useless toy. I followed your link to the other page, it was very enlightening all that explanation. I think i'll never use such resource in my programs, but I had to know!
Thank u 4 everything.
cpjust,
The example is in the site:
http://www.daniweb.com/forums/thread95690.html
take a look there and you'll see the complete code for the template.
bye.
cpjust,unfortunatelly the code is ok, that's the problem. kkk. It make no sense at all! But I assure you it works. Well, try to use the sizeof function before the len() like this:
sizeof len(array);
By the way I didn't try to use in a string array. For this kind of data the strlen()...
cpjust,
by the way I'm having a very hard time to create a similar template. The problem seems to be the way C++ deals with arrays. As far as I can understand the C++ never uses the real array as a parameter for a function. In fact the parameter is always a pointer to the first element of the...
I doubt the code is portable.
What does the len() function look like?
Do you have the link to the page where you found this code?
cpjust I really don't remember. What u see up there (the template) is the declaration of the len function. There is no other code for the len. But it works. If you...
I am not familiar with the C#, but in C++ or Delphi we use DBComboBox instead of ComboBox. It's also possible to do it in Combo, but it's much harder to keep the cursor in the wright position.
I'm a brasilian. So please excuse me any mistakes.
Does anybody knows how this templates works? I got this example in the web, and voila it works properly. But I have no idea how. I am new in C++ ( I used to program in Delphi) but my new job requires a deep knowledge in C++.
Can you help me...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.