hostmit
map partially... struct is good to go :)
Dima
Ибраги́м
I've got some
hostmit
well, as of my experience, it's better to stick with what has full implement state while working with Arduino.
Ибраги́м
Ибраги́м
Unless I can't do a #include <mylib>, then i will be frustrated
hostmit
hostmit
this approach works. nice.
Bader
Dima
a cream one
Ибраги́м
#include <string>
using std::string;
Dima
std::string
Bader
Bader
I think you would do something like std::string buckysClass::getName() { // return name }
Ибраги́м
Bader
state the type that you're returning, then the class, then the method you're trying to init from that class
Bader
lol why did it do that with state, i didn't type the ` xD
Bader
do any esp or arduino groups even exist?
Bader
might have to make one, even though I'm completely noob at it
Bader
great 👍 always good to branch off
Bader
you gonna learn it way better : )
Bader
well, it's just that you will call a bunch of things you don't necessarily want. All the objects, methods, and other junk in std will be compiled into your program if you use using namespace std
Bader
however, if you just call what you need like std::string or std::cout, you are only including what you need
Bader
yeah that's what I do, others can clarify more.
Anonymous
has using namespace anything to do with the compilation?
Anonymous
i guess the not necessary stuff won't be compiled either way, std's template mostly
Bader
i think so. you can also do using std::cout for example if yo plan on using cout a lot
Anonymous
i think the only difference may be when any other identifier is the same as one of std's members
Anonymous
Alignant
using namespacde std, guys?
☮️
/notes
Marie
/notes
Notes in chat:
- cpp
- cppbook
- goodgoogling
- googleit
- ide
- learn
- meta
- noendl
- offtopic
- ot
- projects
☮️
#cppbook
Marie
#cppbook
https://t.me/programminginc/49901
☮️
#cpp
Marie
#cpp
https://t.me/programminginc/24103
Anonymous
hostmit
#ide
Marie
#ide
https://t.me/programminginc/12395
hostmit
#noendl
Marie
#noendl
https://m.youtube.com/watch?v=6WeEMlmrfOI
https://m.youtube.com/watch?v=GMqQOEZYVJQ
hostmit
Ha. What's your IDE of choice? VIM :))))
hostmit
#learn
Marie
hostmit
#projects
Marie
#projects
1. Go to github.com
2. Tap on search.
3. Use advanced search.
4. Go to Advanced Search.
5. Select user's working language.
6. Press the search button.
7. Hover through the repositories and select one of them.
8. Fork it.
9. Do what you want to do.
10. Make a pull request so that the "original owner" can look at the changes and merge them if he feels the need to.
NK
guyz why am i getting error for this program????
NK
can anyone help me
NK
[Error] arpa/inet.h: No such file or directory this is the error
hostmit
u need an arpa/inet.h lib, it's obviously
hostmit
not code error. compliation error
NK
where to find help me
hostmit
linux/windows? what sys Are u compiling on?
NK
windows
NK
dev c++
NK
anyone help me??????
hostmit
arent u need Winsock2.h?
hostmit
on windows?
hostmit
do #include <winsock2.h>
hostmit
or is it Winsock2.h?
hostmit
instead of arpa/inet.h
NK
i used ir but its not running
hostmit
I give up on u
NK
anyway thnx dude
Rupesh
Txt file send kro
Rupesh
Ya .c extension file bhejo
Mat
Marie
Mat
You miss a header
Mat
If it's from your code, google how to link personal headers, and if it's not, google how to link that header in your project
hostmit
see? i was the way more kind :)
BinaryByter
Zeneural is an installed header only library
BinaryByter
Simply include zeneural.hpp
NK
BinaryByter
Marie