Questions tagged [c++]
All questions related to the use of C++ within the EOSIO framework
4
questions
0
votes
2
answers
1k
views
Convert string to float or double
I am trying to convert a string to a float or double, however none of the standard C/C++ methods seem to work. I have tried:
atof
strtof
strtod
sscanf
In each case, I get an error message when ...
0
votes
2
answers
2k
views
Transfer EOS tokens inside a smart contract from an account to another
I want to implement, in my smart contract(C++), a function that forwards EOS token to another account. This is actually a basic question, but is that possible actually? Please, could you share the ...
9
votes
2
answers
640
views
Which version of C++ can I use in smart contracts?
Which version of C++ can I use to implement smart contracts?
For example: C++11, C++14 or C++17? Do we have any constant or doc where it is defined?
Also, in my understanding the code is sandboxed, ...
1
vote
1
answer
454
views
Transfer tokens inside a smart contract from an account to another account
I need to write a simple function that would send tokens using a different account action. Exactly the same situation as in these questions: one and two
But I have to use not eosio.token contract but ...