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 Duoas)
Investment program
 
C++ is like Voodoo to me right now. I need help displaying an investment account for two separate pe...
[17 replies] Last: The first time into the loop the value of Lprinciple would be 1000. I... (by firedraco)
by Pg0715
qs on to read numbers from a file
 
ok so I have three numbers in a file called input.dat and im able to call them but I want to know ho...
[1 reply] : This may be a dumb dumb way but hey, yolo. This uses the stdio header... (by kofikofi123)
Printing only a certain section of a binary tree
 
Hello, I am having trouble with setting up a program to output the data values along a binary tree b...
[3 replies] Last: It sounds like you need a find() function to find a node with specific... (by dhayden)
Stuck, Linked List find function.
 
Assignment due tomorrow. So this is what I am trying to get in my linked list project. I am stuck on...
[no replies]
by Myna
Write lottery program using array!!!
 
Write a lottery program that generate 5 random numbers from 1-20 inclusive. I had the whole things b...
[no replies]
HELP w/ loops
 
Need help to slow down this loop... #include <iostream> #include <string> using namespace std; ...
[no replies]
by sya
help me please
 
why i cant get the answer?its different from what i calculate with the calculator...help me please.....
[2 replies] Last: i got it...thanks a lot (by sya)
quick question of triangle shapes
 
Hey so I have a program that creates a triangle with a user input height. what I need now is to figu...
[2 replies] Last: thanks for the help man, I don't know why I was having such a hard tim... (by MrBond90)
endless input
 
Its causing me to put in endless input, never outputting anything from the loop, any ideas? I am als...
[no replies]
data entry program help
 
Evert time I run this program, when I select the first option to add a user, it skips over one entry...
[2 replies] Last: Thanks it worked! (by MattBess)
by akai09
iteration logic help
 
hey guys i need help with iteration logic. i need help with 1-prints out the integers between 2 a...
[7 replies] Last: @akai09 Just as everybody else is saying p[lease show us the code you... (by kemort)
Problem with Total() function Depending on Amount of Numbers in File
 
The following code has been giving me much trouble. It is supposed to be a program which computes ...
[1 reply] : How big is the variable length array numberstorage that gets created a... (by pheininger)
need help
 
How can the output be 2.2 when child() points to a invalid memory address by the time child() re...
[6 replies] Last: If the particular compiler is using a stack for storing its automatic ... (by pheininger)
by goldyn
Only running if statement, what to do
 
Hey guys, I'm almost done with my assignment but it seems as though it's only running the If stateme...
[4 replies] Last: Since you started a new thread and thus we do not have the original pr... (by pheininger)
Mouse click problems
 
I'm using GetAsyncKeyState() to check if the mouse is clicked. However ,it doen't detect clicks whe...
[1 reply] : try this if(GetAsyncKeyState(VK_LBUTTON)) { //left mouse button... (by IceStorm)
Reading in file wrong output
 
Everything is working fine, except when I put in an empty file, it gives me a max and min of -858993...
[2 replies] Last: Where in the code did it go wrong? I can't find the mistake. If nothin... (by vextria)
by csharp
Need help with Structs
 
Hello, I have to write structs with some functions, and I am not sure if did them correctly! ...
[1 reply] : So what is the problem? (by IceStorm)
Counter Controlled While Loop Error
 
Im having difficulties doing a counter controlled while loop and i get these errors and i just cant ...
[2 replies] Last: Never mind it works now. Thanks (by Malik611)
Pages: 123... 76
  Archived months: [sep2014]