Beginners - June 2021

17 errors with cpp file
I have to write a ArrayDictionary.cpp file that follows the ArrayDictionary.h file listed below. The...
[9 replies] Last: You still have const errors on isEmpty() findEntryIndex() getValue(... (by AbstractionAnon)
cant use vector erase?
I am trying to use the erase function belonging to vector, but I am getting errors and I can not fig...
[4 replies] Last: That is much more succinct, thanks. (by Ganado)
by Wedde
What does std::flush really do?
When looking at videos and tutorial text flush seems to be used as a way to empty the stream, to not...
[5 replies] Last: > There are plenty of time when you need to flush a stream or file to ... (by JLBorges)
Topic closed
I have to write a ArrayDictionary.cpp file that follows the ArrayDictionary.h file listed below. The...
[5 replies] Last: @Lacy9265 Take it as a bonus and badge of honor in coming up against @... (by againtry)
Template Based Error:
As a part of creating an AVL tree, i ran into the following error when debugging:"error: no matching...
[4 replies] Last: Thank you so much. i corrected my code as suggested and it work! also ... (by jaymann)
function needs to return two values, havent used structures/pointers before
Hello, I've got a problem in which I have a program where I am to find the gross and net pay of an e...
[3 replies] Last: Yes. Reference parameters are effectively making an alias -- the para... (by jonnin)
How can I make a vector of objects then print it's contents out?
The program I am making I wish to choose 2 values for an object, and then add them to a vector , my ...
[3 replies] Last: #include <iostream> #include <vector> class x { int a,b; p... (by Manga)
by Wedde
Read file to class members.
I have managed to read a string to a class member. My problem is that i want to read to four differe...
[10 replies] Last: Yes i intend to, this is one part of a bigger program that simulates a... (by Wedde)
Confused on using the switch?
Im writing a program that shows a menu of the choice then ask the user to choice. So I need to use...
[8 replies] Last: Also the cout... can be after the switch as well. The only thing neede... (by seeplus)
by dvdlly
calculating large factorials
Hello everbody, I am given an integer n that can be at most 10^8. Now, I have to calculate the fact...
[9 replies] Last: hey thanks alot, lastchance :) (by dvdlly)
text file handling
One can save the file on notepad or word and one can also open the file through clicking on it and r...
[1 reply] : > One can save the file on notepad or word and one can also open the f... (by salem c)
by vboro
Starting a for() loop in case of a linked list from Nth node?
Heyy! When creating a linked list from a struct array of countries, I have come across the problem ...
[4 replies] Last: See also with working ... (by seeplus)
by vboro
Problem with inserting element to empty list?
Hi! I've decided to practice linked lists, creating nodes from different kind of data structures, a...
[11 replies] Last: It ran down perfectly, except one thing - that it left out my first e... (by seeplus)
SDL bad performance
Hey! I’m testing out SDL and made the following test project to see the performance. I want ...
[11 replies] Last: This algorithm may be of interest: a constant time algorithm on GPU ... (by JLBorges)
by vboro
Rotating matrix problem
Hi! I got the task where I must make a function in which I must rotate a dynamic, bool matrix and sa...
[3 replies] Last: Ooo thank you very much, I get it now :D (by vboro)
Need to create an Entry.cpp file
I need to create a entry.cpp file that will follow the functions listed in the entry.h file listed b...
[14 replies] Last: When I zip the project and open the project on another machine the bu... (by AbstractionAnon)
Trouble initilizing static variable.
I am trying to initialize the variable count, which I declare in the class Count. However, I have tr...
[4 replies] Last: Thank you for your help. (by BroBuilder)
by siid14
Linker issue ?
I'm doing the following problem : Add on to your Rectangle class from last time: 1)Create a n...
[16 replies] Last: Hello siid14, This is what I came up with using your code with a fwe ... (by Handy Andy)
Min and max number
how to display min and max number that inserted by user without using array ? My coding wont displa...
[2 replies] Last: PLEASE learn to use code tags, they make reading and commenting on so... (by George P)
Bubble sort function for last names, in alphabetical order
For this project I am struggling to create my function that sorts a list of full names by last names...
[5 replies] Last: What's with all the .at() ? As the loops are from 0 to < .size(), then... (by seeplus)
June 2021 Pages: 123... 9
  Archived months: [may2021] [jul2021]

This is an archived page. To post a new message, go to the current page.