GoConqr has a new look! Let us know what you think.

Mind map

Linguagem C

cleversonkleber Portuguese

Map content

Linguagem C

  1. Arquivos

    • Ponteiro para arquivo
      • FILE *file;
        • è necessário criar um ponteiro para um arquivo 
    • Comandos
      • if(file==NULL){                printf("Arquivo não pode ser aberto");        }else{        file = fopen("Aruivo.txt", "r");
      • comando: fopen("arq.txt","w")
        • O comando fopen abre cria um novo arquivo para leitura escrita etc.... 
      • fprintf(file,"Cleverson Cordeiro");
        • Comando utilizado para escrever em um arquivo 
      • fclose(file);
        • Comando utilizado para fechar m arquivo. 
      • fscanf(file,"%i");
        • O comando fscanf le o arquivo formatado utilizado variáveis.
      • fgets(frase,100,file);
        • esse comando retorna a quantidade de strings armazenadas em um arquivo. while(fgets(frase,100,file)!=NULL){ prinf("%s", frase); }
      • fputs();

Information

Description
Mind Map on Linguagem C, created by cleversonkleber on 21/06/2016.
Created by
cleversonkleber
Views
7
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?