On Tue, May 1, 2012 at 7:44 PM, Hamid Khan <pathfinder610@gmail.com> wrote:
string& insert ( size_t pos1, const string& str );
string& insert ( size_t pos1, const string& str, size_t pos2, size_t n );
string& insert ( size_t pos1, const char* s, size_t n);
string& insert ( size_t pos1, const char* s );
string& insert ( size_t pos1, size_t n, char c );
iterator insert ( iterator p, char c );
void insert ( iterator p, size_t n, char c );
template<class InputIterator>
void insert ( iterator p, InputIterator first, InputIterator last );Insert into stringThe current string content is extended by inserting some additional content at a specific location within the string content (this position is determined by either pos1 or p, depending on the function version used).
The arguments passed to the function determine the content that is inserted:
- string& insert ( size_t pos1, const string& str );
- Inserts a copy of the entire string object str at character position pos1.
- string& insert ( size_t pos1, const string& str, size_t pos2, size_t n );
- Inserts a copy of a substring of str at character position pos1. The substring is the portion of str that begins at the character position pos2 and takes up to n characters (it takes less than n if the end of str is reached before).
- string& insert ( size_t pos1, const char * s, size_t n );
- Inserts at the character position pos1, a copy of the string formed by the first n characters in the array of characters pointed by s.
- string& insert ( size_t pos1, const char * s );
- Inserts at character position pos1, a copy of the string formed by the null-terminated character sequence (C string) pointed by s. The length of this character sequence is determined by the first ocurrence of a null character (as determined by traits.length(s)).
- string& insert ( size_t pos1, size_t n, char c );
- Inserts a string formed by a repetition of character c, n times, at the character position pos1.
- iterator insert ( iterator p, char c );
- Inserts a copy of character c at the position referred by iterator p and returns an iterator referring to this position where it has been inserted.
- void insert ( iterator p, size_t n, char c );
- Inserts a string formed by the repetition of character c, n times, at the position referred by iterator p.
- template<class InputIterator> void insert (iterator p, InputIterator first, InputIterator last);
- Inserts at the internal position referred by p the content made up of the characters that go from the element referred by iterator first to the element right before the one referred by iterator last.
On 1 May 2012 19:41, Desert-rose <mc110200116@vu.edu.pk> wrote:
Well can any body tell me about insert function in CS301.What methodology did u use?Best Regards,
On Tue, May 1, 2012 at 7:28 PM, Hamid Khan <pathfinder610@gmail.com> wrote:
ok zarur krna send.m waitingand thanks in advance :POn 1 May 2012 19:27, aneela khan <akhan6274@gmail.com> wrote:
wo jasy e mjh chck kr k dty ma ap ko snd kr dun ge.
On Tue, May 1, 2012 at 7:26 PM, aneela khan <akhan6274@gmail.com> wrote:
main bi bnai hy or apny teacchr ko abi mail ki hy k wo chck kr dain thk hy k nae.
On Tue, May 1, 2012 at 7:25 PM, aneela khan <akhan6274@gmail.com> wrote:
hahaha kiun
On Tue, May 1, 2012 at 7:25 PM, Hamid Khan <pathfinder610@gmail.com> wrote:
mai bna raha hun.abi adhi bani hai.jab ban jae gi tu share krdo gaap apni share kroOn 1 May 2012 19:24, aneela khan <akhan6274@gmail.com> wrote:
ji kr dain share
On Tue, May 1, 2012 at 7:14 PM, Hamid Khan <pathfinder610@gmail.com> wrote:
please share your solution file.On 1 May 2012 19:11, Desert-rose <mc110200116@vu.edu.pk> wrote:
Asalam o alaikum,
I have successfully made CS301 assignment solution but there is still a little bit confusion can anybody help me please... Anybody who has done with his/her CS301 assignment kindly email me so that i can share my solution with him and her..
--
Best Regards,
MCS (2nd Semester)
--
To post to this group, send email to vuhelp_pk@googlegroups.com
To unsubscribe from this group, send email to vuhelp_pk+unsubscribe@googlegroups.com
Group Rules Vuhelp4u
Sharing of Video songs links, movies links, dramas links are not allowed in study group. Only Islamic and general information Video links allowed.
SPAM, Advertisement, and Adult messages are NOT allowed and that member will be behaved strictly.
http://groups.google.com/group/vuhelp_pk?hl=en_US
--
To post to this group, send email to vuhelp_pk@googlegroups.com
To unsubscribe from this group, send email to vuhelp_pk+unsubscribe@googlegroups.com
Group Rules Vuhelp4u
Sharing of Video songs links, movies links, dramas links are not allowed in study group. Only Islamic and general information Video links allowed.
SPAM, Advertisement, and Adult messages are NOT allowed and that member will be behaved strictly.
http://groups.google.com/group/vuhelp_pk?hl=en_US
--
To post to this group, send email to vuhelp_pk@googlegroups.com
To unsubscribe from this group, send email to vuhelp_pk+unsubscribe@googlegroups.com
Group Rules Vuhelp4u
Sharing of Video songs links, movies links, dramas links are not allowed in study group. Only Islamic and general information Video links allowed.
SPAM, Advertisement, and Adult messages are NOT allowed and that member will be behaved strictly.
http://groups.google.com/group/vuhelp_pk?hl=en_US
--
To post to this group, send email to vuhelp_pk@googlegroups.com
To unsubscribe from this group, send email to vuhelp_pk+unsubscribe@googlegroups.com
Group Rules Vuhelp4u
Sharing of Video songs links, movies links, dramas links are not allowed in study group. Only Islamic and general information Video links allowed.
SPAM, Advertisement, and Adult messages are NOT allowed and that member will be behaved strictly.
http://groups.google.com/group/vuhelp_pk?hl=en_US
--
To post to this group, send email to vuhelp_pk@googlegroups.com
To unsubscribe from this group, send email to vuhelp_pk+unsubscribe@googlegroups.com
Group Rules Vuhelp4u
Sharing of Video songs links, movies links, dramas links are not allowed in study group. Only Islamic and general information Video links allowed.
SPAM, Advertisement, and Adult messages are NOT allowed and that member will be behaved strictly.
http://groups.google.com/group/vuhelp_pk?hl=en_US
--
To post to this group, send email to vuhelp_pk@googlegroups.com
To unsubscribe from this group, send email to vuhelp_pk+unsubscribe@googlegroups.com
Group Rules Vuhelp4u
Sharing of Video songs links, movies links, dramas links are not allowed in study group. Only Islamic and general information Video links allowed.
SPAM, Advertisement, and Adult messages are NOT allowed and that member will be behaved strictly.
http://groups.google.com/group/vuhelp_pk?hl=en_US
--
Mohammad Yaseen (yaseenraja2000@gmail.com)
MCS (2nd Semester)
--
To post to this group, send email to vuhelp_pk@googlegroups.com
To unsubscribe from this group, send email to vuhelp_pk+unsubscribe@googlegroups.com
Group Rules Vuhelp4u
Sharing of Video songs links, movies links, dramas links are not allowed in study group. Only Islamic and general information Video links allowed.
SPAM, Advertisement, and Adult messages are NOT allowed and that member will be behaved strictly.
http://groups.google.com/group/vuhelp_pk?hl=en_US
--
To post to this group, send email to vuhelp_pk@googlegroups.com
To unsubscribe from this group, send email to vuhelp_pk+unsubscribe@googlegroups.com
Group Rules Vuhelp4u
Sharing of Video songs links, movies links, dramas links are not allowed in study group. Only Islamic and general information Video links allowed.
SPAM, Advertisement, and Adult messages are NOT allowed and that member will be behaved strictly.
http://groups.google.com/group/vuhelp_pk?hl=en_US
--
To post to this group, send email to vuhelp_pk@googlegroups.com
To unsubscribe from this group, send email to vuhelp_pk+unsubscribe@googlegroups.com
Group Rules Vuhelp4u
Sharing of Video songs links, movies links, dramas links are not allowed in study group. Only Islamic and general information Video links allowed.
SPAM, Advertisement, and Adult messages are NOT allowed and that member will be behaved strictly.
http://groups.google.com/group/vuhelp_pk?hl=en_US
No comments:
Post a Comment