🏳️🌈
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
int main(){ | |
char tempo[7], comando[24] = {"shutdown -r -t "}; | |
printf("\nInforme o tempo para reiniciar seu computador em segundos :"); | |
scanf("%s",tempo); //strings não precisam de '&' no scanf. | |
strcat(comando, tempo); | |
printf("\nO tempo determinado para reiniciar o pc sera de %s segundo(s).\n",tempo); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 4.4.9 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: 127.0.0.1 | |
-- Generation Time: 09-Jun-2015 às 15:46 | |
-- Versão do servidor: 5.6.16 | |
-- PHP Version: 5.5.9 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Banco de Dados Academico | |
-- version 1.0 | |
-- Autor: Rodrigo | |
-- Site: Github.com/rodrigo54 | |
-- -------------------------------------------------------- | |
-- Database: 'Escola' | |
-- Crie o Banco com o seguinte comando | |
-- CREATE Database escola DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; | |
-- -------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function qntprovas(tam) { | |
var tam, i, x; | |
//aki d recebe a div onde ficara os input's | |
var d = document.getElementById("provas"); | |
//aki um texto é exibido na div#qnt com a quantidade selecionada no input | |
document.querySelector('#qnt').innerHTML = tam + " provas"; | |
//aki todos os elementos dentro da div são removidos | |
while (d.firstChild) { | |
d.removeChild(d.firstChild); | |
} |
NewerOlder