
please wait
by jjordan33
Recursive help
|
Hi, I'm not understanding why my recursive function returns False. bool timer(int attack, int calm, int worker){ //2, 3, 9 goes in if (wo... |
Jul 20, 2019 at 11:10pm
[6 replies] Last: ...descriptive names...I read that somewhere.... (by Niccolo)
|
by bsr
openCV C++
|
Hello, I've just started to learn opencv, so I used code that I found github but I have problem these lines. the program output is undeclared identifier. ... |
Jul 20, 2019 at 7:26pm
[8 replies] Last: no read the documentation that corresponds to your version (what I sai... (by ne555)
|
by kmce
return false, return true
|
Hi, I was trying to do an exercise but couldn't figure it out so had to find the solution online, the solution though contains a part that is slightly confusing... |
Jul 20, 2019 at 6:15pm
[2 replies] Last: Thank you, you helped a lot. For some reason when I was following how ... (by kmce)
|
by kmce
Not returning to main function, after running a different function
|
Hi, I have created a rock, paper, scissors game which is an exercise in the book I am going through. It is partially running ok, but im having an issue with the... |
Jul 20, 2019 at 4:41pm
[6 replies] Last: in my for loop in the main function i wanted it to only run the same... (by kmce)
|
Trouble with Class + sorting |
Hello, I'm working on an assignment involving reading an input file, sorting the data, and outputting the data all while using topics such as struct, class, ... |
Jul 20, 2019 at 3:46pm
[8 replies] Last: It's always good to start a program like this by just reading the inpu... (by dhayden)
|
by KindEquation
Reading values from 2 text files into array (or vector)
|
I have two text files: 17204 600 0 0 0 0 0 0 0 16530 600 0 0 0 0 0 0 0 28121 600 0 0 0 0 0 0 0 94199 600 0 885 168 0 0 10 1063 217147 7500 0 10521 1854 0... |
Jul 20, 2019 at 3:34pm
[10 replies] Last: Looking at code all day and it was in front of my face! Thank you @dha... (by KindEquation)
|
by Xanadu4ever
FLTK or not to FLTK... that is the question
|
Ok various other C++ support personnel, Getting into GUI programming and was advised that there are tons of GUI libraries..... one I have been made aware of ... |
Jul 20, 2019 at 3:23pm
[11 replies] Last: Niccolo & everyone who gives a crap (LOL)… Found the answer...… i... (by Xanadu4ever)
|
Help on project please :) |
This is the code I have to debug, and I can't figure out what is wrong with it. // debug_lab7.cpp // Lab 7 original source // debugged by ????????? Your na... |
Jul 20, 2019 at 4:19am
[6 replies] Last: all your other loops are 0-4 (0,1,2,3,4) 5 total items, < 5. one of t... (by jonnin)
|
by saturnz
Calling a function- primary expression?
|
I'm working on a simple program that will calculate a total number of days depending on the number of days and weeks the user enters. When I call my function in... |
Jul 20, 2019 at 12:59am
[2 replies] Last: ah, I see. Thanks! (by saturnz)
|
Sort int subvectors from low to high |
subsetSortedStringnumbers2 is a 2D vector containing rows of ints. I want to sort the ints in each subvector of subsetSortedStringnumbers2 from low to high. The... |
Jul 19, 2019 at 9:09pm
[1 reply] : To sort each "row" of a "table"; #include <iostream> #include <vector... (by keskiverto)
|
by Horror
Combining two programs into one (1,2)
|
I'm trying combine these two programs into one, but I'm having trouble doing so. I always keep getting errors whenever I combine them as a void function. If any... |
Jul 19, 2019 at 11:17am
[23 replies] Last: Generally speaking, it's not a good idea to take a source file and jus... (by MikeyBoy)
|
by jefazo92
Allowing user to open and select file to read using datastreams
|
Hi everyone, I am trying to code a program which will allow the user to read a .csv (or another text file) but the user must be able to choose the file to be... |
Jul 19, 2019 at 10:42am
[2 replies] Last: I am using Qt and I will be coding a GUI to link the widgets onto the... (by MikeyBoy)
|
by jefazo92
Reading and storing .csv values using data streams
|
Hi everyone, I'm trying to code a program which requires opening and reading a .csv file using datastreams and storing the words in a string array. The thing i... |
Jul 19, 2019 at 5:29am
[6 replies] Last: Ok, the OP has signed off that this is done, and the thread is officia... (by Niccolo)
|
by msulli1355
incompatible types in assignment of ‘Enemy*’ to ‘Enemy* [0]
|
Yes, I'm back again with the same project I'm always asking questions about. I'm on Linux, and my issue this time is michael@caitlyn current-ourrpg $ make g+... |
Jul 18, 2019 at 9:05pm
[19 replies] Last: myEnemy is simply meant as a shortened pointer to the enemies array ... (by Repeater)
|
by adam2016
sringstream never hitting eof()
|
Hi guys, I'm following Bjarnes book practices and principles chapter 11 page 400, here we are creating a punct stream which basically parses a sentence to elim... |
Jul 18, 2019 at 8:15pm
[2 replies] Last: thanks Ganado that is much more concise believe it or not Bjarne Stou... (by adam2016)
|
by JohnGreen
Size of char
|
Hi :) Is is true that char has a different size depending on computer? If yes, could you say, why? (sry for bad eng, i'm not native English) |
Jul 18, 2019 at 1:35pm
[2 replies] Last: In the event that you are on some very unique hardware*, you can use C... (by Ganado)
|
by shekharsa
Programming practices and learning
|
Hey fellow programmers! I am a beginner in competetive programming.I know basics of programming and a few brute force approaches to solve the problems.Eventuall... |
Jul 18, 2019 at 1:09pm
[2 replies] Last: http://acm.cs.buap.mx/downloads/Programming_Challenges.pdf quite old, ... (by ne555)
|
by PhysicsIsFun
Treatment of NaN
|
Hi guys, suppose I have a division between double variables somewhere in my code. If this division leads to an overflow, the result will be stored as "NaN",... |
Jul 18, 2019 at 7:12am
[5 replies] Last: I would suggest to use std::isnormal(...) with an assert since all not... (by coder777)
|
by zarrar12
Need help with AVR 8 Bit timer
|
Hi guys, I have written a code for led blink and using a 8 bit timer of micro controller to produce a delay of 1.6384 sec. But as I upload the code to ATmega256... |
Jul 18, 2019 at 5:45am
[1 reply] : Have you read this? https://www.microchip.com/wwwAppNotes/AppNotes.asp... (by salem c)
|
by jonathon378
Help on program to find days in month with leap years
|
Hello! So I have a code here which determines whether a year is a leap year or not: #include <iostream> using namespace std; bool isLeapYear(int year); in... |
Jul 18, 2019 at 3:06am
[3 replies] Last: Edit: Solved, thanks for help. (by jonathon378)
|