This is a suggestion of how you should develop with the C++ language.
Style Guides are about consitency for the code and often more important in a project.
This file contains hidden or 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
$spinTime: 60s | |
.spinner-clock | |
position: relative: | |
width: 22px | |
height: 22px | |
border-radius: 50% | |
border: 2px solid $color-secondary | |
&:after | |
content: "" |
This file contains hidden or 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
'use strict'; | |
// Include Gulp & Tools We'll Use | |
var gulp = require('gulp'); | |
var concat = require('gulp-concat'); | |
var $ = require('gulp-load-plugins')(); | |
var del = require('del'); | |
var runSequence = require('run-sequence'); | |
var browserSync = require('browser-sync'); | |
var pagespeed = require('psi'); |
This file contains hidden or 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 <iostream> | |
#include <cmath> | |
using namespace std; | |
class Random { | |
private: | |
int seed; |
This file contains hidden or 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 <iostream> | |
#include <cmath> | |
using namespace std; | |
class Random { | |
private: | |
int seed; |
This file contains hidden or 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
var P0x = 230; | |
var P0y = 50; | |
var P1x = 350; | |
var P1y = 150; | |
var px = P0x + t*(P1x - P0x) | |
var py = P0y + t*(P1y - P0y) | |
ctx.beginPath(); // inicia o desenho | |
ctx.rect(px,py , 20,20); // 20 20 é o tamanho do quadrado |
NewerOlder