I'm an Android developer, but now I'm going to start developing for IOS as well.
Is it functional to program iOS into a virtual machine? Or do I have to buy a Mac myself?
I was doing select on a table.
I went to see the result, returned false. Then I used query and it worked.
What's the difference between the two?
<?php
$query = DB::getConn()->prepare('select * from tabela where id...
I'm reading about classes in C #, and an excerpt left me a bit confused.
I know that classes are C # objects, and can be used in many ways.
My question is in the following sentence:
"A class can have both the attributes and methods of a...
I'm doing an Android game with a java engine where it has a Timer that stays all the time running during the Game ... This timer is a millisecond counter and is added in a long.
In the end I need to convert this long to a format in hours and...
I was seeing how the FileInfo class works and I came across an enum:
[Serializable]
[ComVisible(true)]
[Flags]
public enum FileAttributes
{
ReadOnly = 1,
Hidden = 2,
System = 4,
Directory = 16,
Archive = 32,
Devi...
I was studying Java Handling Exceptions and this question came to me that I could not find on Google.
Why in this example did he print the first line of printStackTrace, and already gave println, and then the rest of printStackTrace?
...
It is common to hear that it is important to keep the code indented, which is not a difficult task with the help of an IDE.
Excluding languages that require indentation, such as Python, why is it important to keep the indented code? Is it jus...
I was reading a code, like this:
/**
* PHPMailer - PHP email creation and transport class
* NOTE: Requires PHP version 5 or later
* @package PHPMailer
* @author Andy Prevost
* @author Marcus Bointon
* @author Jim Jagielski
* @copyright...
I saw in a video that the guy takes the query and plays it right in the foreach and can list without any problem, my question is this: if it really is possible, using only the foreach would be much more practical than using while with fetch_arra...
Why is this code always displaying the same random number results as a given?
// Figura 6.9: fig06_09.cpp
// Lança um dado de seis lados 6.000.000 de vezes.
#include <iostream>
using std::cout;
using std::endl;
#include <iomanip>...