• Member Avatar for pdk123
    pdk123

    Revoked Solved Status for call python function from c++ (visual studio 2019)

    Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same …
  • Member Avatar for pdk123
    pdk123

    Marked Solved Status for call python function from c++ (visual studio 2019)

    Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same …
  • Member Avatar for pdk123
    pdk123

    Revoked Solved Status for call python function from c++ (visual studio 2019)

    Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same …
  • Member Avatar for pdk123
    pdk123

    Marked Solved Status for call python function from c++ (visual studio 2019)

    Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same …
  • Member Avatar for pdk123
    pdk123

    Revoked Solved Status for call python function from c++ (visual studio 2019)

    Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same …
  • Member Avatar for pdk123
    pdk123

    Marked Solved Status for call python function from c++ (visual studio 2019)

    Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same …
  • Member Avatar for pdk123
    pdk123

    Replied To a Post in call python function from c++ (visual studio 2019)

    Thankyou for the reply and help. Btw, i already got this working. #include <iostream> #include "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include\Python.h" #include "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\Lib\site-packages\numpy\core\include\numpy\arrayobject.h" #include <vector> using namespace …
  • Member Avatar for pdk123
    pdk123

    Created call python function from c++ (visual studio 2019)

    Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same …
  • Member Avatar for pdk123
    pdk123

    Replied To a Post in c++ stl map with string keys

    Any input or help is greatly appreciated. I was mostly working on legacy c++..now trying to implement my own small part of module. Getting difficult to integrate. time is critical, …
  • Member Avatar for pdk123
    pdk123

    Created c++ stl map with string keys

    Hi, I have the following map : listOfPolicyRuleInfo CPCRF::m_mlistOfCliConfiguredPolicyRules; where typedef map<string, PolicyRuleInfo> listOfPolicyRuleInfo; where PolicyRuleInfo is a struct struct PolicyRuleInfo{ BearerQoSInfo stBearerQoS; TFTInfo stTFTInfo; PolicyRuleInfo(){}; PolicyRuleInfo( BearerQoSInfo const& qos, …
  • Member Avatar for pdk123
    pdk123

    Created Derive string from the octet array

    Hello, I have a basic c++ STL question. I have an octet array class (legacy). Now lets say the octet array has the following contents: array[0]=00 array[1]=01 array[2]=30 array[3]=01 array[4]=114 …
  • Member Avatar for pdk123
    pdk123

    Marked Solved Status for c++ static member

    I have a approximate following class class ClassA : public ClassB { void HandleMessages(const u8 *pP, const u16 nMsgBodyLen); static std::map<std::pair<u32, u32>, CreateSessInfo> m_mSessionId2CCRNum2DefaultBearerId; }; When trying to access the …
  • Member Avatar for pdk123
    pdk123

    Revoked Solved Status for c++ static member

    I have a approximate following class class ClassA : public ClassB { void HandleMessages(const u8 *pP, const u16 nMsgBodyLen); static std::map<std::pair<u32, u32>, CreateSessInfo> m_mSessionId2CCRNum2DefaultBearerId; }; When trying to access the …
  • Member Avatar for pdk123
    pdk123

    Marked Solved Status for c++ static member

    I have a approximate following class class ClassA : public ClassB { void HandleMessages(const u8 *pP, const u16 nMsgBodyLen); static std::map<std::pair<u32, u32>, CreateSessInfo> m_mSessionId2CCRNum2DefaultBearerId; }; When trying to access the …
  • Member Avatar for pdk123
    pdk123

    Replied To a Post in c++ static member

    It was my mistake, just to reconfirm that now issue is solved, after defining the map in the .cpp file.
  • Member Avatar for pdk123
    pdk123

    Replied To a Post in c++ static member

    Thanks a lot Nathan and Phorce. This issue is solved now
  • Member Avatar for pdk123
    pdk123

    Stopped Watching c++ static member

    I have a approximate following class class ClassA : public ClassB { void HandleMessages(const u8 *pP, const u16 nMsgBodyLen); static std::map<std::pair<u32, u32>, CreateSessInfo> m_mSessionId2CCRNum2DefaultBearerId; }; When trying to access the …
  • Member Avatar for pdk123
    pdk123

    Began Watching c++ static member

    I have a approximate following class class ClassA : public ClassB { void HandleMessages(const u8 *pP, const u16 nMsgBodyLen); static std::map<std::pair<u32, u32>, CreateSessInfo> m_mSessionId2CCRNum2DefaultBearerId; }; When trying to access the …
  • Member Avatar for pdk123
    pdk123

    Created c++ static member

    I have a approximate following class class ClassA : public ClassB { void HandleMessages(const u8 *pP, const u16 nMsgBodyLen); static std::map<std::pair<u32, u32>, CreateSessInfo> m_mSessionId2CCRNum2DefaultBearerId; }; When trying to access the …
  • Member Avatar for pdk123
    pdk123

    Replied To a Post in help in finding the smallest list in a map of list based on priority

    Thanks a lot for the reply. Yes, i.e true. I found later, it is good to have "set" rather than "vector" for the list of users. Where i can add …
  • Member Avatar for pdk123
    pdk123

    Replied To a Post in help in finding the smallest list in a map of list based on priority

    Thanks a lot for the reply. Yes, i.e true. I found later, it is good to have "set" rather than "vector" for the list of users. Where i can add …
  • Member Avatar for pdk123
    pdk123

    Created help in finding the smallest list in a map of list based on priority

    Hello , I have map of the following type: typedef map < int, vectorofInts > , Now the map has finite size. Each user when he registers, he will be …
  • Member Avatar for pdk123
    pdk123

    Edited help in finding the smallest list in a map of list based on priority

    Hello , I have map of the following type: typedef map < int, vectorofInts > , Now the map has finite size. Each user when he registers, he will be …
  • Member Avatar for pdk123
    pdk123

    Created help in finding the smallest list in a map of list based on priority

    Hello , I have map of the following type: typedef map < int, vectorofInts > , Now the map has finite size. Each user when he registers, he will be …
  • Member Avatar for pdk123
    pdk123

    Edited stl map with the keys from the SN of the sliding window protocol

    Hi, In the legacy implementation, there is a Queue (which stored the PDUs) which need to be retransmitted. The queue has been implementated as stl map (c++). So the last …
  • Member Avatar for pdk123
    pdk123

    Created stl map with the keys from the SN of the sliding window protocol

    Hi, In the legacy implementation, there is a Queue (which stored the PDUs) which need to be retransmitted. The queue has been implementated as stl map (c++). So the last …

The End.