Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. whitespider

    crazy template to get the lenght of an array

    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.
  2. whitespider

    crazy template to get the lenght of an array

    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.
  3. whitespider

    crazy template to get the lenght of an array

    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()...
  4. whitespider

    crazy template to get the lenght of an array

    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...
  5. whitespider

    crazy template to get the lenght of an array

    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...
  6. whitespider

    Auto Update A Field

    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.
  7. whitespider

    crazy template to get the lenght of an array

    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...

Part and Inventory Search

Back
Top