Forum: Java Apr 29th, 2007 |
| Replies: 1 Views: 838 hello friends,
i want to learn java
can anyone provide any link to a tutorial
or anything else.
thank you |
Forum: C Mar 28th, 2005 |
| Replies: 5 Views: 2,270 use double dimensional array. |
Forum: C Mar 10th, 2005 |
| Replies: 9 Views: 2,396 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,321 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 17th, 2004 |
| Replies: 5 Views: 11,610 |
Forum: C++ Dec 17th, 2004 |
| Replies: 18 Views: 9,711 i was able to write the code for a factorial of upto 8000, but after that it`s not working b`cos the array i`m using to store the factorial can`t have more than 30000 elments. is there any other way... |
Forum: C++ Dec 17th, 2004 |
| Replies: 5 Views: 11,610 i want to clear a string after the prog. has done it`s work.
i tried it by using a for loop and assigning a blank, but it didn`t work.
the problem is that if i run the program again then the... |
Forum: C++ Dec 17th, 2004 |
| Replies: 2 Views: 1,938 what`s in the header file
"apstring.h"
i think it`s creating the problem |
Forum: C Dec 16th, 2004 |
| Replies: 16 Views: 12,472 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 13th, 2004 |
| Replies: 3 Views: 2,114 well, i was unable to find much sense in your code. do u want to create a file or the file is already present. i am unable to understand whether u want to calculate the no. of... |
Forum: C++ Dec 13th, 2004 |
| Replies: 18 Views: 9,711 how to define a class which can "hold an integer of any length". my problem is that i am unable to define an integer of any length". |
Forum: C Dec 10th, 2004 |
| Replies: 2 Views: 4,775 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,441 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 8th, 2004 |
| Replies: 3 Views: 7,378 character strings are treated as arrays and therefore to move or swap words two things can be done:
1: u can use the library function
... |
Forum: C++ Dec 8th, 2004 |
| Replies: 7 Views: 2,325 To sort the digits, first store each digit in an array and then use any of the sorting techniques to sort them in ascending order. |
Forum: C++ Dec 8th, 2004 |
| Replies: 18 Views: 9,711 Can u please, post ur solution
If u can`t post the soln. then can u please explain how to find the factorial of a number of any length. |
Forum: PHP Dec 8th, 2004 |
| Replies: 7 Views: 1,981 u must do something about ur programming concept. i meam, if u find this prog. to be tough then what about the tougher ones that are waiting for u in the near future.
to print the following... |
Forum: C++ Dec 7th, 2004 |
| Replies: 9 Views: 3,068 u have given a case `4`: but u haven`t displayed it on the menu.
u must go on calculating while the voting is going on
e.g; if the
case is `1` then gw++
... |
Forum: C Dec 6th, 2004 |
| Replies: 7 Views: 6,632 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,632 please help to initiate me. i don`t want the full work to be done |
Forum: C Dec 6th, 2004 |
| Replies: 7 Views: 6,632 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: Posting Games Dec 4th, 2004 |
| Replies: 7,595 Views: 662,629 |
Forum: Posting Games Dec 4th, 2004 |
| Replies: 7,595 Views: 662,629 |
Forum: C++ Dec 4th, 2004 |
| Replies: 5 Views: 6,394 sorry, i didn`t notice that KHKWA has already solved the problem just a few moments before me. so my suggestion was needless |
Forum: C++ Dec 4th, 2004 |
| Replies: 5 Views: 6,394 IF THIS IS THE SAME CODE U HAVE TRIED THEN I THINK THE ONLY ERROR IS THAT AFTER
void main()
U HAVE NOT GIVEN THE BRACES AND THATS WHY THE COMPILER IS RELATING IT WITH... |
Forum: C++ Dec 4th, 2004 |
| Replies: 15 Views: 29,661 sorry, but it`s giving several link errors with bloodshed dev c++.one of the errors is
[Linker error] undefined reference to `GetStockObject@4' |
Forum: C++ Dec 4th, 2004 |
| Replies: 17 Views: 24,081 To Asif_nsu And Vegaseat
I Wanna Thank U Once Again B`coz The Link Provided By U Have Proved To Be Extremely Helpful And For The First Time I Was Able To Use... |
Forum: C Dec 4th, 2004 |
| Replies: 7 Views: 2,605 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,605 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,605 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... |
Forum: C++ Dec 3rd, 2004 |
| Replies: 17 Views: 24,081 To Asif_nsu,
I Am Grateful To U For The Link U Provided To Me. It Has Improved And Cleared My Concept Of Permutation. I Never Knew That Recursive Functions Are So Powerful.... |
Forum: C++ Dec 3rd, 2004 |
| Replies: 17 Views: 24,081 To Vegaseat,
I Heartily Thank You For The Troubles U Took To Get The Code For Me. It`s Working Fine, But The Only Hitch Is In Understanding It B`coz It`s Written For Dev C++,... |
Forum: C++ Dec 2nd, 2004 |
| Replies: 17 Views: 24,081 Thanks vegaseat for ur help again. Hope dev c++ will help me improve.
I actually wanted the logic to generate the permutations |
Forum: C++ Dec 2nd, 2004 |
| Replies: 5 Views: 4,798 IT DEPENDS UPON WHICH C++ U R USING
IF U R USING TURBO C++ THEN THE
getch();
COMMAND WOULD HELP U TO HOLD THE SCREEN TILL U PRESS A KEY
FOR DEV C++ I THINK IT IS
system("pause")... |
Forum: C++ Dec 2nd, 2004 |
| Replies: 3 Views: 2,475 I Agree With Frrossk B`coz Ur Program Is Too Large To Search For Any Error. |
Forum: C++ Dec 2nd, 2004 |
| Replies: 17 Views: 24,081 Vegaseat, Thanks for your help and the trouble u took for me, but i am using turbo c++ and ur code was for dev c++.Turbo c++ does not provide the function u assisted. Thanks anyways. see if u can... |
Forum: C++ Dec 2nd, 2004 |
| Replies: 15 Views: 10,672 sorry jwenting,Dev Sinkula and all for breaking the rules. actually iam new to this site . i would not send the whole solution in future .sorry again. |
Forum: C++ Dec 2nd, 2004 |
| Replies: 17 Views: 24,081 Can anybody help me with permutation in c++. say if the entered string is "stop" then there must be 24 (=4*3*2*1) different words made by the letters s,t,o,p. Similarly if the entered string is... |
Forum: C++ Dec 2nd, 2004 |
| Replies: 5 Views: 5,409 To check for the no. of words run a loop and check each character of the string. if the character is equal to a white space then words++.
the no. of words found by checking only whitespace can be... |
Forum: C++ Dec 1st, 2004 |
| Replies: 15 Views: 10,672 here`s the code to convert weight in kg into pounds
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
struct weight
{
int w1,w2;
}; |