Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #2K
~4K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.

10 Posted Topics

Member Avatar for Lensva

for c++ there is an inbuilt function to reverse a string just give std::reverse(string_name.begin(),string_name.end()) you will get it

Member Avatar for rohitvipin
0
2K
Member Avatar for Arpy Giri

hello i am working on this application where i need to import 60k+ user data and insert into different table. i have made a C# application which selects the database and inserts from a text file.like [CODE]insert into dbo.dbname ([user_name],[u_id]) values (a,b)[/CODE] but this apps hangs for 60K+ data so …

Member Avatar for Arpy Giri
0
220
Member Avatar for NoGood123

if u want to just sort an array use this syntax [QUOTE] sort(array_name,array_name+size _of_array); //in ur case it would be sort(numbers,numbers+numElements); // then run this loop for displaying the outout for(i=0;i<numElements;i++){ cout<<numbers[i]<<endl; } [/QUOTE] u dont need to iterate ..or use while loops if u are interested in sorting only …

Member Avatar for ArkM
0
334
Member Avatar for WilliamBaxter

i m yet to make my mind about the first question but for the second question. make a array of string, [code] string array[3]; [/code] use a bubble sort or any kind of sort to sort those arrays in ascending order. [code] for(i=0;i<3;i++){ for(j=i;j<3;j++){ if(array[i].length()>=array[j].length()){ swap(array[i],array[j]);} } } [/code] and …

Member Avatar for Arpy Giri
0
242
Member Avatar for zoner7

i believe your syntax is wrong here i is an integer and you are converting that integer into upper case which is absurd. the use of toupper function works differently [QUOTE] x[i]=toupper(x[i]); [/QUOTE]

Member Avatar for Cybulski
0
339
Member Avatar for nurulshidanoni

try this [code=cpp]int i; ifstream infile//declaring a file pointer infile.open("filename"); i=0;//integer i int n; while(infile>>n){ arr[i]=n; } //this will store all the integer value from file in the array named arr infile.close(); //closing of file //write this code in the main function and as salem said declare it as int …

Member Avatar for Arpy Giri
0
171
Member Avatar for anbuninja

hey this might help #include <cmath> #include <ctime> #include<iostream> using namespace std; int main() { srand (time(0)); int c1, c2, c3, c4, guess, guess2; c1 = 1 + rand() % ( 9 - 1 + 1); c2 = 1 + rand() % ( 9 - 1 + 1); c3 = …

Member Avatar for localp
0
134
Member Avatar for Arpy Giri

Well it sounds bit awkward but what can be done when there is no sound. recently i purchased inspirion 1525 notebook and had installed mandriva in it as other version are not installable because the P.C already has four primary partition and mandriva seems the most stable linux distros. i …

Member Avatar for jbennet
0
118
Member Avatar for sonygamer

i suggest u to use long instead of double; this is my code for resistance ...please check this out #include<iostream> #include<math.h> using namespace std; void compile(char,char,char); int colour(char); int main(){ char c1; char c2; char c3; int a,b,c,d; //giving user the choice for each colour cout<<"please enter the following words …

Member Avatar for Arpy Giri
0
297
Member Avatar for yarita

The End.