org-arl / unet-blog

Unet project blog
http://blog.unetstack.net
MIT License
1 stars 2 forks source link

Updated blog with C code for updating node location #63

Closed prasadtiru closed 3 years ago

prasadtiru commented 3 years ago

The blog is updated with C code.

notthetup commented 3 years ago

Can we implement a floattostring for the example

It's basically something like this right?

#define BUF_SIZE 12
char buf[BUF_SIZE] = {0}
snprintf("%f",BUF_SIZE,val)
prasadtiru commented 3 years ago

Can we implement a floattostring for the example

It's basically something like this right?

#define BUF_SIZE 12
char buf[BUF_SIZE] = {0}
snprintf("%f",BUF_SIZE,val)

Yes. I added it now in the updated blog.