Posts by MacYoshi • 301 points
6 posts
-
1
votes1
answer185
views -
1
votes2
answers4575
views -
3
votes1
answer5798
viewsQ: Insert into table if not available
How to insert data into a table only if it does not exist? the following attempt returns an error, the basic idea is to insert a mode record unique,if already existing ignore, otherwise enter the…
-
3
votes1
answer266
viewsQ: Sublime Text 3 - Headers autocomplete in the directory
After the failure to search for a plugin in sublime text 3, I come to ask for help. I need to recognize the libs installed on the system, for this I look for a plugin capable of providing an…
-
4
votes1
answer3427
viewsQ: Statement const at the end of function in C++ and const before argument in method
I came across this piece of code in a material: class Foo { public: int Bar(int arg1) const //<-- qual função do const aqui? { // código a ser implementado aqui } }; [1] Like the const affects…
-
7
votes1
answer711
viewsQ: How does the class constructor statement in Qt work?
I work with C and a little bit of Assembly, in Atmel AVR microcontrollers. I’m trying to understand how the framework Qt extends C++. I created a new project with Qt Creator (Widgets), and generated…