Beginners - May 2019 (Page 15)

array of char without '\0' terminated
 
Hello, from previously asking on here I've understood that the << operator has been overloaded fo...
[11 replies] Last: @salem c, you are getting me wrong. we must definitely try to program ... (by anup30)
Why the output is like this?
 
Hello, I have such code and I don't know where the second A.f in output comes from. I suppose the f...
[3 replies] Last: A.f (A.f) B.f M ~A.f Where (A.f) comes from. First, new A() calls ... (by Ganado)
by mpg
problem witth sum of elements in array with recursion
 
I must do the sum of elements in arry with recursion and I must use codeblocks. I have "cannot open ...
[11 replies] Last: Thanks!!!! (by mpg)
by Pecvx
Class question
 
I have the following two classes: class Plant { private: string name; string location; ...
[5 replies] Last: All non-static member variables of a class are default initialized (un... (by keskiverto)
Star Search, Now With Arrays
 
Hello, I am requesting some assistance on a recent homework assignment in Beginning programming. I h...
[3 replies] Last: I don't know how to use arrays, or how to insert numbers into them. ... (by deleted account xyzzy)
new member
 
Hi everyone, I am a new member. I know c ++. I am looking for a course to teach about c ++. I hope y...
[3 replies] Last: The tutorial here at cplusplus, though it hasn't been updated in years... (by deleted account xyzzy)
IT Training Courses
 
WinPath IT is Offering Services like IT Training, IT Staffing, and Digital Marketing Agency Services...
[no replies]
Array Assistance Please
 
Good Evening, I am having problems with the code below, what I need to do is have the array show 15...
[3 replies] Last: Thank y'all very much, that solved the problem! (by thylath)
by Majeek
me.obj error LNK2005 : "class..." already defined in main.obj
 
I'm new to header files and namespaces so I've been tryed to work on them through websites that show...
[2 replies] Last: [quote=Majeek]Had to remove the code in main() and recompile then re a... (by Duthomhas)
Need some help with file editing.
 
Hello everyone, been coming here a lot this past year since I started learning, but this is the firs...
[4 replies] Last: Sorry for the late reply Chedder, looks like its all good. Think somet... (by Maganac)
by vysero
Making my student grades program more dynamic
 
The book I am using to learn C++ is called: Accelerated C++, practical programming by example and in...
[3 replies] Last: Ah crap, I should have seen that, thanks guys. (by vysero)
Payroll/Final Program Help
 
I am having trouble getting the arrays to read into the program. will print the cout statements, but...
[4 replies] Last: Hello kmheflin712, I agree with jlb the program would benefit immen... (by Handy Andy)
Problem with "undefined reference to 'vtable for myclass' "
 
Hi everyone, I've been trying to link 2 files but I'm getting the error "undefined reference to 'vt...
[3 replies] Last: Your build does run the moc too? (by keskiverto)
Which type has this iterator?
 
auto itr = mResourceMap.find( id ); // Which type has this iterator? // I thought it would b...
[7 replies] Last: Thx, your link was very insightful to the topic. (by nuderobmonkey)
Passing object values to another class
 
Sorry if the title is misleading, having trouble giving a proper definition of my issue. So my assi...
[6 replies] Last: C structs are not C++ structs. In C a struct can only contain data me... (by deleted account xyzzy)
by Pecvx
Virtual functions
 
Hello, I need some help on virtual functions. If we declare the following class: class Anima...
[6 replies] Last: Yes, that's correct. (by Peter87)
Most frequent letter in string
 
Hi, I have a user inputted char array that I have then turned into a string, only letters. I have tr...
[4 replies] Last: Thanks for the help, found the solution by anup, to be the most helpfu... (by crimsonknight166)
Airplane reservations problem
 
for this program I need to ask the customer if they would like to travel first class or economy by p...
[7 replies] Last: Hello Deadweight77, Line 11 as a global variable it should be avoided... (by Handy Andy)
by Halken
RN Calculator with Stacks
 
I am in need of help with my stack::peek function, I plan on calling the peek function at the end to...
[2 replies] Last: thanks :) (by Halken)
by mpg
largest element in an array using recursion?
 
Can you help me about write largest element in an array using recursion? I found this can you expl...
[5 replies] Last: template <typename T> T maximum( T *a, int n ) { return n == 1 ? *... (by lastchance)
May 2019 Pages: 1... 13141516
  Archived months: [apr2019] [jun2019]

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