Diff
checker
Texto
Texto
Imagens
Documentos
Excel
Pastas
Legal
Enterprise
Aplicativo para desktop
Preços
Fazer login
Baixar o Diffchecker Desktop
Comparar texto
Encontre a diferença entre dois arquivos de texto
Ferramentas
Histórico
Editor live
Ocultar espaços em branco
Recolher inalteradas
Sem quebra de linha
Layout
Dividido
Unificado
Nível de detalhe
Inteligente
Palavra
Caractere
Estilos de texto
Alterar aparência
Realce de sintaxe
Escolher sintaxe
Ignorar
Transformar texto
Ir à primeira mudança
Editar entrada
Diffchecker Desktop
A maneira mais segura de usar o Diffchecker. Obtenha o aplicativo Diffchecker Desktop: seus diffs nunca saem do seu computador!
Obter Desktop
Untitled diff
Criado
há 8 anos
O diff nunca expira
Limpar
Exportar
Compartilhar
Explicar
1 remoção
Linhas
Total
Removido
Caracteres
Total
Removido
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
35 linhas
Copiar tudo
1 adição
Linhas
Total
Adicionado
Caracteres
Total
Adicionado
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
35 linhas
Copiar tudo
#include <string.h>
#include <string.h>
#include <stdio.h>
#include <stdio.h>
#include <switch.h>
#include <switch.h>
int main(int argc, char **argv)
int main(int argc, char **argv)
{
{
gfxInitDefault();
gfxInitDefault();
//Initialize console. Using NULL as the second argument tells the console library to use the internal console structure as current one.
//Initialize console. Using NULL as the second argument tells the console library to use the internal console structure as current one.
consoleInit(NULL);
consoleInit(NULL);
//Move the cursor to row 16 and column 20 and then prints "Hello World!"
//Move the cursor to row 16 and column 20 and then prints "Hello World!"
//To move the cursor you have to print "\x1b[r;cH", where r and c are respectively
//To move the cursor you have to print "\x1b[r;cH", where r and c are respectively
//the row and column where you want your cursor to move
//the row and column where you want your cursor to move
Copiar
Copiado
Copiar
Copiado
printf("\x1b[16;
20HHello World!
");
printf("\x1b[16;
20HFuck you.
");
while(appletMainLoop())
while(appletMainLoop())
{
{
//Scan all the inputs. This should be done once for each frame
//Scan all the inputs. This should be done once for each frame
hidScanInput();
hidScanInput();
//hidKeysDown returns information about which buttons have been just pressed (and they weren't in the previous frame)
//hidKeysDown returns information about which buttons have been just pressed (and they weren't in the previous frame)
u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO);
u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO);
if (kDown & KEY_PLUS) break; // break in order to return to hbmenu
if (kDown & KEY_PLUS) break; // break in order to return to hbmenu
gfxFlushBuffers();
gfxFlushBuffers();
gfxSwapBuffers();
gfxSwapBuffers();
gfxWaitForVsync();
gfxWaitForVsync();
}
}
gfxExit();
gfxExit();
return 0;
return 0;
}
}
Diferenças salvas
Texto original
Abrir arquivo
#include <string.h> #include <stdio.h> #include <switch.h> int main(int argc, char **argv) { gfxInitDefault(); //Initialize console. Using NULL as the second argument tells the console library to use the internal console structure as current one. consoleInit(NULL); //Move the cursor to row 16 and column 20 and then prints "Hello World!" //To move the cursor you have to print "\x1b[r;cH", where r and c are respectively //the row and column where you want your cursor to move printf("\x1b[16;20HHello World!"); while(appletMainLoop()) { //Scan all the inputs. This should be done once for each frame hidScanInput(); //hidKeysDown returns information about which buttons have been just pressed (and they weren't in the previous frame) u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO); if (kDown & KEY_PLUS) break; // break in order to return to hbmenu gfxFlushBuffers(); gfxSwapBuffers(); gfxWaitForVsync(); } gfxExit(); return 0; }
Texto alterado
Abrir arquivo
#include <string.h> #include <stdio.h> #include <switch.h> int main(int argc, char **argv) { gfxInitDefault(); //Initialize console. Using NULL as the second argument tells the console library to use the internal console structure as current one. consoleInit(NULL); //Move the cursor to row 16 and column 20 and then prints "Hello World!" //To move the cursor you have to print "\x1b[r;cH", where r and c are respectively //the row and column where you want your cursor to move printf("\x1b[16;20HFuck you."); while(appletMainLoop()) { //Scan all the inputs. This should be done once for each frame hidScanInput(); //hidKeysDown returns information about which buttons have been just pressed (and they weren't in the previous frame) u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO); if (kDown & KEY_PLUS) break; // break in order to return to hbmenu gfxFlushBuffers(); gfxSwapBuffers(); gfxWaitForVsync(); } gfxExit(); return 0; }
Encontrar Diferença