
please wait
by kyrresc
array of char without '\0' terminated
|
Hello, from previously asking on here I've understood that the << operator has been overloaded for C-strings (char arrays that are 0 terminated), to print it... |
May 4, 2019 at 10:33pm
[11 replies] Last: @salem c, you are getting me wrong. we must definitely try to program ... (by anup30)
|
by Onfould63
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 first is from new A(), but don't have a clue about the second... |
May 4, 2019 at 10:30pm
[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 output file, name.exe permission denied" What's problem? ... |
May 4, 2019 at 6:24pm
[11 replies] Last: Thanks!!!! (by mpg)
|
by Pecvx
Class question
|
I have the following two classes: class Plant { private: string name; string location; int sensorId; //sensor ID double humidityMin; //Plante... |
May 4, 2019 at 4:58pm
[5 replies] Last: All non-static member variables of a class are default initialized (un... (by keskiverto)
|
by NPhillips
Star Search, Now With Arrays
|
Hello, I am requesting some assistance on a recent homework assignment in Beginning programming. I have been given the instructions below. "Modify this progr... |
May 4, 2019 at 2:36pm
[3 replies] Last: I don't know how to use arrays, or how to insert numbers into them. ... (by deleted account xyzzy)
|
by DoanVanThang
new member
|
Hi everyone, I am a new member. I know c ++. I am looking for a course to teach about c ++. I hope you can help me in the process of acquiring knowledge about c... |
May 4, 2019 at 2:26pm
[3 replies] Last: The tutorial here at cplusplus, though it hasn't been updated in years... (by deleted account xyzzy)
|
by winpathit
IT Training Courses
|
WinPath IT is Offering Services like IT Training, IT Staffing, and Digital Marketing Agency Services. 1. IT Staffing Services (https://www.winpathit.com/it-sta... |
May 4, 2019 at 6:54am
[no replies]
|
by thylath
Array Assistance Please
|
Good Evening, I am having problems with the code below, what I need to do is have the array show 15 lines of value (alpha through alpha , then the next set of... |
May 4, 2019 at 5:34am
[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 me examples of that. So I made my own namespace through a h... |
May 4, 2019 at 12:35am
[2 replies] Last: [quote=Majeek]Had to remove the code in main() and recompile then re a... (by Duthomhas)
|
by Maganac
Need some help with file editing.
|
Hello everyone, been coming here a lot this past year since I started learning, but this is the first time I have posted a question. I have been doing this ... |
May 3, 2019 at 8:41pm
[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 section 4.2 we are improving upon this student grades progr... |
May 3, 2019 at 7:32pm
[3 replies] Last: Ah crap, I should have seen that, thanks guys. (by vysero)
|
by kmheflin712
Payroll/Final Program Help
|
I am having trouble getting the arrays to read into the program. will print the cout statements, but is not reading the arrays from the data file and printing t... |
May 3, 2019 at 6:01pm
[4 replies] Last: Hello kmheflin712, I agree with jlb the program would benefit immen... (by Handy Andy)
|
by jefazo92
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 'vtable for myclass' ". One cpp contains my QMainWindow whereas... |
May 3, 2019 at 4:24pm
[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 be of this, but it isn't. std::map<Identifier,std::unique_pt... |
May 3, 2019 at 3:29pm
[7 replies] Last: Thx, your link was very insightful to the topic. (by nuderobmonkey)
|
by wirelesskill
Passing object values to another class
|
Sorry if the title is misleading, having trouble giving a proper definition of my issue. So my assignment is to create 3 classes: Text, Box and TextBox. Text h... |
May 3, 2019 at 2:10pm
[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 Animal { public: virtual string sound() { return "... |
May 3, 2019 at 9:20am
[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 tried searching for a solution to find the most common charact... |
May 3, 2019 at 3:20am
[4 replies] Last: Thanks for the help, found the solution by anup, to be the most helpfu... (by crimsonknight166)
|
by Deadweight77
Airplane reservations problem
|
for this program I need to ask the customer if they would like to travel first class or economy by press 1 or 2. After that they must put in a seat number to fi... |
May 2, 2019 at 4:28pm
[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 display the correct result however I am a little lost regar... |
May 2, 2019 at 1:26pm
[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 explain me? And I wish the smallesT Many thanks to all. int ... |
May 2, 2019 at 12:40pm
[5 replies] Last: template <typename T> T maximum( T *a, int n ) { return n == 1 ? *... (by lastchance)
|