Search:

Type: Posts; User: Peacelyk

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,400

    Does it mean that header include...

    Does it mean that <iostream> header include <string>??
  2. Replies
    4
    Views
    1,400

    Why do i have to include string header?

    Because this works just fine:


    #include <iostream>
    using namespace std;
    int main(){
    string SayHello = "Hello";
    cout<<SayHello<<endl;
    return 0;
    }
  3. Replies
    2
    Views
    888

    Ok, but what's this then: int main(int argc,...

    Ok, but what's this then:


    int main(int argc, char *argv[])

    array of pointers to char?
    And yet we are able to get out of it main function arguments.

    I thought that
  4. Replies
    2
    Views
    888

    Pointer to a class array?

    Ok, i need some explanation:



    MyClass *Human[10][10];


    what does it mean? a pointer to a MyClass array?
    one interesting thing is that i'm able to do that:
Results 1 to 4 of 4