Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #3K
~5K People Reached
About Me

Ask Me

Interests
Football,Table Tennis,Music
Favorite Tags

20 Posted Topics

Member Avatar for zandiago

Another way to get the substrings of the given string with spaces as delimiters can be [code] #include<string> #include<sstream> using namespace std; string givenString="This is the string to be split"; stringstream s; string temp; s<<givenString; while(s>>temp) cout<<temp<<endl; [/code]

Member Avatar for zandiago
0
143
Member Avatar for Comatose

Its decision finally going to be taken by her, But all those signing here(I too) want you to stay here for their own benefits;) and choice TOO ..It always pleasure to read your all posts..there are too informative most of the times!!!

Member Avatar for Ancient Dragon
0
1K
Member Avatar for sanzle

By definition of maps compare what are you doing right now and what do you want it to do.May be what you want is [code] map<vector<vector<int> >,int > m; vector<vector<int> > vvi; int i; m.insert(make_pair(vvi,i)); [/code] Hope it helps!

Member Avatar for HackWizz
0
57
Member Avatar for HackWizz

Hi.. I have nearly learnt c++ ..and I want to learn java as i suppose softwares solutions are usually provided in java..:?: ...I know nothing about java.I saw the tutorials ..but the were not introductory..can someone help....??? Thanks in advance.

Member Avatar for Kiba Ookami
0
201
Member Avatar for HackWizz

Hi.. Could any one tell me about... 1) What is top-down approach(POP) and bottom-up approach(OOP) and the difference between them.. 2) Different types of containership (might be with exs..) Thanks for the help

Member Avatar for HackWizz
0
103
Member Avatar for robase

[quote=robase]I need some help to do the following Count all spaces written to the output file Count all alphabetic characters in the output file [code]include "stdafx.h" #include <iostream> #include <fstream> #include <string> using namespace std; int main () { string line; ifstream myfile ("checkIn.dat"); if (myfile.is_open()) { while (! myfile.eof() …

Member Avatar for HackWizz
0
100
Member Avatar for jlouang

What is the problem ..specify that..and put brackets in the formula to avoid confusion and miscalculation

Member Avatar for jlouang
0
112
Member Avatar for qgirl

[quote=qgirl]I am suppose to write a c++ program that show 1. shows the different breakfadt items offered 2. allow the customer to make more than one selection 3.allow the user to select multiple orders of a particular type 4. calculate and display the bill This is what i've got so …

Member Avatar for Lerner
0
137
Member Avatar for HackWizz

Hello... I found about the site through my friend. It has been a very useful site with posts ranging from the beginners to experts..A nice thing is the community is it tries to change the attitude of the programmers :) Well I am registered in another community too..but I think …

Member Avatar for DMR
0
157
Member Avatar for HackWizz

Can only the thread starter mark he thread as solved..I suppose yes along with administrator..So any method for making everyone mark solved after writing thanks i.e. after problem is solved.... It wastes time reading a long thread and then see that its already is solved..

Member Avatar for Dani
0
178
Member Avatar for newgurl

try and use strlen and then display accordingly ..then might be your lovely program may run!!!!

Member Avatar for WolfPack
0
307
Member Avatar for viet_mafia

Think According to your code what will happen in foll condition if the first word entered is second largest second is largest and third one is smallest.....

Member Avatar for Lerner
0
286
Member Avatar for Mr T.

Write The code according to your thinking..when and how do you calculate manually..simple when the user enters see if there is a overdrawing ..if yes then deduct 35 and display the balance(i.e. after -35 and not -fwithamount)..dont allow -fwithamount.. if no then allow the normal procedure hope you get it!!

Member Avatar for orko
0
187
Member Avatar for madonnamama

hello madonnamama, please try and be specific in your problem. whether it is a logical or whatever error you get point it out..try and shorten your program by using more for loops and switch statements..

Member Avatar for madonnamama
0
1K
Member Avatar for Acidburn

[QUOTE=Acidburn][code] void program(string &sym) { stmt(sym); //cout << sym; if(sym!="$") { cout << "Parser failed" << endl; } else { cout << "PARSE COMPLETED" << endl; return; } } [/code] in the text file from what its reading is as follows: read ; $ [/QUOTE] so the input is $ …

Member Avatar for HackWizz
0
96
Member Avatar for YoTaMiX

[QUOTE=YoTaMiX]Code : [CODE]int func(char s1[], char s2[]) { int i=0; if (s1[i]!=s2[i]) return 0; if (s1[i]==s2[i]) return 1+func(s1[i+1],s2[i+1]); }[/CODE] /QUOTE] >>if (s1[i]!=s2[i]) return 0; here think what happens if the first character does not match does it remain the type of function you want.. and you need sum kind of …

Member Avatar for YoTaMiX
0
179
Member Avatar for HackWizz

Hi everyone... I have a workshop of asp.net in my college on saturday. I am interested in atending it .. so can anyone just give me basic details of asp.net... what is it.. what to use for.. practical uses.. i know nothing about i :?: t...so please if you can …

Member Avatar for HackWizz
0
80
Member Avatar for comwizz

hi comwizz ;) , n hi 2 every1 else readin d reply :) . m a new member in the club.i dont get exactly wat u hve typed.... but i see in the foll code u has used j as a variable n incremented i... so look out.. /* for(j=0;j<l_no;i++) …

Member Avatar for HackWizz
0
354
Member Avatar for JoBe

hi jobe, even if the problem may be large better post the problem and your program... there are lot more learning c++ and already know c++ without Acc c++... so better post it.. bye

Member Avatar for JoBe
0
182
Member Avatar for HackWizz

Hi... m a new member n just started to learn c++. so please help me out... its simple I read in 1 of the replies that #include<iostream.h> is obsolete.... n one can use #include<iostream> But wen i tried it in d program it does not included file.. expectin replies... :twisted: …

Member Avatar for HackWizz
0
210

The End.