Beginners (Page 7)

Arrays
 
Now both of these codes are logically correct and should give the same answers and in arrays if I di...
[3 replies] Last: In your second loop, during the process you are trying to display the ... (by Geckoo)
Homework fill in blank question to figure out output
 
Suppose that you have the following C++ Code segment. Show the contents of each variable and the con...
[3 replies] Last: 4) cin of an int is weird. its going to read the whole thing and cons... (by jonnin)
Vector version of pointer pointer array
 
Are these roughly equivalent? Not sure if the *'s are in the right place for the vector in...
[3 replies] Last: I generally prefer to keep everything 1d as much as possible for a var... (by jonnin)
by LeoV3
How does program know array size? (1,2)
 
Hello, I'm learning to code in C++ by reading "Programming principles and Practice using c++ (2nd ed...
[24 replies] Last: I really do like using std::array over using a plain array more than ... (by seeplus)
Loops to make 3 tables of Celsius, Fahrenheit and Kelvin
 
Ive gotten started on this hw homework problem due tonight but I am completely stumped. Prompt: Wr...
[7 replies] Last: @againtry Nevermind I got it to work, thanks for the help! (by gigacapybara)
Convert 12 hours to 24 hours
 
I am stuck on a homework problem where I have to convert 12 hours to 24 hours. Prompt This program...
[8 replies] Last: #include <iostream> #include <string> #include <iomanip> /* 5:30:00... (by againtry)
binary search tree confusion
 
Hello, I am learning data structures from youtube - mycodeschool, and most is really easy to follow ...
[5 replies] Last: yea this looks like older code, C++ converted over from C. Maybe on p... (by jonnin)
how can i prent the array after evry pass in bubble sort
 
My sort works. unfortunately I don't seem to be able to print the array after evry passes, do I ne...
[8 replies] Last: Or even as C++20: #include <algorithm> #include <iostream> #include... (by seeplus)
by alexas
rotation of the cuboid chain (1,2)
 
I asked this question long time before with no success but it was even more complicated situation. I...
[37 replies] Last: Just simple Thanks just does not sound seriously, I was totally lost i... (by alexas)
Why does my code on C++ skip the getline on line 30?
 
Why does my code on C++ skip the getline on line 30? #include <iostream> //For the common code...
[3 replies] Last: Hello Silver29, If you are still interested and catch this. Some sugg... (by Handy Andy)
by derpus
How do I check what specific char has been outputted to a specific xy position in the console?
 
How do I check what specific char has been outputted to a specific xy position in the console? I ...
[9 replies] Last: The Windows console is based upon a resizeable 2-d buffer and a window... (by seeplus)
How to count uppercase and lowercase strings
 
I managed to finish this homework problem, the only issue is that it did not count instances of a su...
[5 replies] Last: For some versions of some compilers (gcc?? - VS was OK), you had to wr... (by seeplus)
by AkiraC
How to print out sum for every loop?
 
Hi, I wanted to sum up the marks of one student, then proceed to the next student, however, the sum ...
[6 replies] Last: Hello AkiraC, I finally figured out the problem I was having. In the... (by Handy Andy)
How to properly access members in constructor using set and get methods
 
Hello, i searched a lot on how to properly do that, but it seems like i am stuck on very simple task...
[7 replies] Last: Hello georgio, You are welcome. In the constructor why did you add... (by Handy Andy)
Sally
 
Hello I came in September 2020 for a language (Sally : https://www.cplusplus.com/forum/beginner/2729...
[2 replies] Last: Thank you, I figured out how to do it: void Sally::doInputString(S... (by annolliwohe)
return *this to a Date& operator++()
 
I would love to be able to get a deeper understanding of this code from the book & I will arrange i...
[13 replies] Last: Hmmmm, but don't all pointers have addresses though? No. int x; &x d... (by jonnin)
Beginner C++ code will not compile in terminal
 
Hello, everyone; Apologies in advance--I am a very new C++ user, and I'm attempting to make a sim...
[8 replies] Last: Hi @Andy, no worries; and thank you for the rework. I think the initia... (by phoenyxfeatherz)
by Baky
Very new to C++
 
Hello I just registered. I am very new begginer and I'd like to learn scripting starting from the sc...
[7 replies] Last: @seeplus I am running/writing the scripts with Microsoft Visual Studi... (by seeplus)
How to convert algebraic equations into C++
 
In one C++ Program translate the following algebraic equations into C++ code. Then run the program w...
[7 replies] Last: And continuing on with the second equation. There are lots of opportun... (by againtry)
take different inputes within a array from user
 
SO i was writing a program to take input from user of the batting figures of the cricket team and di...
[2 replies] Last: Hello Atharva k12, Thank you for using code tags. My questions to st... (by Handy Andy)
Pages: 1... 56789... 11
  Archived months: [jul2021]

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