ATL wrote:
everything i wrote on the message board is the whole assignment my pro
gave me.
it is my #1 assignment. the assignment is a review before my class
get into the Core of C++ Data Structures.
The problem is, that if you don't know even the basics of how to start
this program (I am not talking about the problems involved with a '2D'
array, but about main(), for loops, doing input, doing output, writing
functions, using functions, passing parameters, managing scope etc.) you
are missing at least 5 to 10 (important) C++ lessons.
i should know how to do the
assignment but i dont. i am trying to catch-up my reading C++ books.
reading takes up most of my time and programming takes up all of my
time. For me knowing the vocab. & knowing how to read a program is
more important than spending my whole time compiling and debuggin
program.
Then you are in the situation: I have read lots of materials about
how to drive a bicycle. At the moment I try to participate in the
local bike race, can anybody help me to get onto this damned bike
without falling down immediatly.
if i focus on studying the materials less time programming,
i can pass my class with a high letter grade 'B'. instead of barely
making a 'C' - cause programming takes up a lot of time.
Programming at this stage is mostly practice. Practice, practice
and once again practice. There is only one way to get that practice:
By doing it!
then the
programs only count 10% of my grade.
i am lookin for someone to help do my assignment.
Then you would pass with a 'B' and are not able to even do one
of the simpler C++ programs. Do you think this is fair?
it's i for a
special cause.
i do learn a lot when somebody helps another person in need.
helping out a person in need is the best thing you can do for your
community.
Every C++ program starts with writing:
int main()
{
return 0;
}
compile that, link it and let it execute (it's a boring program,
I know, but it's the simplest program you can do AND it is the
starting point for each and every C++ program).
What was the thing you need to do? Store some numbers in a 5*5 array.
Forget about the array at the moment. Lets do something simpler.
Can you input a single number and output that, even if we
assume that no error checking is needed and we can trust the
user not to enter garbage?
You should come up with something like this:
#include <iostream>
using namespace std;
int main()
{
int i;
cout << "Enter a number: ";
cin >> i;
cout << "You entered : " << i << "\n";
return 0;
}
If you have any problems with that, then you are in serious
troubles.
--
Karl Heinz Buchegger
kb******@gascad.at