Search:

Type: Posts; User: Priyanka Mandal

Search: Search took 0.01 seconds.

  1. solved! in.seekg(0,ios::end); just had to...

    solved!


    in.seekg(0,ios::end);

    just had to add this line!!!
  2. read from a file and display on monitor in reverse order

    works fine without the for loop.... if i use for loop...it doesnt give the output... where am i going wrong?


    #include<iostream>
    #include<conio.h>
    #include<fstream>
    using namespace std;...
  3. why am i not getting the desired output??

    i should be getting firstname, middlename and surname all together as output.... but im getting only the middlename and surname... where am i wrong???



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

    #include<iostream>
    #include<conio.h>
    #include<string.h>
    using namespace std;
    class name
    {


    public:
    int m;
  5. char *name1; char *name2; name1=new char[20];...

    char *name1; char *name2;
    name1=new char[20];
    name2=new char[20];
    int l1,l2;
    cout<<"enter string1 :";
    cin>>name1;


    the problem remains the same.... i have to use pointers...and i dont...
  6. the program just stops working. I don't know what is the problem with it! *frustated*

    #include<iostream>
    #include<conio.h>
    #include<string.h>
    using namespace std;
    class name
    {


    public:
    int m;
Results 1 to 6 of 6