Beginners - April 2022 (Page 2)

Constructors and Inheritance Problem
 
Hi, I'm trying to create a Saving Account derived from a Base Account using only setters and getters...
[8 replies] Last: My generic response on using code tags: Please learn to use cod... (by deleted account xyzzy)
not displaying anything
 
the code compiles but does not show data from the file. I will appreciate any help. **************...
[2 replies] Last: There are various issues. The for loops are using size for an array in... (by seeplus)
why am i getting a massive number
 
Well title says it all, everytime i execute this program i get a MASSIVE number (like 4.95066e-324) ...
[8 replies] Last: @keskiverto - I took your words to mean that double newamount; is a de... (by seeplus)
by vboro
Instead of adat** head?
 
Hi! I have a working linked list code so far, but I am curious if I can use Node* head or something ...
[3 replies] Last: The void insert(Padat& root, double num) is same as void insert(ada... (by keskiverto)
Pointer arrays on heap
 
Thanks for everyone's help in the past and an advanced thanks. I just have one QUESTION and some ...
[6 replies] Last: @mbozzi Yea, I saw that too. I think he implied that the pointer point... (by CodeChaser)
C++ while loop question
 
Hi, I'm trying to get this program to loop until ether c or C is input but it isn't working? Any adv...
[3 replies] Last: I think what you are trying to do is restrict the input char options t... (by SubZeroWins)
Linker Error but don't know where the problem is
 
Hello everyone, I have a small C++ project in Visual Studio 2019, but I am getting a linker erro...
[3 replies] Last: Your answers helped me getting my code to actually work now, thank you... (by KitKat96)
Display the percentage of numbers above average
 
Im having trouble displaying what percentage of numbers are above-average. Very new to this, any hel...
[7 replies] Last: @ vasncode : Please explain how/if these differ (without creating a ne... (by keskiverto)
by Pen72
Counting nums
 
I was thinking to convert A~E in string into corresponding numbers then do the calculations, while t...
[12 replies] Last: Sorry. Typing error. L40 c - should be c +. I only tested with lc let... (by seeplus)
not sure how make -1 the exit key for my loop?
 
Im trying to make -1 the exit key for the user but it stores -1 into the array. Ive tried making th...
[4 replies] Last: The size_t is just an another integer type: https://en.cppreference.co... (by keskiverto)
Disregard
 
Im having trouble displaying what percentage of numbers are above-average. Very new to this, any hel...
[6 replies] Last: yikes okay noted (by vasncode)
Programming Parallel Computers
 
You need to write a function that takes as input a bitmap image and the coordinates of a rectangle, ...
[3 replies] Last: Nothing in that assignment talks about "parallel computers" ... (by keskiverto)
Pointer noob needs help
 
So we had a lecture on pointers... WOW a lot of things I dont understand. Here is the instructio...
[5 replies] Last: thanks for the info! (by BigNibs)
by Pen72
Puzzle problem
 
Got confused in what sort of algorithms should I implement here? Given a R*C rectangular grid maz...
[5 replies] Last: Method is essentially that of @dhayden (except that I don't bother to... (by lastchance)
sieve of eratosthenes runtime error...
 
Hi. I recently just learned the sieve of eratosthenes to generate prime numbers, but evrytime i want...
[7 replies] Last: there are a bunch of primality tests you can look up -- these don't us... (by jonnin)
Engineering Mechanics: Statics, Coding Project Using Single Force Systems.
 
Hello all. I was assigned a project that requires me to write a code that solves a mechanical eng...
[8 replies] Last: Hello, Thank you so much for your help. I see now what I was doing wr... (by allisonOs)
Text files.
 
Hi guys, hope you are learning every day. Need your knowledge. I have this program and I managed ...
[3 replies] Last: #include <fstream> #include <iostream> #include <string> #include <u... (by seeplus)
OutStream problem
 
This is actually a followup to my last post So I have this list of titles, dates, times, and dura...
[14 replies] Last: Where would I place the outstream so the instream processes before th... (by seeplus)
by Pen72
Subtree problem
 
Got any idea how to solve this problem? Given a tree with n vertices v1,v2,...vn which is rooted...
[7 replies] Last: Thanks for the clear explanation. Also,yes it was overflow causing the... (by Pen72)
How to divide the elements of the principal diagonal of a matrix with the elements of the array that are outside
 
I dont have idea how to divide the lements and I dont find any tutorial about it. the instructions ...
[1 reply] : Loop through the rows On each row: store the diagonal elemen... (by lastchance)
April 2022 Pages: 1234... 7
  Archived months: [mar2022] [may2022]

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