Indexing an array - Page 2


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17

Thread: Indexing an array

  1. #16
    Join Date
    Oct 2005
    Posts
    8
    Quote Originally Posted by mohit
    Very small logical error, this will work perfectly
    It will work, but you're now writing to the read-only array! That's why I shoved a third array into my last post.

  2. #17
    Join Date
    Oct 2005
    Posts
    40

    Lightbulb copy it

    either pass the input by values, or copy it in another array and perform operations on it.

Similar Threads

  1. Replies: 2
    Last Post: 04-15-2005, 10:06 PM
  2. Replies: 3
    Last Post: 04-08-2005, 06:49 AM
  3. Accessing jagged array values
    By Jason Salas in forum ASP.NET
    Replies: 2
    Last Post: 04-21-2003, 12:39 AM
  4. SafeArrayCopy SLOWER than iterating string array!
    By Mark Alexander Bertenshaw in forum VB Classic
    Replies: 10
    Last Post: 06-16-2000, 06:34 AM
  5. SafeArrayCopy SLOWER than iterating string array!
    By Mark Alexander Bertenshaw in forum VB Classic
    Replies: 0
    Last Post: 06-12-2000, 09:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center