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)
Error On Array Output
 
Getting Weird Output #include<iostream> using namespace std; double gpa(char *, char*); int mai...
[6 replies] Last: thnx error is fix (by bird1234)
Working with arrays
 
Hello. I'm new here. I need guidance with a program I'm working on for a c++ lab. Thanks in advance....
[no replies]
how to fix these errors?
 
So, I have this homework where we are working with overloading. It has a double pointer with 2d matr...
[3 replies] Last: You do mean something like the 'maxsize' in //inverse function void I... (by keskiverto)
by mcp123
Adding numbers to a 2D array with no duplicates
 
For a module in college I have to make a game. I don't have much experience with coding but basicall...
[no replies]
Infinite parameters
 
How I can rest of the params? I did like this, I want to cout every element #include <iostr...
[9 replies] Last: Yeah, you're right! But here's now, how I can change the value of the ... (by DirtyBlasion)
Deal or No Deal with arrays
 
I have a homework assignment and I feel like half way done with it but it does not run properly. ...
[2 replies] Last: I don't see that 'tries' gets reset to 0 when a new player starts. I... (by wildblue)
Char array error
 
I am not getting the Second input #include<iostream> using namespace std; void hello(char ...
[1 reply] : i get it i just have to use cin.ignore(); between line no 8 and 9... (by bird1234)
Displaying Text in a Text Adventure game
 
I'm making a very wordy text adventure game but the text keeps getting cut off. I tried using endl b...
[4 replies] Last: when a scentence reaches the end of a line, it will go to the next li... (by Chervil)
by morgl
.exe has stopped runnung
 
Greetings! :) Can you please tell me why does windows says ".exe has stopped running" after i give ...
[2 replies] Last: Thank you integralfx! :) (by morgl)
array multiple data types???
 
I want to make an array who have for example: c = 0; c = "fgdfg"; c = 2.0 is th...
[1 reply] : Is this possible??? It is possible. But it is COMPLEX. Each eleme... (by Wakana)
Final Project: Stuck on adding planets and its data
 
This is my final project assignment: Write a C++ program that will help astronomers keep track of p...
[5 replies] Last: You can use an iterator instead of the range loop: for (set<Planet>... (by gunnerfunner)
What would be a method to call a user input from one function to the main function?
 
I'm trying to do a project for school, and I'm a little stuck. I have to simulate gas consumption of...
[4 replies] Last: SamuelAdams, you included <string.h> when clearly you meant <string>. ... (by Hydranix)
C++ Program not compiling
 
Hello all, I am having issues with a specific task with writing a C++ Program. Any help on what ...
[11 replies] Last: mirhodes, I have made a plausible guess at what is probably in those ... (by lastchance)
Hangman Search and Sort Algorithms
 
I cannot figure out the search and sort algorithms for a hangman game I am designing. I am supposed ...
[1 reply] : Why so complicated? Why don't you just use a string and its find meth... (by Thomas1965)
by dawe73
C++ book
 
Hello. I'm deciding between two books: C++ Primer and Programming: Principles and practice using C...
[2 replies] Last: Senhor, I've already read so short book and now I'm serching for somet... (by dawe73)
Circle coodinates using GUI
 
What would be the necessary steps if I wanted to make a random number of circles within a circle? ...
[3 replies] Last: const int max_radius{ 200 }; Circle outer( { win_width / 2, win_heig... (by integralfx)
Prime Nnumbers and Genterating memory
 
The program needs to get all the prime numbers from a random generated array of 50,000 integers, Tak...
[7 replies] Last: #include <iostream> int main() { const int size = 50000; int... (by kemort)
Class Employee
 
How to print message when year work is negative? Please help! #include "employee.h" #include <ios...
[no replies]
Pages: 123... 57
  Archived months: [oct2016]