Forum: C Mar 28th, 2005 |
| Replies: 5 Views: 2,300 use double dimensional array. |
Forum: C Mar 10th, 2005 |
| Replies: 9 Views: 2,415 u have defined the function
void calculate_grade()
twice mistakably.
and please tell what r the errors |
Forum: C Dec 22nd, 2004 |
| Replies: 8 Views: 13,696 i am working on a program to find the factorial of a number of any length. i have used an integer array to store the digits of the result. the problem is that i am unable to store more than 32000... |
Forum: C Dec 16th, 2004 |
| Replies: 16 Views: 12,640 here`s the code:
int main()
{
clrscr();
int b,d=0,a[100];
for(int z = 0;z<100;z++) //initialising
{
a[z] = 0; |
Forum: C Dec 10th, 2004 |
| Replies: 2 Views: 4,853 i think after the execution of "work.exe" the c++ exits from the whole process. to stop this don`t use void main() in the "work.cpp" but use any other function, say
void printhello()
... |
Forum: C Dec 10th, 2004 |
| Replies: 4 Views: 3,503 it will require me some time to find the error in ur program, but in my case it reached the line:
printf("\n done?"); //I put this in to see if it got to here. never got here yet.
u never got... |
Forum: C Dec 6th, 2004 |
| Replies: 7 Views: 6,798 Hey! NVANEVSKI,
Thanks a lot. Your suggestion made the program so easy that i have just finished doing it. |
Forum: C Dec 6th, 2004 |
| Replies: 7 Views: 6,798 please help to initiate me. i don`t want the full work to be done |
Forum: C Dec 6th, 2004 |
| Replies: 7 Views: 6,798 HI EVERYONE,
I HAVE GOT A VERY INTERESTING PROBLEM THIS TIME. U HAVE TO FORM A PALINDROME OF AN ENTERED STRING. IT`S NOT THE UASUAL STUFF OF CHECKING WHETHER AN ENTERED STRING IS A... |
Forum: C Dec 4th, 2004 |
| Replies: 7 Views: 2,622 I THINK IT SHOULD WORK FINE FOR(0,0),(1,0) OR (0,0) IF U JUST WRITE FOR EVERY HITS
B[ROW][COLUMN] = 0,
i.e,ROWS FIRST AND COLUMNS AFTER |
Forum: C Dec 4th, 2004 |
| Replies: 7 Views: 2,622 The Rows Should Be Written Before The Columns,
Therefore The Code Should Be
If(row<=6 && Column>=2)
B[row+1][column-2] = 0;
Check... |
Forum: C Dec 3rd, 2004 |
| Replies: 7 Views: 2,622 I AM UNABLE TO UNDERSTAND WHAT UR PROBLEM IS BUT WHATEVER I COULD GATHER FROM THAT I COULD SAY THAT: U MUST CHECK BEFORE CALCULATING THE HITS THAT WHETHER BY SUBSTRACTING THE COLUMN BY 2 AND THE ROW... |