Search:

Type: Posts; User: Nautilus

Search: Search took 0.01 seconds.

  1. Thread: Complexes

    by Nautilus
    Replies
    3
    Views
    926

    Sorry my English... ;) I just have some...

    Sorry my English... ;) I just have some dificulties to write well in english...
  2. Thread: Complexes

    by Nautilus
    Replies
    3
    Views
    926

    What didn't you now????

    You should say, where do tou need help.... Nowbody here will do your work... try fisrt, and then put your realy questions, for get help..
    ok???
  3. Replies
    5
    Views
    1,403

    Of course

    Sure it must be class Derivater:public Bse. Sorry... :)
  4. Replies
    5
    Views
    1,403

    Ok... I will try :)

    So imagine that you have this class



    class Base
    {
    int x;

    public:
    Base (int xx=0): x(xx){}
  5. Replies
    6
    Views
    1,211

    Thanks, i just have one solution....

    Thanks shiv_tech_quest now that wokrs.... :)
  6. Replies
    6
    Views
    1,211

    Well it woks

    Ok ok, i put a declarition of the function before main and it don't give me errors, but when a want to read a string from the stdin, it just read one letter, for exeample i want to write My car is...
  7. Replies
    6
    Views
    1,211

    Operator >> problems

    Ok guys. I have a class String, and i need to put the operator >> in that class. so i do this:

    istream & operator>>(istream &in,String &str)
    {
    char string[30];
    in.getline(string,30,'\n');...
  8. It works

    Thaks, whit that form it work's thank you!!!
    But there ren't other way, more easy?? anytime a have to creat a new fnction i have to put int_ptr (&x) [10],char_ptr (&y) [10])??
  9. But i don't have that

    Ok ok!! if i hav int x[10], but i don't have that, in my case i have
    int * x[10], for exemple. then whit a for, i put all the elements pointing to NULL, an i want pass the refence os the array for a...
  10. Nop that doesn't woks

    I put that, but i get more errors, like "A reference that is not to 'const' cannot be bound to a non-lvalue".
    Should i put insert_cars(const car& maycar) ?????

    thank's anyway
  11. How can I pass a reference from a array os a class

    My quastion is very simple. Imagine that you have this:

    class car
    {
    ......
    };

    void main()
    {
    car * mycars[100]
Results 1 to 11 of 11