Re: Help with an Array Assignment




"sanchezj" <u16152@uwe> wrote in message news:5802d09b5be49@xxxxxx
>I need help with this assignment. Am I on track? Here is the code that I
> have so far.
>
I'm not sure what you want: a critique of the coding style; an analysis of
whether the program will do what you want it to do; predictions of compile
errors or something else altogether.

My advice is to see if you can compile it. I see some errors that you will
need to fix: you will learn from the experience of fixing those. If you
don't understand how to fix the problems, ask here and someone will probably
help.

Once you get a clean compile, try executing it. The most important question
is: does it do what you want to do? If not, change it until it does. If this
were a professional program, I'd look for several additional things like
comformance with your employer's standards, documentation of the program,
etc. but for a school course, just having it work correctly is probably all
you'll need to get a decent grade.

If you're looking for style advice, i.e. trying to find out if the program
follows a professional approach and would earn the respect of an employer,
then good for you: I think that exemplifies a good attitude. (Some students
only want to get the assignment out the door to get the teacher off their
backs.) But I'm not going to offer style advice unless you specifically say
that you want some. You are probably too busy with your courses to spend a
lot of time on style issues at this stage; you can polish your style further
down the road.

[snip]

Rhino


.



Relevant Pages

  • Re: Assignment help please!!!
    ... > The code was written for an assignment and I have written and compiled ... The lecturer asked if I could compile the ... I didn't find a funciton getche in ncurses, ... ncurses" or "man curses" in a shell might get you started. ...
    (comp.lang.cpp)
  • Re: Too many self in python.Thats a big flaw in this language.
    ... Is there anyone know's how to make the interpreter find instance name ... name in a function or method is local or global is decided at compile ... So at least every assignment to an instance ... Most source code will be written once ...
    (comp.lang.python)
  • Re: Embedding assembler in a language
    ... when they are variants, they can be anything. ... hand expression of the assignment is a temporary (which would be ... All this things can be decided at compile time. ... (probably every time an array element is accessed). ...
    (comp.lang.misc)
  • Re: Assignment help please!!!
    ... The code was written for an assignment and I have written and compiled the ... The lecturer asked if I could compile the code to run ... I used getche to gather the input from the user and place each bit of the ... I have converted most of the code to run on the Sun system, ...
    (comp.lang.cpp)