Beginners - January 2018 (Page 2)

Odd Output
First I add a stock(selection 2) with the input: "add", "18", "300". Second I add another stock(sele...
[2 replies] Last: Whoops. Thank you. (by rjphares)
by Millet
Help Homework
I've been working on the below question for a little bit. I answered all of the questions, but I'm n...
[1 reply] : ¿why the weird quotation signs? ¿did you bother to compile and run y... (by ne555)
Program crashes after populating array
I am trying to make a simple game with multiple players, but the number of players is determined by ...
[2 replies] Last: Thank you, I can't believe I overlooked that. (by DocterHow)
Why when I display doubly linked list data I have nothing?
Hello, I have created a simple doubly linked list for a telephone directory program. When trying...
[5 replies] Last: In push_back, what if there is already an item in the list? You need t... (by dhayden)
Need help(won't read the array)
Hello, So this is part of my homework. I have been stuck on this code for hours now. I feel like I'v...
[2 replies] Last: fixed it myself finally!!!!!!! (by lolskyy)
Array problem
Hello. I tried to do this simple "calculator" but it doesn't work the way I want. It gets result rig...
[2 replies] Last: Thanks you very much :) (by Lager159)
Function accepting arguments of objects with 2 arrays
Hello again! I've almost figured this out, but I'm confused on how to pass some arguments to my fun...
[1 reply] : You would pass it in the same way you pass in any other variable. How... (by Ganado)
Basic Looping Issue
Hi there, pretty new to C++. I'm trying to write a program where I make two different arrays of rand...
[3 replies] Last: Arrays are old stuff for me. They go back decades - since the first ve... (by Thomas1965)
How can i save on an int or a char depending by the input?
I still didn't figure out how to do it yet. Imagine that you can input everything you want, but when...
[2 replies] Last: Thank you! It's kinda like emu8086 :) (by Luca Strano)
Dynamic Programming Coin Change Problem
I am having an issue with my coin change program. The idea behind the program is to take input from ...
[1 reply] : #include <fstream> #include <string> #include <vector> //function to... (by Enoizat)
Can someone help me get started with this RockPaperScissors Game * Requires: player_number is eit...
[2 replies] Last: Hello offset221, The following gives you a place to start: * Requir... (by Handy Andy)
Hi there, I am just wondering: can I make REST API calls using C++? If yes then where should I look ...
[1 reply] : can I make REST API calls using C++? Yes you can. If yes then where... (by Thomas1965)
Help! I need code explanation
Hello, guys!! I have to answer what will the variable values be in the following code, but I do not ...
[2 replies] Last: Here is the code with indenting and some output in the constructors an... (by dhayden)
by mdz
range error
Hi eveyone, as a beginner in both this forum and c++ please bear with me. I have two vectors of the ...
[2 replies] Last: I'd recommend to try and avoid those kind of errors, as for their high... (by benhart)
Possible Issue with Compiler?
Hello, I am having an issue trying to use the <iomainip> library. When I try to include it in my cod...
[2 replies] Last: Do you mean <iomanip> ? You do mention your IDE but not the compiler ... (by keskiverto)
Run error.
I wrote a program for class but it never runs correctly, it just gives me that blank black screen wi...
[2 replies] Last: guessing that your file failed to open, which would bypass all the cod... (by jonnin)
If I use spaces in a string, it trails over into the next string input
I am using strings, but if the user includes spaces in the input, the next word after the space is u...
[4 replies] Last: If there are an unknown number of words in the string, use getline. ... (by lastchance)
by al8888
deep copy incremented values incrementing to much
Hi I'm doing a chapter on deep copy in my book and the question asks me to create two objects one wi...
[3 replies] Last: Ok thank you kindly for your help, (by al8888)
Reading from a text file
Hi! I'm trying to read from a file but I'm doing something wrong. If someone can help me please. ...
[6 replies] Last: Hello Trixypu, You are welcome. If you have your answer be sure to p... (by Handy Andy)
by gn4cys
Learning curve & progress question
Hello, I need feedback as to my progress as beginner and if i am correctly approaching learning p...
[3 replies] Last: Thanks. Both answers are very helpful. JLBorges answer is also very m... (by gn4cys)
January 2018 Pages: 1234... 22
  Archived months: [dec2017] [feb2018]

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