Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
 
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duthomhas)
by cirro
am having tough time to get the correct answere
 
i cant get this to giv right answer on the second else if .when i age is less than 18 and cash is mo...
[no replies]
Linked List Testing Problems
 
I am continuously getting an error while attempting to test a linked list with nodes that says "the ...
[7 replies] Last: On the testing part, I am now getting an error on line 14 stating that... (by kmheflin712)
Stop Pointing
 
I am writing a helper function that is to be used by both a copy constructor and an overloaded assig...
[12 replies] Last: I got the function working. Thank you for the example, and everyone's ... (by stoneJax)
Pointers
 
I am trying to write a function that uses a number of pointers to nodes in a linked list. The pointe...
[9 replies] Last: I had to tweak my function some plus add some code for another case. D... (by stoneJax)
Copy Constructor
 
I am trying to modify a copy constructor from a previous program so that it can work with a template...
[17 replies] Last: Thank you for pointing out the things to get rid of, and making sure t... (by stoneJax)
How to store user input in array and sort
 
How would you rewrite the code below to have the user inputs stored in an array and then show the gr...
[3 replies] Last: Okay thanks. I will try to see what I can do myself (by tetsuuuu)
Binary Tree, function isn't reading in
 
I've got this program thats supose to translate morse code into the message. I am having a problem...
[6 replies] Last: this one hard codes the tree into an array I did the same thing last... (by dutch)
How to Show Highest and Lowest number
 
Hello, I was wondering how to print out the users highest grade and lowest grade after the loop ends...
[7 replies] Last: Simplest option would be to check that the conditions you want are tru... (by Ganado)
by hbcpp
Universal path in windows
 
I want to write a program that creates a file and save some data in it and the location of this file...
[6 replies] Last: [quote=jonnin]I don't recall if you can read the environment versions ... (by Ganado)
Linked Link Assignment
 
I need help with this linked List assignment, Using an appropriate definition of ListNode, design...
[6 replies] Last: this is what i have but there are errors and im not sure if what i did... (by cblack618)
I need help with C++ code issue
 
So, I can not understand or figure out how to get the payment amount like a decimal form. (EX: 752.6...
[11 replies] Last: Howdy. Many students really like writing essays, although writing it c... (by vondes)
by R0SsAN
Fastest way to import a text file
 
Hi, I'm writing a program that takes txt files as input and looks for strings in them. Until now I ...
[6 replies] Last: Here's an example using read. Note that since it needs to determine th... (by dutch)
Can't get my menu to repeat?
 
For some reason, my code won't repeat. It is supposed to repeat until the user says so but it just w...
[2 replies] Last: Once you get it working, see if you can change the logic so you don't ... (by dhayden)
Trying to setup a graphics C/C++ invironment
 
Hi, I have been using CodeBlocks IDE for some time to code in C++. Earlier I had programmed a 3D ...
[12 replies] Last: I would totally steer away from Win32 programming, though. Screwing ar... (by Duthomhas)
Counter and accumulator not working. Loops and functions
 
This is the prompt of the assignment, and I cannot get the counter and accumulator to work in the PA...
[4 replies] Last: It works now, thank you so much! (by aliciabilbao)
by asxxx
Data structure/Tree
 
Hello.I start my adevneture with trees and I know only about binary trees I want to build family tre...
[9 replies] Last: Is there a SQL to this story...? (by Duthomhas)
URGENT!!! Write a program that produces the binary equivalent of a non-negative integer input by the user. (1,2,3)
 
I have a question for my coding class But I have no Idea how to do it. or where to start. I am not s...
[44 replies] Last: It appears that you're spending your time asking people for the answer... (by dhayden)
Discount C++ program using a switch statement
 
Hello there, so basically im trying to do a small program that let the user enter a value then if th...
[5 replies] Last: not every assignment makes sense :( int swkey = sales /250; //0-25... (by jonnin)
Pages: 123... 15
  Archived months: [feb2020]