Questions tagged as 'dev-c++'

1
answer

Animation in C, with Graphics.h

I'm doing a task animation, based on images with putpixel, I use setvisualpage, and setactivepage for the blinking it has when it comes to displaying and removing an image. The fact is that now I want the animation to move faster, will there be...
asked by 30.11.2017 / 05:48
1
answer

Save a variable a first and last name that the user enters

I need to make a program in which the user enters their full name, their age, and print on the screen:    "Lord" name "your age is" age I'm learning string of characters, but I'm not sure how to use them. C ++ Code: #include <io...
asked by 22.11.2016 / 17:12
1
answer

C ++ inheritance problem

was creating a program through inheritance. In the program I have a base class called FiguraGeometrica and from it Polygon is derived, from which Rectangle and Triangle are derived. Then there is the CollectionFiguras class, which has an array o...
asked by 09.10.2018 / 02:52
2
answers

Structure with pointers that "searches" for a preset stored data

Good morning. I have a problem with a code that I am doing for a project in c ++, which I need to search in a structure, in which I use pointers, a specific data. In this case it is the name of a metro or train station. I have tried several thin...
asked by 19.02.2017 / 21:02
1
answer

Is it possible from a console application in dev c ++ to create an excel file and enter data?

It is possible that in a console application from dev c ++ you can create an excel file with data entered from there, and if possible how it could be done? I understand that you can create txt files and enter data from c ++, which I have already...
asked by 19.01.2018 / 21:38
1
answer

Error in conditional char in C language

I have a problem when trying to perform a conditional with a string, what I try is to ask the city first and depending on what the user writes, I do the conditional code, but it does not work, it takes me directly to else #include "stdi...
asked by 24.11.2017 / 01:35
1
answer

how to read a comma delimited file in C ++

My question is this, I have an integer text file which I need to get every complete number that is separated by commas. I know that with spaces the compiler knows that they are different things, but how can I do it if they are commas?     
asked by 05.11.2017 / 03:38
1
answer

I get an error in the c ++ class constructor

#include <windows.h> #include <stdio.h> namespace textTDengine{ typedef const char* spr; enum direction{up,down,left,right}; struct vector2{ float x; float y; vector2(float x,float y){ this->x = x; thi...
asked by 30.05.2017 / 02:56
2
answers

Search / verify if a word (string) is infinitive

Good morning. My problem is this: I want to implement a program in c ++ that when entering a word, that is, a string, tell me if it is infinitive or not. The program has to be repeated as many times as the user wants (that is, with a while). Whe...
asked by 29.03.2017 / 01:38
1
answer

Dev-C ++ can not find the compiler file

Using Dev c ++, everything had been fine and I had never had any problems so far. But recently I find myself with the following error:    C: \ Users \ Documents \ g ++. exe [Error] CreateProcess: No such file or directory What's wrong? an...
asked by 18.02.2017 / 06:34