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)
Square root function help! (1,2)
 
Im trying to make a square root function that increments the double variable i by 0.1 every loop, ho...
[26 replies] Last: Oh sorry Ideasman, I think i know what you mean now. just revised. I n... (by Irishfitz)
Pease Help Me
 
how to draw a simple triangle using ncurses nested for loops * ** *** ****
[4 replies] Last: Why did you make 3 topics for this same question? Read the sticky's be... (by giblit)
by giblit
Simulation problem (1,2)
 
I am making a simulation program based on some old forum topic that I thought would be interesting t...
[22 replies] Last: Yeah thanks for tip I used a constant for the number of simulations I ... (by giblit)
Need some help.
 
#include <iostream.h> int main() { int p,t,n; cout << "N="; cin >> n; p=1; t=0; while(p<n) ...
[1 reply] : Do while is different than while loops. While has a min runs of 0 and ... (by giblit)
by new2c
array:How do check for duplicate numbers?!
 
I'm stuck on my lottery game. I got mostly everything to work but the part where the program checks ...
[2 replies] Last: I tried doing that but it didn't work. I'm saving the numbers directly... (by new2c)
by theguy
edit: need some help
 
Thank you!
[6 replies] Last: @nedo: you are stopping too late while( geline(input, line) ) ... (by ne555)
by dpixel
Global variables and SDL keyboard array
 
I understand that it's worth avoiding global variables. I had a problem with one that I think I sol...
[3 replies] Last: The difference in efficiency is mostly that you don't have to update t... (by Peter87)
by Snolla
Just did my overview of the first 3 chapters :D:D
 
I just created a code encompassing all the techniques in the first three chapters of my book. I'm br...
[3 replies] Last: Techniques Covered: - Namespace Where in your code are you using ... (by Daleth)
by jidder
Declaring array of class object with constructor
 
Is it possible to create an array of objects from a class with a constructor that requires input. E...
[7 replies] Last: Hey, That still doesn't work for me and after looking around other pla... (by jidder)
by Daleth
Linked Lists Test program
 
I'm going back to the basics and relearning some concepts I've been kind of putting off like working...
[4 replies] Last: Ooh... After doing a little research, I realized I am using the wron... (by Daleth)
Passing arrays through functions w/bubble sort.
 
My Assignment: Create two arrays data and sdata. Input user data into array data. Copy the contents ...
[2 replies] Last: Ugh. I moved the display(data,maxLength) above the copy/sort calls and... (by HotSoup)
by xsxs
array help!
 
Hi! I recently began learning arrays and I was wondering if someone was able to help me with the que...
[4 replies] Last: [quote=xsxs]It just does not compile the code, I followed the instruct... (by Yanson)
by Snolla
Difference between Arrays and Enumerated Constants
 
I'm currently learning about arrays and just just finished the lesson on variables. It seems to me t...
[4 replies] Last: Thanks for the quick replies :D This forum is a great help (by Snolla)
by Jace
Working on a Text Adventure
 
I am working on a text adventure right now, and it's pretty good if I do say so myself. But right no...
[12 replies] Last: If you are asking about how to do something with the console without w... (by Giraffatron)
I need help writing a program?
 
I started but I am lost I don't understand classes, functions, etc and my assignment is due tomorrow...
[8 replies] Last: Yeah no worries today was my last day in that class! Yay! (by Tiffany143)
Array of arrays, tree of data
 
Write your question here. I have two arrays, data1 and data2. Each has 2x256 data values (basically...
[5 replies] Last: Amazing! This is gold. Thanks a lot! Now I am having another problem. ... (by TheSource007)
Need help storing user's input
 
My assignment is to take a string that a user enters and change all the characters in the string in ...
[3 replies] Last: Oh wow, I counted and double counted my brackets, can't believe I miss... (by idealcat)
Need Help!! (1,2)
 
I need to know if this code will compare two values in arrays at the same index and if it is above a...
[29 replies] Last: how to tally then output the number of trues in the meet array. It r... (by TECKSPEED)
Pages: 123... 118
  Archived months: [mar2013]