Search:

Type: Posts; User: san

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,012

    u could u do while if u want the loop to execute...

    u could u do while if u want the loop to execute atleast once ..

    pardon my ignorance if this is not correct tell me so that i can learn .. because i very new to c++ and this is my first reply for...
  2. Replies
    8
    Views
    1,012

    i think you have to use a do while loop..

    i think you have to use a do while loop..
  3. Replies
    7
    Views
    1,305

    cin.getline(b,MAX-1); could u explain...

    cin.getline(b,MAX-1);

    could u explain to me why did u use MAX-1 [ can i say
    cin.getline(b,sizeof(b)) instead of cin.getline(b,MAX-1); ]

    a[ct]='\0';
    if i assign...
  4. Replies
    7
    Views
    1,305

    OK WHEN I USE cin.getline it si giving me the...

    OK WHEN I USE cin.getline it si giving me the following error

    Error E2285 C:\srt_cpy.cpp 29: Could not find a match for 'istream::getline(char,int)' in function myStrcpy(char *,char *)

    and i...
  5. Replies
    7
    Views
    1,305

    i am nwe to this so please could u show me hoe...

    i am nwe to this so please could u show me hoe to do that.
  6. Replies
    7
    Views
    1,305

    string copy question

    hi there , i am writing a prg which is the same as the library strcpy function ..

    could u guys check out my prg because it is copying b to a but at the end it is giving me some other char ..
    ...
  7. Replies
    10
    Views
    1,230

    thank u.

    thank u.
  8. Replies
    10
    Views
    1,230

    --------------------------------------------------...

    ----------------------------------------------------------
    cout "enter a string of words terminated by a # sign."
    char buffer[300];
    cin.getline(buffer, 299, '#');
    int length = strlen(buffer); ...
  9. Replies
    10
    Views
    1,230

    i am now trying doing this ...

    i am now trying doing this
    -----------------------------------------------------------------
    while(!(str_len) == '\0')
    ++coutn;

    cout << " length" << count; ...
  10. Replies
    10
    Views
    1,230

    well when i run the prg it is giving me length of...

    well when i run the prg it is giving me length of 5 no matter what i type...
  11. Replies
    10
    Views
    1,230

    c++ string question

    hi there , i am doing a prg which determines the number of words in the string ..

    here goes the problem i have to solve

    a function is provided with an array of char representing a...
  12. Thread: c++ review

    by san
    Replies
    3
    Views
    1,294

    c++ review

    hi ,
    i am preparing a c++ wavier exam ,which is in august could any one suggest me on how to proceed with the preparation , and by any chance do any of u know any sites that have mock exams or...
  13. Thread: c++ question

    by san
    Replies
    1
    Views
    826

    c++ question

    :confused:


    hi ,
    im new to c++ , i just did a programme that figures out whether or not the values stored in an array of ints are stored in descending order.could any body check this out...
Results 1 to 13 of 13