Beginners - March 2021 (Page 12)

Variable Help Question (1,2)
 
The main part of the program will call a single function three times, passing in no data, but the fu...
[24 replies] Last: Thanks! That helped a lot! Now I know not to use the stuff that clang... (by JRManx)
Not respondig c++
 
After 5-10 mins of coding, code blocks is not responding. Can someone help me ? the only way I can...
[13 replies] Last: Thanks Furry Guy and Ganado, and yesterday I was able to get to the ht... (by rw53sg1)
Guys I have difficulty with this exercise would you give me a hand
 
Write a procedure that calculates the sum of the numbers returned by the call to a function which, g...
[4 replies] Last: Your program is a good start, ????????? (by seeplus)
confused in a returned reference
 
class date { int x,y,z; public: date(int a,int b, int c): x{a},y{b},z{c} {}...
[1 reply] : Since you're assigning the return value of default_date() to an object... (by helios)
by thmm
Build targets in make file
 
I try to create a make file for different targets. I get the the followinfg warnings. makefile:15: w...
[7 replies] Last: Thanks @dutch, it's working now. (by thmm)
by gsrls
Trouble filling in Odd Numbers.
 
I'm having trouble filling in the odd numbers from a list. I can only use recursion to fill in those...
[1 reply] : What else is your ListView class capable of? > The output that im get... (by salem c)
C++ does not make an exe file
 
Hi I'm trying to make a simple c++ code for my assignment and It won't open CMD or make a txt file i...
[16 replies] Last: did you move it off the desktop? (by jonnin)
inheriance
 
How can we access to private attributes in base or parent class from child class ? A class contain...
[5 replies] Last: THIS IS THE ERROR MESSAGE : ../src/child.cpp:32:15: error: binding re... (by FORK1)
Help Needed
 
Do you expect someone to do your work for you?
[no replies]
Lots of Memory Leaks?
 
Hello - I tried to run my Bufferlist test, but I got a segmentation fault. I used valgrind and I s...
[5 replies] Last: I thought the loop itself was initializing it, since it's an array? S... (by Ganado)
What Is The Main Difference Between Float And Double Data Types?
 
Write your question here. Hello, Nowadays I am learning Data types in Cpp, and a little bit confus...
[2 replies] Last: Thanks for the reply I found this(https://www.techgeekbuzz.com/float-v... (by neerajsati)
by JRManx
Weird default constructor (1,2)
 
I am trying to write a tic-tac-toe program using a class, and I got this example off a different int...
[22 replies] Last: @ doug4 , Thank you! You have opened my eyes. I guess I was kind of ... (by JRManx)
Do-While Loop help!
 
Hi everyone! So new to this, I might have started my assignment wrong. I'm not sure, basically i'...
[12 replies] Last: Hello miguelminaj, I have been going over your latest code and I do h... (by Handy Andy)
The sum of the submatrix
 
From the first line, read the numbers N and M from the keyboard. From the following N lines, read M ...
[7 replies] Last: [quote=swingby]You use files I'm not using files. You can change "in"... (by lastchance)
vectors
 
1. Check if the size of the vector is odd or even with the std::vector::size member function. http:...
[3 replies] Last: Yeah, I thought that looked odd. Or maybe the OP just deleted his pos... (by JRManx)
by JRManx
Strange vector definition
 
I was looking at some examples of vectors in my C++ textbook, and I came across this vector initiali...
[2 replies] Last: *smh* Thank you @dutch. I keep forgetting about that. Welp, I should... (by JRManx)
Help
 
Write your question here. Using pseudocode, write a program which employs the Selection Sort tec...
[3 replies] Last: Well, here is a sample selection sort algorithm. This is a complete p... (by JRManx)
About getting input
 
There are 2 codes that I want to know the difference between them. I still cannot understand if swap...
[1 reply] : Yes, there is a subtle difference in behavior. Lets say the user inpu... (by Ganado)
try catch exception
 
Lads, I am trying to do HW in a specific way using the exception library. task: Considering that ...
[2 replies] Last: @coder777, thanks so much, I could identify the problem however couldn... (by MaxGreen)
D8016 error with VS 2019
 
I keep getting this error Error D8016 '/ZI' and '/clr' command-line options are incompatible I...
[4 replies] Last: /Z7, / Zi , / ZI (Debug Information Format) | Microsoft Docs https://d... (by deleted account xyzzy)
March 2021 Pages: 1... 10111213
  Archived months: [feb2021] [apr2021]

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