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

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: 193

.

+ 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

Profile IconMuhammad Affan Muneer and Siddiq khan kakar joined + M.Tariq Malik's group
4 minutes ago
Mumtaz Hussain liked + M.Tariq Malik's discussion CS101 Assignment No 01 Fall 2019 Solution & Discussion
8 minutes ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked Usman Mughal's discussion Fall 2019 Assignment No. 1 English Comprehension (Eng101)
9 minutes ago
muddasir and Adil Iqbal are now friends
11 minutes ago
Mohsin pervaiz liked Usman Mughal's discussion Fall 2019 Assignment No. 1 English Comprehension (Eng101)
13 minutes ago
Profile IconNaeem jani and abdul ghafoor joined + M.Tariq Malik's group
19 minutes ago
Profile IconNabeel Ahmed, M IDREES and Abdul Ghaffar joined + M.Tariq Malik's group
37 minutes ago
BILAL Maher replied to + M.Tariq Malik's discussion CS401 Assignment No 01 Fall 2019 Solution & Discussion in the group CS401 Computer Architecture and Assembly Language Programming
55 minutes ago
+¢αяєℓєѕѕ gιяℓ replied to Moji's discussion Assignment #1 Semester FALL 2019 Physics (PHY101)
1 hour ago
Asmat replied to + "J ɨ y ą ⋆'s discussion CS501 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 12-11-2019 in the group CS501 Advance Computer Architecture
2 hours ago
+!!! NOOR UL JANAT !!!+ replied to Rana Ali's discussion Alfaz
2 hours ago
Rana Ali replied to Rana Ali's discussion Alfaz
3 hours ago
Rana Ali liked Rana Ali's discussion Alfaz
3 hours ago
Rana Ali liked Rana Ali's discussion Psy511 assignment no 1
3 hours ago
Rana Ali added a discussion to the group PSY511 Environmental Psychology
3 hours ago
Rana Ali liked + M.Tariq Malik's group PSY511 Environmental Psychology
3 hours ago
Rana Ali joined + M.Tariq Malik's group
3 hours ago
Rana Ali liked + M.Tariq Malik's discussion EDU302 Human Development and Learning Assignment No 01 Fall 2019 Solution & Discussion
3 hours ago
MUHAMMAD USMAN replied to MIT's discussion Operating Systems(CS604) Assignment # 01 Deadline Date 16-11-2019 in the group CS604 Operating Systems
3 hours ago
Muhammad Awais replied to Usman Mughal's discussion Assignment No. 01 Semester: Fall 2019 in the group CS101 Introduction to Computing
4 hours ago

Today Top Members 

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

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