Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Re: Problem with calling objects from same-class methods in main

    I don't know how to create 25 objects in one statement.
    It can be done with 2 statements: a for loop and a new statement
  2. Re: Problem with calling objects from same-class methods in main

    Sorry, you few lines of code don't give anyone enough information to know what you are doing or what the problem is.

    If amber is defined inside of a method then it will NOT be known anywhere else...
  3. Re: Problem with calling objects from same-class methods in main

    Sample definition for the symbols/variables

    Fossil amber; // define a variable named amber of type Fossil

    Is the definition of amber in scope (within same pair of {}s) as where it is being...
  4. Re: Problem with calling objects from same-class methods in main

    Are the definitions for the symbols/variables that can't be found in scope where you are trying to use them?
Results 1 to 4 of 4