Beginners (Page 3)

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)
Database integration help?
 
Can someone offer some time on how to develop an application A-Z and how this works? Currently in sc...
[1 reply] : The older the student, the harder it appears to me to study because ol... (by Hison)
Conditional wait and signal in multi-threading
 
Hye! I saw this code on geeks for geeks. But I am not able to fully get it. // C program to...
[1 reply] : The code is not very good. main sleeps for 1 second to ensure that th... (by dutch)
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)
Troubles with ifstream
 
I am not able to get my program to pull the neg/pos/nut effects out of file. I named the notepad fil...
[3 replies] Last: "objects.txt" is a relative file path. It is relative to the workin... (by Peter87)
why is the code not working? || srtuctures
 
hi, i'm experimenting with structures and i followed the tutorial i saw online and did exactly what ...
[3 replies] Last: Okay! I get it now, thank you so much!! :) (by laura fidarova)
Pages: 12345... 20
  Archived months: [nov2020]

Cannot post in this page. To post a new message, go to the first page.