class Coordenada(){
int fila;
int columna;
//los getter and setter
}
int main(){
std::set<Coordena> coordenadaSet(Coordenada(4,6));
Coordenada coordenada(5,6);
if(coordendaSet.find(coordenada) != coordenadaSet.end()){...
This is a small wrapper for a system of binnacles; the used library is in C, so I have simply added an interface to std::stream :
#include <sstream>
#include <iostream>
class ILogger;
class Stream {
friend class ::ILogg...
Hello everyone, is that I try to solve a problem with minor and major fixes and make their difference but ... the program defines well the major element but not the minor so is the arrangement
2 5 3 7 12 9 8 5 4 10
Define the biggest on...
I wanted to know how you could create an array of objects with the vector class and also call the constructor method of each vector object (array).
What I have done so far is this:
#include<iostream>
#include<vector>
using names...
Borland use 5.02 for a college job ... and for some reason the program is not able to assign variable values in other variables to simple mathematical functions.
This is my code:
#include <stdio.h>
#include <conio.h>
main()
{...
I wanted to know how you could concatenate two fixes in C ++:
For example
a = {1,2,3,4,5}
b = {6,7,8,9,10}
c = a + b
//El resultado c = {1,2,3,4,5,6,7,8,9,10}
The program fails in case 4 and 5. I appreciate if you can help me and see what is wrong.
using namespace std;
#include <iostream>
#include <fstream> //guardar fichero
int main()
{
int cedula,opcion,Bcedula,edad,telefono,Ntel...
I only put the title of the pattern that I am using, but that is not a problem (maybe it seems to me to be a header problem) I also try to detail everything in my code with its respective compilation error. If someone has any idea to solve it, I...
Good morning,
I'm trying to create a library to generate excel files (.xls) in C, but I have no idea how to get sheets, here's the code:
#ifndef SACAEXCEL_H_
#define SACAEXCEL_H_
//cada celda ira separada por una '\t' de la siguiente y por...