Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

start trying, and help me completing this code. we still have time till tomorrow midnight.

#include <iostream>
#include <fstream>
#include <string>
/*open file with ifstream
use getline(infile, string); in while loop to read file line by line
save data in string and string to :istringstream iss (string)
tokenized data with delimiter " = ? \n" ignore space, =, ? and blank lines
use LL(1) parsing table with stack or just use stack
compare condition
output the data with your own userdefine function void ()

using namespace std;

int main()
ifstream inFile("abc.txt");

if ( {
cerr "Unable to open file for reading." endl;

string nextToken;
while (inFile >> nextToken) {
cout "Token: " nextToken endl;


return 0;

Views: 1137

Replies to This Discussion

first try output


yr yh nikana kesa ha muje b bta do ?

Please for solving. Please post here if anyone solved

Bhai G, mary life ki first assignment ha jis main mujy had sy zeada tension ho rahy ha.

Main ap ko ye baat confirm karta hou k main ap sy bilkul different likhou ga.

ap mujy send kar dain. ya agr munasib sumjain to idhar he post kar dain. Please 

I know yaha koi b solution post karny sy darta ha q k mark 0 aty hain.

Mary bi two times zero aye hain. is lia ab main zeada video use karta hou.

Baki ap jo bahter samjain

Assignment solution 606 plz upload complete file

Armaan bhai yahan tk ho gya hai yar, agay kya karna hai, verbly he smjha do yar, point no 6 r uss se agay wali baat sahi clear nai ho rhi hai

Koi Allah ka wali share kr do solution


Allah ap ko pass kary  jin ko ati ha

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.


Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 


P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”


Looking For Something? Search Below

Latest Activity

Mr Siren Head replied to + !♛BS MATH!+♛'s discussion Result
55 minutes ago
Ghulam Murtaza GM liked saba zulfqar's profile
57 minutes ago
Ghulam Murtaza GM liked + !♛BS MATH!+♛'s profile
58 minutes ago
mohammad ahsan choudhry replied to + !♛BS MATH!+♛'s discussion Result
1 hour ago
sweet angel replied to + !♛BS MATH!+♛'s discussion Result
2 hours ago
+ !♛BS MATH!+♛ posted a discussion
2 hours ago
waseem akram left a comment for Huma Ahmad
11 hours ago
waseem akram left a comment for Huma Ahmad
12 hours ago

VIP Member Badge & Others

How to Get This Badge at Your Profile DP


Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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