Results 1 to 2 of 2

Thread: Bidemensional array

  1. #1

    Thread Starter
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478

    Question Bidemensional array

    Can you declare an array in C / C++ with different datatypes ??


    I need an array which got integers in the first dimension and a char string in the second dimension.

    Is this possible ??


    Advanced thanks
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

  2. #2

    Thread Starter
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478

    Sorry verry bad question

    Ok , I got it.

    Declared own struct with different datatypes .
    Declared array of own struct.


    No hard feelings I hope.
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width