No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Ask Me
- Interests
- Football,Table Tennis,Music
Re:
Frequently, you may need to isolate words in a phrase. In this example, we'll use substr to carry out this task. |
|
Re:
i am trying to pair a vector and an integer but [code] map<vector[i][j],int>m; m.insert(pair<vector[i][j],int>,(v[1][0],sum)); [/code] did not work?? |
|
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. |
|
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 |
|
Re:
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() … |
|
Re:
can someone help me i can't seem to find my temperature problem [CODE] /**************************** * functions *****************************/ float c2F(float); float f2C(float); /**************************** * gloabal variables *****************************/ int main () { float inTemp; float newTemp; char inCode; cout << "please enter the code (a 'C' of 'F'): "; cin >> inCode; … |
|
Re:
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 … |
|
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 … |
|
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.. |
|
Re:
hello, Thanks to previous help which has gotten me this far. However, my lovely program, although looks great in theory doesnt do what its supposed to do. When I type in 3 words, it doesnt put them in order as it should. Can someone point out to me where I … |
|
Re:
Hi guy, I need to create a program that sorts 3 words entered into order from shortest to longest. So far I have the following done but when I run it, it only displays the first two words in order of length and doesnt show the 3rd word. Can anyone … |
|
Re:
I have been working on this code for a banking program I am trying put together. Trying to test my ability to grasp this stuff on my own. I am stuck on this part and maybe it is my non-math mind that is causing a block. Can someone help me … |
|
Re:
I am having a huge problem with writing this program. Every time I ask the teacher for help she is too busy helping someone else. so she just tell me one thing and runs off to the next person without checking if it worked and what other help I might … |
|
Re:
[code] #include <iostream> #include <string> #include "scanner.h" using namespace std; void program(string &sym); void body(string &sym); void stmt(string &sym); string sym; int main() { openfile(); sym = getsym(); program(sym); return 0; } void program(string &sym) { stmt(sym); //cout << sym; if(sym!="$") { cout << "Parser failed" << endl; } else … |
|
Re:
Hello to you all , I have been assigned to in C to build a function which will take 2 strings and count (in recursive way) how many chars are alike (case sensitive). I have setup the main and also a function which recieves the input from user . I … |
|
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 … |
|
Re:
Hello everyone, I was having this problem of sorting words of a string entered by user where the user enters many strings and words of each string are sorted separately. This had to be done using pointers . Heres my attempt.I dont know where I am going wrong as garbage … |
|
Re:
Hello ladies and gents, Ive been trying to find a solution for this exercise wich goes as follows: Rewrite the Student_info structure, and the 'read' and 'grade' functions, so that they calculate each student's grades as part of reading the input, and store only the final grade. Because the exercise … |
|
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: … |