Questions tagged as 'dev-c++'

2
answers

Sequential Securities Program

I must write a program that displays values sequentially according to the input value, use a variable to store the value entered. An example of what the program should do Input Data: Enter a value. 8 Output data: 8.1, 8.12, 8.123, 8.1234, 8...
asked by 13.09.2018 / 05:51
0
answers

How to make a console application always active in c ++?

I'm doing a "process killer" and I do not know how to do that when pressing a key (F9 in this case) the code is executed even if it is minimized. #include <iostream> #include "conio.h" #include "kill.h" using namespace s...
asked by 06.05.2017 / 07:58
1
answer

Problem in basic C [closed]

I am learning to program in C and they left us a job to do, but when I want to compile I get an error and as far as I know, I still do not know what the error is. Thanks in advance and sorry if it's a very stupid question, I'm still learning.  e...
asked by 05.02.2017 / 17:11
2
answers

Segmentation fault C in Dev C ++

I wanted to know if someone could help me with this error in my code. I do not understand why it does not continue after the accountant takes the value of 10. This is my code: #include<stdio.h> #include<windows.h> int main() {...
asked by 18.04.2016 / 00:59
3
answers

Validate a type of data when reading it in C

I would like to know the best and most efficient way to read a type of data and if you type anything else that does not pass from there, until you type the type of data that I am asking for. Example: int numero; printf("Digite un numero: ")...
asked by 08.05.2018 / 03:12
1
answer

Dev c ++ does not give the correct result

Afternoons or Nights I have a problem in doing this problem in Dev c ++ that when I run the program it throws an illogical result and I do not know why this error is due I would appreciate a response from you. Thanks     
asked by 13.10.2018 / 21:28
1
answer

Error- no matching function for call to 'getline (std :: ifstream &, int &, std :: string &)' (dev c ++)

I'm with the question of making a phone book. I miss the error that I put in the title, in the line "getline (data, number, name);" (by the way, it is almost at the end indicated with a comment) and I do not know what is due. /*programa para c...
asked by 17.06.2018 / 22:13
1
answer

Dev dairy program c ++

I am doing a practice in which a milk salesman should know the profit he had from selling his liters of milk, but he is paid per gallon. The program is being developed by DEV C ++ #include <iostream> using namespace std; int main ()...
asked by 09.08.2018 / 06:22
0
answers

How to sort the data of a file in C

I would like to know how I could order the data entered by the user in alphabetical order and then show them on the screen. This is my code: #include<stdio.h> #include<stdlib.h> #include<string.h> #define MAX 100 //Contiene...
asked by 02.12.2018 / 08:30
0
answers

Help about undefined reference error

I need help because when declaring this function void registroDeAlumnos(); And when using that function in a switch case 1: registroDeAlumnos(); break; Compiling gives me the indefinite reference error to alumnum ();    ...
asked by 05.11.2018 / 22:50