Questions tagged as 'estructuras'

0
answers

Would my PHP structure be fine, or would it cause possible errors in the future? [closed]

I've been learning php for a while, and I've considered creating a more serious project. I'm still making prototypes of structuring the project, and for the moment, of all the ones I've done, it's based on this. Now that you have seen w...
asked by 03.01.2019 / 00:53
1
answer

Animation and functionality (html structure) expand and counter specific boxes inside a container

Good, I'm working on a model, I have some idea of how to proceed but complicate me in doing so. First, it is a structure of boxes (divs) inside a container, organized to the grid, by clicking on 1 of them, it must expand and the 2 that are in th...
asked by 22.09.2017 / 22:18
2
answers

Declare type of data structure

#include <stdio.h> #include <stdlib.h> #include <conio.h> struct estudiante { int ced; int aniocarrera; char grupo; }; estudiante e; //<-error: unknown type name 'estudiante' int I; void ingresar(estudiante* e) {...
asked by 01.09.2017 / 22:47
1
answer

C ++ Initialization of an arrangement of structures

this is my code: struct objeto { string etiqueta; string tipo; string descripcion; int codigo; int cantidad; bool existe; } articulo[21]= //Obviamente todos tendran datos diferentes { articulo[0]={"Atlas Humano","Li...
asked by 18.02.2017 / 23:32
1
answer

error: ISO C ++ forbids comparison between pointer and integer [-fpermissive]

// Liberías #include <stdio.h> #include <stdlib.h> //Tengo el siguiente struct para nuevo1 struct proveedores { int Codigo; char Nombre [20]; char Razon_Social [30]; int Numero_Rut; int Direccion_Postal;...
asked by 02.10.2017 / 00:42
1
answer

Can you define the name of a structure with a variable?

The question is as follows (keep in mind that I am just learning C): Suppose I define a structure similar to this one struct Alumnos{ char asignatura[25]; int nota; }; and I want the user to enter a last name, save it in a vari...
asked by 28.01.2018 / 22:57
2
answers

Problem when printing variables in structure

In case 2 I try to print the variables, but it shows me wrong values I tried to do it in a function and the same thing happened, with pointers and neither did the program in the enter function does everything right try to print from it and It sh...
asked by 25.10.2018 / 22:53
2
answers

Problem with structures

The program consists of entering two dates and analyzing which is larger. The problem is that the second date always comes out higher (Exactly happens in the first else if ) #include<iostream> using namespace std; typedef struct {...
asked by 27.01.2018 / 20:03
1
answer

access Instances stored in an object in sub layers

I have a very small problem: declare a Main class with property in the following way, so that it loads the files require_once dynamically, depending on the classes that it has stored in some folders, and it works correctly, also it is in char...
asked by 24.10.2017 / 23:18
1
answer

Release memory from the node of a TRIE in C

I am with a problem for a project that I am doing in the subject Organization of Computers. In the program I have to create a TRIE structure that reads words from a file and counts the number of occurrences of each word. The TRIE nodes have an o...
asked by 05.10.2017 / 19:10