Search:

Type: Posts; User: vishalbhingarka

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    1,892

    That did it... I dunno what i was thinking.....

    That did it... I dunno what i was thinking.. thanks a lot to everybody...
  2. Replies
    17
    Views
    1,892

    #include #include #include...

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

    using namespace std;

    int main()
    {
  3. Replies
    17
    Views
    1,892

    I am using VC++6. Changed the string file as per...

    I am using VC++6. Changed the string file as per the suggestion but the input stream just does not move after the first line.
    Should i get the input character by character...will that help??
  4. Replies
    17
    Views
    1,892

    The getline function is not moving to the next...

    The getline function is not moving to the next line automatically. logically if am not opening the file in append mode then the last line should have been printed but only the first line is getting...
  5. Replies
    17
    Views
    1,892

    ofstream file1 ("passwd_sorted.txt"); if...

    ofstream file1 ("passwd_sorted.txt");
    if (file1.is_open())
    {
    file1 << "dn:cn=";
    file1 << cn;
    file1 << "cn:";
    file1 << cn;
    file1 << "\nsn:";
    file1 << sn;
    file1 <<...
  6. Replies
    17
    Views
    1,892

    I am trying the code with getline in the while...

    I am trying the code with getline in the while loop. when I print the line in the putput, all I am getting is the first line. I am not sure how do i make the getline move to the next line.
  7. Replies
    17
    Views
    1,892

    Thanks a lot for that. I am not yet sure why my...

    Thanks a lot for that. I am not yet sure why my whole file is not being read it in line by line. Like in my output all I am getting is the output for the first line.
  8. Replies
    17
    Views
    1,892

    I was trying different methods and hence it is...

    I was trying different methods and hence it is commented.

    I am trying to find a white space.
  9. Replies
    17
    Views
    1,892

    help needed with file I/O

    I have written a code for getting inputs from a file. I need to parse the input string and then putput it to another file. The input file contains multiple lines. I am not sure what I am doing wrong....
  10. Replies
    2
    Views
    877

    thanks a lot...Got it...

    thanks a lot...Got it...
  11. Replies
    2
    Views
    877

    Data conversion

    I am recieving some data in UTF8 format and have to pas it to another function in const unsigned short format. any ideas??
  12. Replies
    5
    Views
    1,262

    got It.....

    hey dudes

    thanks a lot but finally got a library for calling LDAP implicitely.... see MSDN for more details...
  13. Replies
    5
    Views
    1,262

    I am sorry but can you please elaborate. I do not...

    I am sorry but can you please elaborate. I do not want to run another program but a utility through the system call...any help appreciated...
    Thanks
  14. Replies
    5
    Views
    1,262

    System() call issues

    I am writing a code in C++ for exploring and correlating LDAP.The point is I have been using system() command to search and bind LDAP . But the system command always invokes a command line interface...
Results 1 to 14 of 14