Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

objects

  1. L

    JavaScript Recursively Delete objects from an array of nested objects

    Anyone know how to recursively find and delete an object from an array structured like this with infinite nested objects with the same structure? [ { id: 1, nest: [ { id: 2, nest: [{id: 3, nest: [{..continues..}]}], }, { id: 4, nest...
  2. tom3141

    C Expression must have pointer-to-object type

    I have defined some variables. I have previously defined #define SYS_LEN 50.0 #define N_CELLS ((int)SYS_LEN) as well as extern double *array_one where I populate the array via array_one[0] = 0.5*SYS_LEN array_one[1] = 0.25*SYS_LEN I then go onto define a further array within a function void...
  3. M

    Best way call Objects in Canvas, jQuery

    Hi Guys, I would like some advice on a project I am working on to create a simulation of an electrical schematic which I am creating in canvas. First I have created objects for components like relays, contacts, user controls and wires. All object shave the relevant information to draw the...
  4. T

    Python Problem with code

    Hello, I have a problem with this code, it says 'Alumno' object is not iterable, ¿what do i need to do to fix this problem?, thanks in advance. def Igual_Promedio(a, b): return sum(a) / 3 == sum(b) / 3 class Alumno: def __init__(self, data): self.data = i # Declaracion de...
  5. James

    Python Classes in Python [Tutorial]

    Now, this is a massive step from the last tutorial, you should know the basics of python to understand this. This tutorial will be going into Object Oriented Programming. How do I define a class? To define a class you need to type class along with the name, similar to a function it must also be...
Back
Top Bottom