rommel vidal wrote:
> hey any body plsssss. help me to fix this program this is my project....
> and to be submitted this day plsss help....
> just fix the error and make it to run properly
>  
> THIS IS THE SOURCE
>  
> char user[20],pass[20],user1,pass1,choi;
> int x;
> main()
> {
<snip>

Most people on this list are going to let you burn.  Using "urgent", 
"plssssss", and making demands of the professionals here is improper. 
We aren't slaves.  Your approach to the members on this list should be 
of a courteous, professional nature.  That is, spell out your sentences, 
be specific about the problem(s), and what steps you have taken to try 
to resolve the problem(s) on your own.

Additionally, people are likely to let you burn on this project because 
of the saying, "An emergency on your behalf doesn't constitute an 
emergency on my behalf."  Clearly you need work on your time management 
skills and getting a failing grade on this project could be the wake up 
call you need to get your act together.

clrscr(), gotoxy(), etc. indicate the use of Turbo C.  Turbo C is an 
ancient compiler.  Time to upgrade!  Plenty of free compilers exist that 
are modern.

Global variables, no return value from main(), no indentation/poor use 
of whitespace, and calling scanf("%s") indicates overall bad programming.

My recommendation is to start by telling us what it is the program is 
supposed to be doing in the first place, what precisely isn't working, 
and what precisely you have tried.  Looks like some sort of phone number 
storage program that is missing about half the code it needs to 
function.  We are here to help, but we won't write your code for you.

Also, if by chance you are learning from "Let Us C" by Yashwant Kanetkar 
- the worst C/C++ author on this planet - throw the book out.

I realize that this is a lot to take in and you'll probably ignore most 
of it just because your only goal is your immediate grade instead of 
improving your whole being and looking at the big picture.  You are 
panicked over something that is not important.  A lot of teachers allow 
assignments to be turned in late for a grade reduction.  Plan 
accordingly and you could still end up ahead.  Example:  I failed a 
major test once that was something like 1/3 of my grade and still got an 
A in the class because I planned the path to the 'A' very carefully.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to