Search Result

Collapse
2 results in 0.0044 seconds.
Keywords
Members
Tags
automatic variables
  •  

  • twohot
    started a topic automatic python variables

    automatic python variables

    I'm looking for ways to create variables in python3 as needed. E.g

    book1 = book(name1) # book is a class
    book2 = book(name2)
    book3 = book(name3)
    book4 = book(name4)
    book5 = book(name5)
    :
    :
    :
    V
    book-n = book(name-n)

    I have the names of the book in a list but want to load those into class instances to take advantage off OOP. I could assign five to ten class objects like above...
    See more | Go to post

  • praetor
    started a topic Automatic variables + stack
    in C

    Automatic variables + stack

    Hi,

    I have gone through a few posts on this topic in the forum and seem to get more confused.

    I write a simple function in C which has local/automatic variables say a,b,c

    Now from what i could gather from the forum posts is that the sections (data,code,stac k,heap etc) are not a part of the C standard.

    So, suppose i decide to place my function in the bss segment.

    Now during...
    See more | Go to post
Working...