[try Beta version]
Not logged in

Beginners - July 2019 (Page 4)

Recursive help
 
Hi, I'm not understanding why my recursive function returns False. bool timer(int attack,...
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 thes...
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, th...
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....
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 output...
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)
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 ...
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)
FLTK or not to FLTK... that is the question
 
Ok various other C++ support personnel, Getting into GUI programming and was advised that there a...
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.cp...
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)
Calling a function- primary expression?
 
I'm working on a simple program that will calculate a total number of days depending on the number o...
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 s...
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 getti...
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)
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 t...
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)
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 data...
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)
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 i...
Jul 18, 2019 at 9:05pm
[19 replies] Last: myEnemy is simply meant as a shortened pointer to the enemies array ... (by Repeater)
sringstream never hitting eof()
 
Hi guys, I'm following Bjarnes book practices and principles chapter 11 page 400, here we are creat...
Jul 18, 2019 at 8:15pm
[2 replies] Last: thanks Ganado that is much more concise believe it or not Bjarne Stou... (by adam2016)
Size of char
 
Hi :) Is is true that char has a different size depending on computer? If yes, could you say, why? ...
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)
Programming practices and learning
 
Hey fellow programmers! I am a beginner in competetive programming.I know basics of programming and ...
Jul 18, 2019 at 1:09pm
[2 replies] Last: http://acm.cs.buap.mx/downloads/Programming_Challenges.pdf quite old, ... (by ne555)
Treatment of NaN
 
Hi guys, suppose I have a division between double variables somewhere in my code. If this divisi...
Jul 18, 2019 at 7:12am
[5 replies] Last: I would suggest to use std::isnormal(...) with an assert since all not... (by coder777)
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 ...
Jul 18, 2019 at 5:45am
[1 reply] : Have you read this? https://www.microchip.com/wwwAppNotes/AppNotes.asp... (by salem c)
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 <io...
Jul 18, 2019 at 3:06am
[3 replies] Last: Edit: Solved, thanks for help. (by jonathon378)
July 2019 Pages: 123456... 11
  Archived months: [jun2019] [aug2019]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.