Sign up to connect with aluhnev and gain access to their complete profile
  • Member Avatar
    aluhnev

    Edited make_shared()

    //Hi all,could someone explain the make_shared(), is it used to substitute constructor? //Here is an example void DoAddStaff(vector<Ptr>& container) { cout << "\nEnter type of employee to add ('W' for …
  • Member Avatar
    aluhnev

    Created make_shared()

    //Hi all,could someone explain the make_shared(), is it used to substitute constructor? //Here is an example void DoAddStaff(vector<Ptr>& container) { cout << "\nEnter type of employee to add ('W' for …
  • Member Avatar
    aluhnev

    Began Watching make_shared()

    //Hi all,could someone explain the make_shared(), is it used to substitute constructor? //Here is an example void DoAddStaff(vector<Ptr>& container) { cout << "\nEnter type of employee to add ('W' for …
  • Member Avatar
    aluhnev

    Replied To a Post in Print out max value from 4 dimensional array

    //Thank you. Can you explain why if we use standard array,like this int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 }; int maxNum = …
  • Member Avatar
    aluhnev

    Replied To a Post in 4 dimensional array

    Thank you.
  • Member Avatar
    aluhnev

    Marked Solved Status for 4 dimensional array

    //HI All what is wrong with this code,i try to declare 4 dim. array int [, , ,] a = new int [3,4] = {{2,3,4,5}, {34,56,25,67}, {22,44,55,77}}; //how do i …
  • Member Avatar
    aluhnev

    Created Print out max value from 4 dimensional array

    //This is my code,how do i find & print max value namespace StartCSharp { class Program { static void Main(string[] args) { int [, ] a = new int [4,4] …
  • Member Avatar
    aluhnev

    Began Watching Print out max value from 4 dimensional array

    //This is my code,how do i find & print max value namespace StartCSharp { class Program { static void Main(string[] args) { int [, ] a = new int [4,4] …
  • Member Avatar
    aluhnev

    Replied To a Post in 4 dimensional array

    3 rows,4 columns ,right? its 2 dimensional ? So for 4 dim,how many commas do i need?
  • Member Avatar
    aluhnev

    Created 4 dimensional array

    //HI All what is wrong with this code,i try to declare 4 dim. array int [, , ,] a = new int [3,4] = {{2,3,4,5}, {34,56,25,67}, {22,44,55,77}}; //how do i …
  • Member Avatar
    aluhnev

    Began Watching 4 dimensional array

    //HI All what is wrong with this code,i try to declare 4 dim. array int [, , ,] a = new int [3,4] = {{2,3,4,5}, {34,56,25,67}, {22,44,55,77}}; //how do i …
  • Member Avatar
    aluhnev

    Marked Solved Status for Stack & Queue output/print

    //Hi all,can someone help with this problem //I am stack,need to output all functions in main,with user input for queue and stack,but first queue //This is my .h and .cpp …
  • Member Avatar
    aluhnev

    Marked Solved Status for Create 2 constructors

    //Hi i do the delivery company project,this are my members of the base class //how do i create 2 constructors in base,one for sender and one for recipient? //I did …
  • Member Avatar
    aluhnev

    Revoked Solved Status for Create 2 constructors

    //Hi i do the delivery company project,this are my members of the base class //how do i create 2 constructors in base,one for sender and one for recipient? //I did …
  • Member Avatar
    aluhnev

    Created Stack & Queue output/print

    //Hi all,can someone help with this problem //I am stack,need to output all functions in main,with user input for queue and stack,but first queue //This is my .h and .cpp …
  • Member Avatar
    aluhnev

    Began Watching Stack & Queue output/print

    //Hi all,can someone help with this problem //I am stack,need to output all functions in main,with user input for queue and stack,but first queue //This is my .h and .cpp …
  • Member Avatar
    aluhnev

    Marked Solved Status for Overload the + Operator

    //Hi all,can you please explain why using this-> in this code is optional,that is the purpose? //Code can work with not this-> too. CTime_24 operator+(int seconds); CTime_24 CTime_24 :: operator+(int …
  • Member Avatar
    aluhnev

    Replied To a Post in Overload the + Operator

    Thank you all for help.
  • Member Avatar
    aluhnev

    Marked Solved Status for Create 2 constructors

    //Hi i do the delivery company project,this are my members of the base class //how do i create 2 constructors in base,one for sender and one for recipient? //I did …
  • Member Avatar
    aluhnev

    Marked Solved Status for inheritance

    //why the getters declared twice,public,and than protected at the end of this code? And how to assign the copy constructor between this 2 classes? class Person { private: string name; …
  • Member Avatar
    aluhnev

    Replied To a Post in Overload the + Operator

    //How do i do += operator assignment in this case : ? // .h CTime_24 operator+=(int seconds); CTime_24 operator+=( CTime_24& sTime); //.cpp CTime_24& CTime_24 :: operator+=(int seconds) { this->m_Seconds += …
  • Member Avatar
    aluhnev

    Created Overload the + Operator

    //Hi all,can you please explain why using this-> in this code is optional,that is the purpose? //Code can work with not this-> too. CTime_24 operator+(int seconds); CTime_24 CTime_24 :: operator+(int …
  • Member Avatar
    aluhnev

    Began Watching Overload the + Operator

    //Hi all,can you please explain why using this-> in this code is optional,that is the purpose? //Code can work with not this-> too. CTime_24 operator+(int seconds); CTime_24 CTime_24 :: operator+(int …
  • Member Avatar
    aluhnev

    Created inheritance

    //why the getters declared twice,public,and than protected at the end of this code? And how to assign the copy constructor between this 2 classes? class Person { private: string name; …
  • Member Avatar
    aluhnev

    Began Watching inheritance

    //why the getters declared twice,public,and than protected at the end of this code? And how to assign the copy constructor between this 2 classes? class Person { private: string name; …
  • Member Avatar
    aluhnev

    Replied To a Post in Create 2 constructors

    Should the class person be a derived class of package?
  • Member Avatar
    aluhnev

    Replied To a Post in Create 2 constructors

    // In @rubberman example on line 40,41 i can not declare in my package class this 2 lines. // sender is underlined on line 40 for me.Did i missed something?
  • Member Avatar
    aluhnev

    Replied To a Post in Create 2 constructors

    //How about this version,i try to avoid copy constructor,as i never used before //and not to sure how to apply. #pragma once #include<string> using namespace std; class Package { public: …
  • Member Avatar
    aluhnev

    Replied To a Post in Create 2 constructors

    Can i get a little bit more explanation on copy constractor,how they perform.As i just only guessing.I have seen some examples online,but i do not know the syntax,so hard to …
  • Member Avatar
    aluhnev

    Replied To a Post in Create 2 constructors

    Sorry for asking,but never came across it.My question is should i use copy constructor and assignment operator on this 2 classes or just in one?

The End.