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)
Numdays class need troubleshoot help!!
 
I cannot seem to get this to run, I'm self learning, so this isn't as homework assignment. My errors...
[1 reply] : First of all,you dont need to include ,iostream. and <cstdlib> twice.I... (by LadyInRed7)
Beginner console games tips
 
Hey, i just can't find any good guides on making a "simple" snake game for example. Where do i start...
[3 replies] Last: I appreciate all the responses, but i want to create a 2D game in c++... (by YourBroAlex)
Inheritance and virtual functions
 
Hi All, I am working on an assignment, where I am meant to construct a Point, and Shape class, from...
[3 replies] Last: Yes, but you may be making a common mistake: just because the construc... (by dhayden)
Quick theory question about STL algorithms
 
Hi, so here is the question : How does an STL algorithm take a container as an output argument? I ...
[2 replies] Last: Thanks man for your reply :) (by etrusks)
can anyone help me out please?
 
Write a C++ program to keep records for one student.The program prompts user for a file name, opens...
[1 reply] : Well,the first time someone reads this,it honestly seems like as if y... (by LadyInRed7)
which IDE should I use?
 
I'm a beginner in programming and wanted to know the best free IDE that I should use. I am currently...
[3 replies] Last: Code Blocks is a good option. www.codeblocks.org/downloads And Orwel... (by LadyInRed7)
Problem with my File IO class
 
Hey guys,I am still stuck in doing file IO and heres the program thats not working. #ifndef P...
[no replies]
How to sum the column
 
I m the beginners.So now,i have a text file ,the content inside the text file is 2 3 5 4 2 3 5 3 2 2...
[4 replies] Last: Please help me this question,urgent. (by leoteoh)
error: expected primary-expression before... (1,2)
 
I can't figure out these errors. Every function call I make in the cpp file gives me these errors: ...
[39 replies] Last: Ah, alright yeah it works. For this code I was trying out Xcode instea... (by brosephius)
Hello plese I need help!
 
I need to make a program that Write a program that has two numbers and then prints all the numbers t...
[3 replies] Last: I have 13 tasks, if I know how to do this i could do all of them i thi... (by hopkins123)
Need help with temperature program that involves arrays and functions
 
Hello everyone, this is my first time on this site and my first post. First off i am taking a c++ cl...
[13 replies] Last: Look at http://www.cplusplus.com/forum/beginner/163322/ (by keskiverto)
Help with function that print odd, even, prime, perfect square using arrays.
 
The program is to print: - number 5 129 times - even numbers until 200 - odd numbers until 200 -...
[1 reply] : Please use code tags: [co de] Your code [/co de] Read this: http://w... (by coder777)
Incorrect Percentage in Answers
 
Develop a function Lottery that simulate a lottery drawing using balls numbered from 1 to 10. Assume...
[1 reply] : You're doing integer division: percent_of_even = (even / (draw * 3.... (by cire)
if statements
 
Let's say i want to ask a if question and i want that to unlock another if statment which shouldn't ...
[no replies]
by AT8795
Writing a Function with an Array
 
Hello everyone. I was attempting to make a code for a problem that has 2 parts. A: Write a funct...
[7 replies] Last: Exactly that, fix some numbers. (by keskiverto)
Calling function in switch statement, not all control paths return a variable
 
Not all control paths return a value in the int choose() function. I'm not sure what the issue is, ...
[4 replies] Last: Thanks for all the help all I need left is to loop it, but I'll figure... (by Cpphurts)
Cleaning up code -- grouping parts in {}
 
Lets say I have a ton of valid if statements as follows: if (){ } if (){ } ...
[3 replies] Last: If you have thousands of lines of code in a function, adding extraneou... (by cire)
Making a Theater Program
 
Hello, I'm looking for help with creating a program that makes a multidimensional array and the user...
[5 replies] Last: Wouldn't I just add another if statement in between lines 24 and 29? ... (by whitenite1)
Pages: 123... 97
  Archived months: [feb2015]