#include <iostream>
#include <string>
#include <locale.h>
#include <stdio.h>
using std::cout;
using std::cin;
using std::endl;
using std::string;
int main(){
setlocale(LC_ALL,"Portuguese");
int n =0;
cout...
I'm using the following code:
foreach ($lista_grupos as $key => $value) {
if(strpos($lista_grupos[$key],'Tecnologia_da_Informacao')===true){
$admin = true;
}else{
$admin = false;
}
}
But it always returns fals...
I have code below that pulls the images of the products of the magento shopping cart, however it is displaying duplicate, ie when it lists the images it displays twice the same image.
<?php
$items = Mage::getSingleton('checkout/session...
I have the following CSS:
.icon-a{
background:black;
color:white;
}
.icon-b{
backgroundwhite;
color:black;
}
.icon-c{
background:blue;
color:yellow;
}
I wanted a PHP script that could read the CSS file and re...
Good afternoon, I would like to know how to create a dynamic vector in C to store the following information:
Machine Status (On, Off, Broken) | state_time_status
to display on screen, as if it were a table.
Ex: linked | 120.000000 sec
...
Assuming I have an array like this:
array(10, 11, 12, 13, 14, 15)
I'm trying to make a way to get an array with the key-value pairs, but randomly without the pairs being equal. For example:
Valid
array(
10 => 14,
11 =&...
Well, I need some help to set up an array of bad here. I got a ready calendar (bootstrap calendar) and am trying to implement it on my site with Cakephp. All right with the layout but at the time of searching the information in the database he e...