Search Results

Showing results 1 to 25 of 25
Search took 0.00 seconds.
Search: Posts Made By: varunrathi ; Forum: C++ and child forums
Forum: C++ Dec 17th, 2004
Replies: 5
Views: 11,767
Posted By varunrathi
not working
Forum: C++ Dec 17th, 2004
Replies: 18
Views: 9,957
Posted By varunrathi
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,767
Posted By varunrathi
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,983
Posted By varunrathi
what`s in the header file
"apstring.h"
i think it`s creating the problem
Forum: C++ Dec 13th, 2004
Replies: 3
Views: 2,131
Posted By varunrathi
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,957
Posted By varunrathi
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 8th, 2004
Replies: 3
Views: 7,602
Posted By varunrathi
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,340
Posted By varunrathi
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,957
Posted By varunrathi
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: C++ Dec 7th, 2004
Replies: 9
Views: 3,143
Posted By varunrathi
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 4th, 2004
Replies: 5
Views: 6,502
Posted By varunrathi
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,502
Posted By varunrathi
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: 30,405
Posted By varunrathi
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,830
Posted By varunrathi
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 3rd, 2004
Replies: 17
Views: 24,830
Posted By varunrathi
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,830
Posted By varunrathi
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,830
Posted By varunrathi
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,907
Posted By varunrathi
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,484
Posted By varunrathi
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,830
Posted By varunrathi
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,827
Posted By varunrathi
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,830
Posted By varunrathi
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,621
Posted By varunrathi
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,827
Posted By varunrathi
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;
};
Forum: C++ Dec 1st, 2004
Replies: 4
Views: 5,362
Posted By varunrathi
Here`s the code to convert a decimel number in any desired base

#include<iostream.h>
#include<conio.h>
#include<stdio.h>


void main()
{
clrscr();
Showing results 1 to 25 of 25

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC