
please wait
by LauMan10
Space between string on C++.
|
How do I put a space between each string? cout << "Print out your first name?" << endl; cin >> firstName; cout << "Print out your last name?" << endl; c... |
Nov 2, 2019 at 9:37pm
[1 reply] : cout << firstName << ' ' << lastName; Single quotes denote a single... (by dhayden)
|
min_max function |
How make a function that calculates the minimum and maximum of array and uses 2 reference type parameters to return the results? int min_max(int n,int a ,in... |
Nov 2, 2019 at 9:35pm
[9 replies] Last: You need to pass n by reference to citire() so the value gets set in... (by dhayden)
|
by mcgrim8
cv2
|
I need the cv2 library on visual studio 2017 but it seems impossible to install. I keep getting error E1696 and I am not sure at this point what to do. Does... |
Nov 2, 2019 at 8:02pm
[4 replies] Last: cv2? is that OpenCV? If you still can't figure it out, link to us the ... (by Ganado)
|
by snortkrak
Insert new user element into an array
|
So, I am writing a code to insert (not replace) a new number from the user into an array. I have seen other code on this site and tried to use it but for whatev... |
Nov 2, 2019 at 7:50pm
[4 replies] Last: If an array can take non positive integers, does it still have to be ... (by deleted account xyzzy)
|
by Depressed
Rocket Program: Need assistance on developing stages
|
My assignment requirements are here. [A "stage" in your rocket is one box] Your program will look a lot like it did before except that you will add 3 cout/cin... |
Nov 2, 2019 at 7:27pm
[4 replies] Last: Thank you Andy :). I've been struggling on that part for a while on ho... (by Depressed)
|
by p anatoliev
Looking for a proper function
|
Hi I'm looking for a function similar to std::string::compare() but outputs the position of the first element that doesn't match the string. Does a function lik... |
Nov 2, 2019 at 6:34pm
[3 replies] Last: In hindsight, of course there's an algorithm for it: #include <iostre... (by Ganado)
|
by keskiverto
Help in C++ problem
|
That is not a C++ problem. That is a math puzzle. We could help with errors in your C++ code, if you had any. |
Nov 2, 2019 at 5:45pm
[1 reply] : #include <iostream> #include <cctype> #include <limits> int main() {... (by deleted account xyzzy)
|
by Shervan360
Neat code
|
Hello, I wrote this code but it isn't neat in output. (unfortunately, we cannot upload a photo in this site) #include <iostream> #include<vector> ... |
Nov 2, 2019 at 5:31pm
[1 reply] : Try this instead: #include <iostream> #include<vector> using namespac... (by Repeater)
|
by Ch1156
Storing function parameters for easy update
|
So I havent really been working on anything it's just a question I had. I was thinking that when you write functions, if you have a few arguments in the argumen... |
Nov 2, 2019 at 2:39pm
[10 replies] Last: Whoa lots of responses. I was following the documentation on here for ... (by Ch1156)
|
by john26999
Not Reading a Random Number
|
Good evening, I am a beginner with C++ and having a bit of difficulty figuring out a small code problem with the below code. The problem is that the code is... |
Nov 2, 2019 at 2:31pm
[2 replies] Last: Dutch, Thank you for your guidance. Your solution worked. I kept... (by john26999)
|
Colors messed up |
Hi i was writing a graphics library but when i use it colors get mixed up This code needed to load my custom image format to console application. Don 't say w... |
Nov 2, 2019 at 9:40am
[12 replies] Last: I've tried rewrite code and i used an a for loop but whatever happened... (by ASingleGameEngineDevelop)
|
objects assignment |
I am facing a problem with this code I don't know why the output is A's constructor called B's constructor called A's constructor called I thought it will... |
Nov 2, 2019 at 9:23am
[2 replies] Last: thank you (by ahmad alghadban)
|
by ninjz98
How to find maximum value
|
If a user inputs five values... How to find maximum value between those 5? cin>>a>>b>>c>>d>>e; In this code we took 5 inputs, Now we have to find ma... |
Nov 2, 2019 at 9:00am
[5 replies] Last: I thought you wanted to use loops? (by lastchance)
|
by mrpear2020
Why this header file does not work for my .cpp?
|
The .cpp file below compiles successfully if I do not include the header file btree.h. However I would like to put header file separately. Can someone review th... |
Nov 2, 2019 at 7:43am
[3 replies] Last: Thank you folks. It helpded. (by mrpear2020)
|
by ColonBracket
Issues with reading stuff into a linked list
|
So I am having issue when it comes to searching a linked list. I am supposed to a read file in that has an album name, its price, and its year formatted exactly... |
Nov 2, 2019 at 2:48am
[2 replies] Last: So the file is like "More than love" 12.99 1989 "Streets of London" 5... (by highwayman)
|
by lemoneer
printing help
|
Hey guys, I am very new to c++ and needed some help with a problem I can't seem to get. I need to generate shapes, an up arrow, and a sideways arrow. I have don... |
Nov 2, 2019 at 12:56am
[1 reply] : perhaps something like this will get you started ... int main() { ... (by jonnin)
|
by Deadweight77
Linked list reversal
|
I've been trying to learn more about nodes and linked list and I'm not doing so hot. I've learned some of the concepts, but I need help with reversing the numbe... |
Nov 1, 2019 at 8:02pm
[7 replies] Last: Thank you very much mate! My learning process isn't exactly by the boo... (by Deadweight77)
|
by ghegheg
Copyright of tutorials of this site
|
Hello, I have a question about C++ tutorials from this site, I am beginner and I want to use it, but unfortunately I have found nothing about the conditions... |
Nov 1, 2019 at 7:39pm
[10 replies] Last: I am not the administrator, but I can tell you his opinion. (I have ex... (by Duthomhas)
|
self type objects |
Why we can't create a self type object inside the class unless it was a pointer or a static one ? |
Nov 1, 2019 at 7:14pm
[2 replies] Last: I got it .. Thank you very much (by ahmad alghadban)
|
How can I give this vector's members unique values each time? |
I made a vector to store multiple values like so: for (int i = 0;i< 5;i++) { X= MenuItemImage::create//... XVector.push_back(X); //... }; ... |
Nov 1, 2019 at 6:51pm
[8 replies] Last: Solved. Sorry, the code is fine, It was an error within the code itsel... (by closed account E8A4Nwbp)
|