Tp-link iphone internet issue

For those having trouble getting your iphone connecting to your tp-link try this fix. This is only if you can connect to the wifi but you’re having trouble going on the internet. The problem seems to be with tp-link router where the iphone mac address is not being registered properly. So to get it to…

unity building assets + menuitems

While lookng at the api for Unity I found this nifty api that allows you to create your custom MenuItem in the Unity Interface. You will need to decorate your script method with the menuitem as such defined in the api. Here is an example of its implementation in .cs: Here is the code for…

Enums and struct on c#

Interesting that c# has structs, the first time i encountered it was in c++ In this example I will be messing about with the enum, defining directions with Int as values. I am still getting around the enums. I have seen its use in different languages but not really used it. I’ve setup the following…

function pointers

I have been using the javascript to call a function via the attributes like so: This is dooable on cpp too using function pointers, which of course would be more efficient as you wouldn’t need to copy the function over to be called within the other function. Here is the code

Class pointers for c++

Messing about with c++ class pointers I noticed that there are two ways of accessing the class pointer. Using arrow operator or the *dereference. Here is the class and header :

pybind11 cmake and more

for the past few days I’ve re-looked at the c++ project I’ve been working on since January. After failing to build a stepper module from scratch, I’m reverting back to using a mix of cpp and python. I am going to use the pybind11 wrapper to build the relevant py module file so that I…

for loop and pointers c++

I’ve been messing about with the for loop on c++ and its quite interesting that a copy is created for the for loop rather than editing the existing values of an array. Here is my final code example:

2020.05.17 – First post

First post ok so I am working on a c++ implementation at the moment for python. I\’ll be using pybind11 to wrap my c++ code for a python module. To do this I had to install vcpkg and run an installation for x64-windows triplet. I had to setup the following additional variables in my cmake…