[try Beta version]
Not logged in

Beginners - April 2019 (Page 10)

by DadamE
ISBN-10 "calculator"
Hello; I am new to programming, and in need of some assistance with a problem in trying to use a str...
Apr 19, 2019 at 7:21pm
[3 replies] Last: so check to see if you just meant = instead of ==. This and the rever... (by jonnin)
Snake game problems
I am trying to write my own snake game(I am learning from http://www.cplusplus.com/articles/3U75fSEw...
Apr 19, 2019 at 7:14pm
[2 replies] Last: the classic snake game moves like this: draw a new pixel (box, *, what... (by jonnin)
Minimize daily route
Hello everybody, I need help at an program-task I want to solve. It's more a logical question tha...
Apr 19, 2019 at 7:11pm
[2 replies] Last: some cases require checking every permutation. the best non full chec... (by jonnin)
classes, with functions
So, I need to know how to display the function, i made a function createCars, now I'm trying to make...
Apr 19, 2019 at 6:30pm
[12 replies] Last: The pain of having to rewrite code over and over again as it gets expa... (by deleted account xyzzy)
Why Make a Namespace
what is this for. why make a namespace. this doesn't do anything, I was just messing around with nam...
Apr 19, 2019 at 6:21pm
[5 replies] Last: That sounds useful It is, very useful. using namespace std; trash... (by deleted account xyzzy)
D&D player and Int help (1,2)
Hi Im new to C++. To help me learn I made a program that shows me my charters states and iteams an...
Apr 19, 2019 at 4:20pm
[20 replies] Last: Thanks MikeStgt that helped alot acctuly (by Harry792)
How to access derived member functions from base class.
I want to access some member function in a project I am working on. These member function are in a ...
Apr 19, 2019 at 2:57pm
[4 replies] Last: If you want to call SetX() or GetX() on all values in vector v then yo... (by dhayden)
by molia
Operator overloading
The compiler shows error while overloading << and >> operator, can someone help me removing the erro...
Apr 19, 2019 at 2:51pm
[1 reply] : in>>k(i,j) >>" " ; You can't extract into a string literal. Just re... (by dhayden)
Adding and displaying information
Hello guys, I'm trying to add customer details in one function and display the added details in anot...
Apr 19, 2019 at 11:29am
[1 reply] : Hello snoozycs1, PLEASE ALWAYS USE CODE TAGS (the <> formatting but... (by Handy Andy)
by ksolo7
Having trouble pulling boundary data points from input file
I have an input file that consists of data in the form "Celsius,Resistance", for example one point i...
Apr 19, 2019 at 8:25am
[6 replies] Last: @ksolo7, If you are going to interpolate then you should be reading va... (by lastchance)
by TJW
Use the pointer to a structure array
I just started learning pointer. I wanted to call the selection sort function to sort a structure ar...
Apr 19, 2019 at 1:42am
[5 replies] Last: To Peter87 Thank you! I just added "cin.ignore()", and it worked. The ... (by TJW)
Height in feet and inches converted to meters.
I've got a problem with this program. For some reason, it's not doing the calculations and it's no...
Apr 19, 2019 at 1:05am
[5 replies] Last: Excellent questions. What is the point of the "f" after "12.0 12.0 ... (by deleted account xyzzy)
Multiple definition error
I have this work, and finally finished it with only a header. I have to have .cpp and .h files. Howe...
Apr 18, 2019 at 10:50pm
[2 replies] Last: Repeater thanks for reply. I forgot to comment out int root = 0; lin... (by yucecoder)
Operator Overloading of >> in Classes causing issue
I am trying to make a class for Polynomial which will take input of the max degree of the polynomial...
Apr 18, 2019 at 10:44pm
[3 replies] Last: Ah, my bad. Guess the issue was just the other stuff you mentioned. (by Ganado)
by fer021
I can't run my program
Hello I need some help with c++. I wrote a program and don't know what happen but when I opened the ...
Apr 18, 2019 at 10:35pm
[1 reply] : you have opened something else. compilers generate other files. look... (by jonnin)
Trying to understand this Code
I have been learning on my own. Can't really understand voids. The only thing I picked up from onlin...
Apr 18, 2019 at 9:08pm
[1 reply] : void toUpper(std::string str) Makes a copy of the passed string, any... (by deleted account xyzzy)
#define?
I am having trouble understanding what #define does. I see it used a lot so I assume it is very usef...
Apr 18, 2019 at 7:22pm
[3 replies] Last: you can also use them to force inline code (one reason to use a macr... (by jonnin)
by sk1234
Please Help DFS code explaination
I want to solve this question as i am new to trees and i could not able to understand the editorial....
Apr 18, 2019 at 6:54pm
[3 replies] Last: Here's a description of dfs(). I can't say for sure that it solves the... (by dhayden)
Help for the highest
I'm trying to calculate the highest number and it is not letting me and it is giving me an error. r:...
Apr 18, 2019 at 4:15pm
[5 replies] Last: You need to return the index number of the highest selling salsa to us... (by deleted account xyzzy)
Trouble reading csv file into vector of struct
So I have a csv file with stock information and I'm trying to read the file into a vector of a struc...
Apr 18, 2019 at 4:09pm
[8 replies] Last: Hello AshtoKream, The order of the arguments makes no difference. Wha... (by Handy Andy)
April 2019 Pages: 1... 89101112... 24
  Archived months: [mar2019] [may2019]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.