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.

Views: 2768

Attachments:

Replies to This Discussion

please share the solution 

all you have to do is store data in string while reading file line by line
tokenize it, after that convert the appropriate token to the desired output as mention in assignment file.
Steps
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 ()

i wasted 7 days on this So please don't ask for solution file. 
Good luck

bhai mere haal par reham karo. me bohut majboor raha poora hafta. mera accident ho gya tha bike ka. please mujhe ap solution inbox kar den. me Allah pak ki  qasam kha kar kehta hun poori tarah change kar doonga apnay IQ se. totally different ho jaye ga. copy ni rahay gi. please bhai

Good Luck

yr plzz share kar do har kisi ki majbori hoti ha 

plz yr share kar do sb ka bhala ho jay ga 

Its code then, how can you change it if you can't write it. So please if all you guys without wasting time here just go and sit alone start coding, making things happens automatically.

You all know one thing....... Every thing is not SHAREABLE.,

~k make assignment in 7 days and you guys can't sit to work around for 1 hour. So change ur mind and do work. Marks doesn't matter...

good

don't share the solution.....

bhai yeh agar solve ho gayi hai toh mujhe mail kardo (sohaibnadeem100@gmail.com) plzzzz

any one help me in completing this code.

i am trying also

#include <iostream>
#include <fstream>
#include <string>

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;
}

Help me plz. sb ka bhla ho jy ga

RSS

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

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