Search results

  1. Fandango21

    C++ program problem..

    Hey everyone. Got a question again that I've been racking my brain on trying to fix it and I haven't been able to yet. The program listed below has to do most of what the functions I have set say they do like get the highest balance, print the array, so on and so forth. I have a struct that has...
  2. Fandango21

    C++ program

    Hey everyone. Its that time of year again and I'm back in school. Been a few months since I last wrote any code and I'm trying to refresh a bit. Currently this is what I have but for some reason the program wants to ask the question twice before just displaying the result. I would like to have...
  3. Fandango21

    Creating and Finding a Python file

    I picked up the O'Reilly Learning Python book the other day because I'm interested in learning how to write python code and now I'm stuck. I've written a file with a few basic statements the book provided and I can't figure out how to make Python find the file from system command line using...
  4. Fandango21

    Help with passing a file into multiple arrays

    Anyone who could give me advice on this, I would greatly appreciate it. I've spent most of my day searching for something that made sense and found a few things but I'm totally stuck at this point. I have to read a .dat file that I have into 3 separate arrays. Here is what I have so far...
  5. Fandango21

    invalid lvalue in assignment for the while loop in my code

    Hello. I need some help with a program I'm writing. It needs to define a function named menu that returns a char and does not accept parameters. Any help is appreciated. Currently I have this written in a while loop so that it keeps asking the user to input a char until they input X and then...
  6. Fandango21

    C++ code not calculating correctly

    I'm really new to code in general (this is my first programming class) and I can't figure out why the code I wrote wont calculate correctly. I'll put it in the code tags below and explain what is working underneath. #include <iostream> using namespace std; int main () { int length...