I am trying to run this program in CodeBlocks with Ubuntu operating system. The compiler is GNU GCC Compiler
#include <iostream>
#include <ncurses.h>
using namespace std;
int main()
{
cout << "ingrese letra" << e...
I am working with xml files, using the QT Liberia. The problem that presents itself to me is as follows: I do not know how to read the attributes of xml tags using QXmlStreamReader.
For example I have the following file:
<?xml version="1...
I have the following code that compiles perfect, but when executing and printing the tree, it is empty.
void arbol::ArbolBusqI(string x, pnodo& nuevo)
{
pnodo ptr = nuevo;
for (;;)
{
if (ptr == NULL)
{...
I have problems making use of OGRE overlays:
playState.h :
#include <OgreOverlaySystem.h>
#include <OgreOverlayElement.h>
#include <OgreOverlayManager.h>
#include <OgreFontManager.h>
#include <Og...
Good morning, I'm very new in the programming environment and I'm doing some test programs.
I'm using c ++ in codeblocks and mysql connector. This is a segment of the code. What I want to do is send the value of the variable "t" that increase...
There is an exercise that I tried to do and that does not compile me, despite correcting several foolish failures, but the issue is that it fails due to (I think) errors in the approach.
this is the statement:
Develop the template metho...
A function that looks for a number that the user enters on the screen, what happens is that the compiler gives me an error that I do not understand:
#include<iostream>
#include<string.h>
#include<vector>
using namespace std;...
I have made the following code and when I try to compile it I skip the error "hide.cpp :(. text + 0x5f): reference to 'operator delete' without defining" I would like to know how to solve it.
Code (C ++):
#pragma warning(disable: 4996)
#in...
The messages are:
línea 51: 'malloc' undeclared (first use in this function) .% ... línea 99: 'free' undeclared (first use in this function) .% ... línea 111: 'free' undeclared (first use in this functi...
I am studying videogame development using C ++.
For my project, I plan to create a mini-game FPS with weapons.
I post here in order to help me a little to think about what the classes in charge of managing the inventory would be like.
I would...