We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

AOA...

    thori help chaye about c++,.. Me nay user say name lena ha, so agar cin insertion operator ">" use karo to we can add only first name, not 2nd, so ye set karny k liye me "getline()" function use kar raha hon, then ignore function be use karna pary ga for ignoring new line character, ... but ye use karny say input to ho jati ha , but out put me 1st character miss hota ha, mean 1st character gone ignore...!!
but me nay to only new line character ignore karna ha, so how to do that...??

example...:
char name[30],employe_ID[20];
cout" Enter The Name Of Employee:  ";
   cin.ignore();
   cin.getline(name,30);
  
      cout" Enter The Employee ID:   ";
         cin.ignore();
   cin.getline(employe_ID,20);

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 195

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Reply to This

Replies to This Discussion

I already did... :) but didn't get my ans yet....

about 1 hour ago....

I got my ans...  

thank you..>!!

that's ok....

no.. its not ok..we should learn for change our life , do some thing special for country, not only to qualified exam....

I don't so that its the problem... all input gone well.. only the problem is that it ignore my 1st character, but during running the program , if user enter space 1st and then type name , then its gone well, coz here 1st character is space char....

I just wanna to ignore  new line char .... but now I get my ans ... :)

thank you..>!!

name ko string type declare kr do. and simply cin k throw value lay lo. simple solution.

thank you bro ... but I solved this already....

RSS

Latest Activity

waqas ahmad posted a discussion
25 minutes ago
+ ! ! ! ! Mehαr Mαh꧂ liked +¢αяєℓєѕѕ gιяℓ's discussion Best Place Of Propose Someone :-P
36 minutes ago
muhammad zain liked + ! ❤️ ░S░I░N░G░E░R's discussion CS619 Online Course Registration System Project
39 minutes ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Kya Mien Writer Ban Sakti Hoon :-P
46 minutes ago
ȼhąƮρąƮɨ ƙuȡɨ updated their profile
47 minutes ago
Muhammad Sarfraz liked + M.Tariq Malik's discussion FIN630 Investment Analysis & Portfolio Management GDB Fall 2019 Solution & Discussion
52 minutes ago
+¢αяєℓєѕѕ gιяℓ posted discussions
53 minutes ago
Muhammad Sarfraz replied to + M.Tariq Malik's discussion FIN630 Investment Analysis & Portfolio Management GDB Fall 2019 Solution & Discussion in the group FIN630 Investment Analysis & Portfolio Management
54 minutes ago
Profile IconMuhammad Sarfraz and Zaheer Bashir joined + M.Tariq Malik's group
54 minutes ago
+ ! ! ! ! Mehαr Mαh꧂ replied to + ! ! ! ! Mehαr Mαh꧂'s discussion Assignment #1 MCM511 Theories of Communication fall 2019 in the group MCM511 Theories of Communication
54 minutes ago
Profile IconMuhammad Sarfraz, Muhammad Younas Rajpoot, Zeeshan Khalid and 11 more joined Virtual University of Pakistan
1 hour ago
+ ! ! ! ! Mehαr Mαh꧂ replied to +¢αяєℓєѕѕ gιяℓ's discussion Kya Mien Writer Ban Sakti Hoon :-P
1 hour ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Kya Mien Writer Ban Sakti Hoon :-P
1 hour ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Kya Mien Writer Ban Sakti Hoon :-P
1 hour ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Kya Mien Writer Ban Sakti Hoon :-P
1 hour ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Kya Mien Writer Ban Sakti Hoon :-P
1 hour ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Kya Mien Writer Ban Sakti Hoon :-P
1 hour ago
wajiha malik replied to + M.Tariq Malik's discussion EDU301 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group EDU301 General Methods of Teaching
1 hour ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Shadi Ho Rhi Hai Alhamdulillah.......... (^__^)!
1 hour ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Shadi Ho Rhi Hai Alhamdulillah.......... (^__^)!
1 hour ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service