Questions tagged as 'dev-c++'

0
answers

C ++ data sample

Thanks to my colleague Silvio Colman, I have been able to reorganize my exercise, and mount the project well now the part where if I have an error is in: Calculate the number of elements that are in a range within the orderly sample (for exam...
asked by 09.05.2017 / 07:21
0
answers

How to implement the following code to a structure?

The code I did, simply asks me for two words, then compares them and shows me in the order that goes. if(strcmp(palabra1,palabra2)>0){ printf("En Orden: \n"); printf("1- %s\n2- %s",palabra2,palabra1); } else{ printf("En Orden: \...
asked by 27.11.2016 / 19:30
1
answer

How to use in devc ++ the cout and cin?

I've just started programming at the university. I have tried with fstream.h, iostream.h and none allows the dev. And if you wonder if you keep the code as c ++     
asked by 26.06.2018 / 14:37
1
answer

Timer while the program is running in C ++ Using Threads? [closed]

I turn to StackOverflow, because I can not find explanatory material about the programming of Threads in C ++ . The fact is that I'm doing a game and I need to show the player a timer in a part of the screen as the user is playing, so he k...
asked by 14.06.2018 / 22:20
1
answer

Problem when counting data

My problem is this, I have to count the data of a text file that are separated by a line break. The problem is that when I run it, I get 0 data. I enclose the code that I wrote, I do not know where the error may be. #include "head.h" int m...
asked by 27.11.2017 / 22:29
1
answer

the .exe file stops working in c ++

I'm doing a blackjack in c ++, which when compiling it stops working the .exe file (blackjack.exe), I tried to change the main, the classes, everything but still does not work. I leave the program to see if that is the problem. class Carta{ pr...
asked by 10.10.2017 / 01:43