Beginners - January 2021 (Page 5)

Vending machine program
 
In this lab task, you have to create a program which simulates the process of Aruba Vending Machine ...
[1 reply] : [Duplicate - also http://www.cplusplus.com/forum/beginner/275573/] (by seeplus)
Reading file not working?
 
Ok, so you're given 3 options. 2 is to ask the user for a word or phrase and then it gets converted ...
[1 reply] : The issue is how you're reading the file contents. The getline() shoul... (by seeplus)
by dadu u
i need help
 
Write your question here. so i made a program of calculating a side using the pythagorean theory an...
[2 replies] Last: wow thats way easier (by dadu u)
Repeat exactly three times in Array - C++
 
Hello, I have an array with Non-fixed size and I'd like to get indexes of an array that exactly r...
[1 reply] : #include <iostream> #include <map> using namespace std; map<int,int... (by lastchance)
by PK Dey
checking armstrong number
 
The following code is a code of checking armstrong number. #include<iostream> using namespace s...
[1 reply] : when playing with the digits of an integer, you can %10 to get the low... (by jonnin)
how do i count the amount of bonus from salary? || structures
 
Q: info about employees contains their last, first, dad's names, position, gender, the date they joi...
[7 replies] Last: Lastly, bonus should be a method of Employee. Don't store the bonus va... (by dhayden)
Adding Values read from a text file.
 
Write your question here. I am writing a code to read from a text file and I need to add all the va...
[9 replies] Last: Hello lg77756, Instead of a long explanation this is what I ended up ... (by Handy Andy)
how to write chess with these conditions?
 
The chessboard is viewed as an 8x8 square character array. The natural numbers v1 and g1 are entered...
[3 replies] Last: I assume you're only supposed to enter one piece for white and one pie... (by dutch)
Query
 
Write your question here. Hello my ICT lab project program is difficult so please solve this prog...
[4 replies] Last: Hello denny89, Jonnin's code may be short and to the point if you c... (by Handy Andy)
Expected initializer before int
 
full code here - https://linkpicture.com/q/help_5.jpg So i cant't figure out how tofix my code my...
[1 reply] : <> on the editor is the code tag thing, but <> isnt how you do it type... (by jonnin)
Problem with an else in a circular linked list
 
Hello, I wrote a code for a circular linked list however I have a problem with an else condition. I...
[4 replies] Last: note that else if is just cramming 2 statements on one line, it is com... (by jonnin)
Matrix vector product
 
Hi, i have an assigment where i am requirede to compute the matrix-vector product. When I try to r...
[5 replies] Last: #include <iostream> #include <fstream> using namespace std; const s... (by seeplus)
while loop does not execute all contained code
 
Here is my code: #include <iostream> using namespace std; int main() { string message...
[3 replies] Last: Hello dallin56, Should have said this earlier: PLEASE ALWAYS USE CO... (by Handy Andy)
Username and Password using String
 
I am a beginner. I already have the code for username and password for a single set. I am trying to ...
[4 replies] Last: Hello mariann, A little rework of your code: #include <iostream> #i... (by Handy Andy)
by kmce
value_type ?
 
Hello, I am wondering if someone could help me out with what value_type does in this code. Is it cau...
[7 replies] Last: Thank you for all the responses, I had to take a couple of days away f... (by kmce)
overload toy example
 
Hi guys, I was playing with a toy example to overloading functions: #include <iostream> ...
[5 replies] Last: thanks for the table. How did you create it or where did you find it?... (by dutch)
function to calculate seconds to next alarm
 
Hi I'm trying to write a function which takes in a current date time (expressed as an epoch) and al...
[3 replies] Last: Since this is a C++ program you don't need the 'struct' in front of tm... (by dutch)
by tanzil
CANNOT FIND EXECUTE BUTTON AND EXE FILE
 
After writing the code, when I press compile and debug. I could not find execute button when I co...
[2 replies] Last: saying .exe implies some flavor of windows. your compiler likely made... (by jonnin)
collection not returning anything
 
Hello, I worked my code to read from a file and extract "<BODY>" and "</BODY>" tags but I intended t...
[1 reply] : "Your" code? You mean this one? https://codereview.stackexchange.com/... (by lastchance)
by hbcpp
Download youtube video
 
I am always downloading youtube playlists and and sometimes having a hard time doing it because the ...
[2 replies] Last: I have that open, I am trying to understand how it works so I can test... (by hbcpp)
January 2021 Pages: 1... 34567... 11
  Archived months: [dec2020] [feb2021]

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