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 (inFile.fail()) {
cerr "Unable to open file for reading." endl;
exit(1);
}
string nextToken;
while (inFile >> nextToken) {
cout "Token: " nextToken endl;
}
inFile.close();
return 0;
}
Tags:
first try output
yr yh nikana kesa ha muje b bta do ?
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
ansaralibilla@gmail.com.
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
Please
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.
Note:-
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
&
.•°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: ___________”
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.
We are user-generated contents & non-commercial site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. All Contents on site are for personal & non-commercial use.We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post