Search results for query: *

  1. L

    recursive team combinations

    I need some help. Have an homework assignment where you're suppose to print all possible combinations of a teams of a given size that can be formed group of another size. The assignment is done in a console application. I understand the gist of the problem. I don't really understand the...
  2. L

    how to remove duplicate data while doing insertion sort?

    looks like I finally figured it out. int inner, outer, o; o = 1; int numberOfDuplicatesFound = 0; for (outer = o; outer < nElems; outer++) // outer is dividinner g linner e { long temp = a[outer]; //...
  3. L

    how to remove duplicate data while doing insertion sort?

    I'm basically stump at the moment. Doing a programming assignment. The task is to remove any duplicate data while performing an insertion sort. It's a console application, and uses a class to isolate the array. The sorting code is within the class and was given. Only need to modify it...
  4. L

    Question Trying to Pass a groupbox to get radio button text

    agreed. I definitely like, and prefer, the use of prefixes. It makes it so much easier to know what the variable is and how it's being used. I also started learning VB first (and I do remember seeing your avatar name over in the vbforums too). I'm still learning, so I'm bound to make a...
  5. L

    Question Trying to Pass a groupbox to get radio button text

    Yes, I copied the code you gave. Yes, the radio buttons were in a groupbox. I must have ran into an issue and found, and fixed, the ConferenceName property. I have returning the conferenceName field. Thanks for pointing it out nonetheless.
  6. L

    Question Trying to Pass a groupbox to get radio button text

    thanks for the reply. I've only heard about LINQ, but wasn't covered in any of the stuff I have learned about yet. I tried reading about it on the MSDN site, but was not really able to keep up with the explanations. Although, it does appear I have used it in some form in past. Anyway, I...
  7. L

    Question Trying to Pass a groupbox to get radio button text

    Well, I looked at the Stacktrace and didn't make a lot sense to me. But local value window had an error about not having a value. I was more expecting something to that nature because I don't think I wasn't assigning a value to the conference registration object property. I have fixed it...
  8. L

    Question Trying to Pass a groupbox to get radio button text

    I thought I had mentioned in the my OP. The exception I'm getting is StackOverFlowException was unhandled error. Here is the Database class code. namespace NetworkConferenceRegistration{ public static class Database { //class level variables private static string...
  9. L

    Question Trying to Pass a groupbox to get radio button text

    Sorry, not that I know it better, but I'm have more familiarity in Visual Basic. I thinking maybe it possible, like with setting up a method signature, creating optional parameters, where you have give a default value, which can be changed when you pass an value in the calling statement. I...
  10. L

    Question Trying to Pass a groupbox to get radio button text

    None of that was discussed in class or my textbooks. The first thing that comes to mind is that I probably should not pass a checkbox either. I did this as well in the ConferenceRegistration class GetCost method, which is used to calculate the cost of the registration. Since all preconference...
  11. L

    Question Trying to Pass a groupbox to get radio button text

    I'm not quite sure where the ConferenceRegistration class fits, but I think it would be business tier. My thinking was to have it create an object that holds a person's registration information--ID, first name, last name, number of days, total cost, and (if applicable) preregistration course...
  12. L

    Question Trying to Pass a groupbox to get radio button text

    I'm working on trying to understand classes better. I didn't feel like I got a good grasp of it in my programming class last semester. So, I'm using a textbox for a different class (Visual Basic) for the no-nothing assignments design to reinforce the lesson. Anyway, I'm a bit stuck. I...
Back
Top Bottom