Beginners (Page 4)

by RNBW
Brackets or not
 
One of the things I have never liked about modern programming languages is their use of brackets for...
[16 replies] Last: @MikeyBoy I'd not realised that I'd configured the IDE to use tabs. I... (by RNBW)
helP
 
help help
[6 replies] Last: It's not commercial sp*m. Though nothing of value would be lost. (by Ganado)
by Bopaki
How can I get rid of that junk printed in front of the output
 
34 12 64 56 28 91 21 11 82 -999 Contents of q1:1990782048 34 12 64 56 28 91 21 11 82 C...
[7 replies] Last: I was for about 2 seconds. WTF was I thinking??? (by dutch)
For loop problem
 
I am writing a program to create an exam. I have pretty much everything working, and the code runs, ...
[2 replies] Last: Hello Draveis, Your dearth of code poses more questions than just wha... (by Handy Andy)
by sturk
C++ compilation issue
 
Hi, I am receiving 2 kinds of errors from my compiler as shown below. One is for the 'random' that i...
[10 replies] Last: I just copied your code and added template overload and included heade... (by malibor)
Lowest common ancestor in a root tree.
 
Hello guys! I'm having an issue understanding how to exactly approach the following problem: R...
[3 replies] Last: From the input data we can trace the ancestry for each node: 6 ->5->3... (by keskiverto)
Sorting a matrix
 
How to sort a matrix as in 4x4 like 4 4 6 1 1 2 7 2 9 4 7 3 1 5 7 2 9 3 with the following rules ...
[10 replies] Last: Please explain the nuts . (by keskiverto)
Class Template Specialization
 
Hi! I'm building header-only statistics library that uses a lot of templates. I have created a class...
[8 replies] Last: If you wan't your class to accept 2 kinds of construction parameters s... (by malibor)
Pass an array address between applications
 
Hi, Firstly I would like to point out that I am new to C++. I am writing an expert advisor an...
[4 replies] Last: I have found a satisfactory way of solving my problem in MQL by using ... (by skiner36)
Help
 
I
[3 replies] Last: #include <bits/stdc++.h> #define ll long long using namespace std; in... (by cc046)
Sorting arrays next to other arrays which are the same
 
I just wrote a program where program sorts people by time(minutes).But what and where should I add a...
[1 reply] : bool comp(const people &p1, const people &p2) { return p1.min ==... (by dutch)
Resetting game
 
I am trying to reset the game until the user puts in the correct name. How do I do that? I a...
[3 replies] Last: Nvm I just relized I dont have the code allowing for the user to reent... (by Emoangel1478)
sorting array and matching other array and getting error
 
I'm trying to write a program where I write information of people like: name,minutes and seconds.I n...
[2 replies] Last: First, this: struct people z ; No no no. That looks like C code. Th... (by Repeater)
Advice for future learning
 
Hello guys.I am finishing my second term at university and I hope to get some advice for the future....
[3 replies] Last: To be honest, @Zivojin, if you've finished your second term (semester?... (by lastchance)
by sturk
C++ warning of narrowing conversion
 
Hi, why does the compiler prompt me of this warning and how do I resolve this? Stressing me out. And...
[8 replies] Last: Thanks Keskiverto. So it looks like the OP can solve the problem by t... (by dhayden)
by Bopaki
Help with copy constructor & assignment Operator (1,2)
 
When I run this code I get these errors: allocation error: allocation error: allocation error...
[20 replies] Last: Thank all for your assistance (by Bopaki)
initializers before for error
 
Hello everybody! Our teacher asked us to write a program for a bank.[yes its a homework , but i alr...
[4 replies] Last: The error codes are very easy to read in this case. LOTS of lines wit... (by zapshe)
char array through function
 
I have been busy in trying to pass 2d array through function but no break through can any one point ...
[1 reply] : #include <iostream> using namespace std; const int length =100; voi... (by lastchance)
Super confused plz help
 
Sorry for not being clear in my question. My problem is I am trying to make an amortization table w...
[9 replies] Last: Hello jumbee2, I started to ask this until I got into something else ... (by Handy Andy)
+ operator
 
The error is in line 80 with + operator. I don't understand why. #include<iostream> #includ...
[3 replies] Last: c and p are not strings; they are stringstreams. // string l... (by JLBorges)
Pages: 123456... 27
  Archived months: [apr2019]

Cannot post in this page. To post a new message, go to the first page.