Search results

  1. phion

    What are you doing over winter break?

    Hibernating.
  2. phion

    Required Level of Physics/Engineering Knowledge?

    In any meaningful sense, a professional would likely discern the difference quite quickly. I am merely inserting this advice as a student of electrical engineering.
  3. phion

    Tesla fans help me out

    Obviously I was being sarcastic. Anyone who has read Qurora in the past 24 hours would see the humor in what I wrote. I don't read German, or whatever language is written in that letter I posted, and I didn't expect anyone else to be able to read the letter. You ruined the mystery of this...
  4. phion

    Tesla fans help me out

    Well, you're quick.
  5. phion

    Tesla fans help me out

    It is written that Einstein was asked how it felt to be the smartest man on Earth, he replied, “I wouldn’t know. Ask Nikola Tesla”.
  6. phion

    Required Level of Physics/Engineering Knowledge?

    As far as I know, you may need a degree in a topic such as electrical engineering. A sub-discipline like power systems might help quite a bit in understanding "energy policy".
  7. phion

    What's your brain break activity?

    Reddit.
  8. phion

    In university lectures, what note-taking software do you use?

    Use a pen, I prefer a Bic ball point with a grip.
  9. phion

    Average Value of a Function

    Isn't this calculus one?
  10. phion

    Integral of (x+1)/(x^2+4x+5)

    Try re-writing the original expression into something more manageable.
  11. phion

    Visual Basic: Copying a File

    Ok, it works now. Duh.
  12. phion

    Visual Basic: Copying a File

    I appreciate the guidance.
  13. phion

    Visual Basic: Copying a File

    Yes, I am aware. You're probably pretty used to customers being frustratingly ambiguous I bet. ?:) I'm working on the others suggestions, but I do feel like keeping this thread alive in the process. Setting breakpoints is something I have not yet done.
  14. phion

    Visual Basic: Copying a File

    Ok, I think I just figured it out. I need to sort the list such that the player specified by the user is in the last position of the list before copying over the contents of the file. Does this make sense?
  15. phion

    Visual Basic: Copying a File

    I'm sorry, I thought this was made clear. This code is for a VB console program designed to manipulate data, namely "wins," "losses," "skill," "name," etc. which are stored in both arrays and text files. The remove player function should modify the playerList text file, and the playerList array...
  16. phion

    Visual Basic: Copying a File

    I couldn't tell you the answer to that, but it seems important.
  17. phion

    Visual Basic: Copying a File

    I don't know how!
  18. phion

    Visual Basic: Copying a File

    I mean, it's pretty clear that the issue resides in the loops I'm using. When I remove the arrays and the for loop and do as you say, the same exact behavior results. Regardless of the name I type to be removed, the last name in the list is removed instead. Console.WriteLine("Which player...
  19. phion

    Visual Basic: Copying a File

    Could you write in code what you mean?
  20. phion

    Visual Basic: Copying a File

    I've only been coding for a few months. While I do enjoy it, my professor dampens my motivation with ruthless grading practices. Thankfully programming is not my major. I didn't even want to learn VB. I was expecting him to teach C++, but whatever. I'm not even sure where to look for VB...
  21. phion

    Visual Basic: Copying a File

    What's a good debugging tool?
  22. phion

    Visual Basic: Copying a File

    I will have to bone up on my debugging skills. I've stared at this thing for days. I guess what I am hoping for is someone to show me another way to do what I need, possibly using a different syntax or method. It's such a simple task, I don't understand.
  23. phion

    Visual Basic: Copying a File

    Could someone just write a sample piece of code that can do what I need?
  24. phion

    Visual Basic: Copying a File

    The weird results are apparent when the list is displayed for the second time, after the loop in the removePlayer function has run. When I actually open the file, it contains the list that was displayed the second time, which gets saved successfully. This is a skeleton that is part of a console...
  25. phion

    Visual Basic: Copying a File

    Since the index of the first element in an array is zero, the for loop starts at zero because that corresponds to the first name in the array.
  26. phion

    Visual Basic: Copying a File

    Save list works fine. Using a name not on the list actually causes every name except the first to be removed. This is weird. I set the starting index back to 0 and it's just deleting everything after the first name again. I simply don't understand.
  27. phion

    Visual Basic: Copying a File

    It's still not doing what I need it to. Here's what I have, it's a small part of a bigger program. Imports System.IO Module Module1 Sub Main() Const SIZE As Integer = 50 Dim playerList(SIZE), tempPlayerList(SIZE) As String Dim numPlayers As Integer...
  28. phion

    Visual Basic: Copying a File

    numPlayers is assigned in a different function where the user adds the players to the list. I tried just using the for loop and what happens is that every name on the list gets replaced with the name I want to remove.
  29. phion

    Visual Basic: Copying a File

    playerList.txt displays a simple list of names that the user has input. John Tim Sara Alex Then the program will ask, if the user chooses, which name they would like to remove from the list. If I choose, say, John to be removed the list becomes John Tim Sara When it should be Tim Sara Alex
Top