Beginners - March 2019 (Page 7)

Is this the correct approach for making a deep copy?
 
Hi I have an object of type C whose only member variable is a vector of objects of type E. Every ...
[3 replies] Last: Oh, okay, so you want C to call E's accessor method, but you want the ... (by Duthomhas)
by remyk
Trying to use the SFML library
 
Hello. I am a student beggining a project using object oriented cpp. I never used any graphical li...
[no replies]
by rdp
please help with mey arduino code
 
hello, I am pretty new in programming with c. i got a arduino and i have to make a tutorial for ...
[1 reply] : if (buttonState == HIGH && statusled6 == HIGH); Firstly, notice tha... (by Grime)
Mistake
 
Hello, it must be a nonsense but i can not see it I hace two files Proincipal.cpp with the main and...
[4 replies] Last: the methos set works properly (by psosmol)
by sturk
C++ question on multiple class inheritance
 
Could someone explain to me why is there a compilation error in the code 'Endangered* pEndangered = ...
[1 reply] : Because Endangered is not inherited publicly. This should fix it: ... (by Peter87)
Further iomanip confusion
 
Hi, I'm not sure the proper terminology for this alignment in c++, but in MS Word, it's called rig...
[1 reply] : #include <iostream> #include <iomanip> int main() { const char* ... (by JLBorges)
segmentation fault
 
Hello I wrote a code in c++ with a vector and I have an error message segmentaion fault should I r...
[7 replies] Last: The vector is not the problem. (Hint: never blame standard library rou... (by Duthomhas)
Help
 
I am trying to build a program to calculate the total volume of a tin can given the input variables,...
[1 reply] : The first mistake I see is that you're trying to use endl with an inpu... (by jlb)
Need Help Separating Outputs
 
So I’ve just started programming for college and we’re now halfway through the semester. I am st...
[7 replies] Last: Hey Andy! You are the absolute best and you have made my first experie... (by SkytheWitcher)
setw trouble
 
Hi, I'm trying to cout two arrays with right setw, but I can't get it to work correctly. I've tri...
[3 replies] Last: Good job! Sometimes you will want to compose a string and justify all... (by Duthomhas)
Rankings list
 
N students participated in the programming competition (N> 4). After completing tasks, students ra...
[1 reply] : Hey buddy,Put your code,then only we can help you. (by SparkXV)
If Statements and strings
 
I'm new to learning C++ and am currently working through Stroustrup's Principles and Practice book. ...
[2 replies] Last: I really should check over my code better...the = was of course a typo... (by Vitesze)
by cutwo
please help
 
could use a second pair of eyes. please and thank you i wanted to use "expression" as an operator a...
[2 replies] Last: string expression (int) ; this is a function declaration. I would p... (by closed account z05DSL3A)
by vysero
Help printing the contents of this map
 
I am trying to figure out what this map contains but I can't seem to print its contents. Here is the...
[1 reply] : Hello vysero, You define the map as having a "key" of "unit64_t", (a ... (by Handy Andy)
no match for ‘operator=
 
Hello, I have 2 files: Principal.cpp with the main() and Individuo.h The individuo code is: #...
[1 reply] : factor = ftr; The quantity on the left-hand side, factor is a v... (by lastchance)
Snake Game
 
i'm trying to create a snake game and i have just created the frame and i wanna see if this will wor...
[5 replies] Last: Your next step should be to get some input from the user. Focus on g... (by AbstractionAnon)
allocator whitout define
 
Hello, I have 2 files: Individuo.h and Principal.cpp Principal.cpp code: #include <iostream> #i...
[10 replies] Last: thanks for all (by psosmol)
by wuwy
How can I compare data from char array from structure
 
Hello, I got this exercise where I have to compare gene fragments of two (or more ) sheep and print ...
[8 replies] Last: Okay, sorry. Should ask stuff more clearly. This is the full program i... (by wuwy)
assignment!!!
 
so im still figuring it out what the hell am i doing with my life haha. i found the same homework po...
[9 replies] Last: i'm done with cpp Nice. Is it possible to publish your solution of t... (by MikeStgt)
atof() precision (1,2)
 
Greetings! A question to input arguments of main(). My program receives a string representing a num...
[28 replies] Last: Thank you, it helped a lot. Meanwhile, I have figured out that my sys... (by PhysicsIsFun)
March 2019 Pages: 1... 56789... 25
  Archived months: [feb2019] [apr2019]

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