Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: naildirt

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    715

    Storing 2D char array

    Hi, I am unable to understand why is the output for this shows me the address of the stored array.

    int main()
    {
    size_t k= 0 ;
    char t[3][100] = { "hi", "di", "fi" } ;
    char s[3][100] ;
    for...
  2. Replies
    8
    Views
    775

    Re: Noob Q 2D array processing

    The type of data is char. I thought when I initialize char d[] = "hi", the size is 3, meaning the compiler automatically adds a null character to the end
  3. Replies
    8
    Views
    775

    Re: Noob Q 2D array processing

    The error is in the conditional statement of the second for loop. If I used the strnlen function, I dont get any trouble
  4. Replies
    8
    Views
    775

    Re: Noob Q 2D array processing

    I thought that the 2nd statement is a conditional statement, meaning it does not assign value to c but just checks? am I correct?
  5. Replies
    8
    Views
    775

    Re: Noob Q 2D array processing

    More info : my inner loop isnt executing. why?
  6. Replies
    8
    Views
    775

    Noob Q 2D array processing

    I am unable to check if the character in the 2D array isalpha

    here is my code
    #include<iostream>
    #include<cctype>
    #include<cassert>
    #include<cstring>
    const int maxChar = 20 ;
    using...
Results 1 to 6 of 6


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center