Posts by ALFAEX • 333 points
7 posts
-
-2
votes1
answer34
viewsQ: Doubts about strings
I have a proposal to print on a theater ticket, date, time, part name (to be typed and read by scanf) and customer’s armchair number, // declaração da variável. char PecaTeatral[255]; // pulando…
-
0
votes1
answer425
viewsQ: Java help with the concept of how to relate classes
package br.edu.utfpr.exer05; public class Porta { boolean aberta; String cor; double dimensaoX, dimensaoY, dimensaoZ; void abre() { this.aberta = true; } void fecha() { this.aberta = false; } void…
-
1
votes1
answer164
viewsQ: Script that erases files by Spellnumber
I wanted to delete several types of extensions, but I don’t know how to increment if in batch, someone could help me and teach me how to increment if in the code below: @echo off cd…
-
1
votes2
answers276
views -
14
votes5
answers13398
views -
0
votes1
answer936
viewsQ: Dynamic allocation with struct
/* [Error] expected primary-expression before'*' token [Error] 'dia' was not declared in this scope [Error] 'mes' was not declared in this scope [Error] 'ano' was not declared in this scope */ This…
-
4
votes1
answer7212
viewsQ: Pass Array as a function parameter
Make a program in C that reads a value x, dynamically create a vector of x elements and pass this vector to a function that will read the elements of this vector. Then, in the main program, the…