Click here to Skip to main content
15,891,253 members

Comments by Member 13784265 (Top 12 by date)

Member 13784265 15-Oct-20 5:17am View    
i get that but would it help me in displaying the jquery mobile dialoug box ?
Member 13784265 28-Aug-18 11:43am View    
"unit test" and "native" works the same way ?
Member 13784265 28-Aug-18 11:36am View    
what's the difference between managed and native unit testing ?
Member 13784265 21-Jun-18 9:20am View    
thanks sir.
i am using visual studio and i am having this program on this compiler. but when i run this same program it run properly on Cfree.why is that so ?
Member 13784265 15-May-18 10:42am View    
i tried this.it's working on cfree compiler but when i switch to Visual Studio, Visual Studio give errors.
ERRORS:
no operator ">>"matches these operands at line 22.
no operator "<<"matches these operands at line 43.

#include<iostream>
#include<fstream>
#include<conio.h>

using namespace std;

struct node
{
string name;
node *next;
};

int main()
{
node *head = NULL;
node *tail;
ifstream fin;
fin.open("naeem.txt");
string info;
while (!fin.eof())
{
fin >> info;
node *temp = new node;
temp->next = NULL;
if (!head)
{
temp->name = info;
tail = head = temp;
}
else
{
temp->name = info;
tail->next = temp;
tail = temp;
}
}

node *t = head;
int count = 1;

while (t != NULL)
{
cout << "[" << count << "]=>" << t->name << endl;
t = t->next;
count++;
}
_getch();
}