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)
Verify correct usage of malloc and free.
 
Hi I am following the Stanford programming paradigms series. We have a function (that works) for a g...
[no replies]
by EvE12
Exception handling
 
How to try and catch this error? do { cout << "Please enter number of rows of...
[2 replies] Last: Works, Thanks (by EvE12)
My collision is daftly slow - please help.
 
Hello. My Collision code is *very* slow I guess. The more objects I add the slower the game gets. ...
[11 replies] Last: To be fair, I was wondering that when I played (briefly) with your gam... (by Duoas)
please helpme
 
hi, emm I don't understand but, my program on the moment to run, say : segmentation fault, and I don...
[2 replies] Last: thanks, a friend does tell me who's the problem, thanks tcs (by JOSEluis2796)
Parse issue, can you find it?
 
keep getting a "parse issue, expected ')'" where is it?? } else if(age >= 80 && ((age > 100) !! ...
[5 replies] Last: thanks! (by musabji)
Pass arguments to stuff? HOW IZ DO???
 
I'd like to be able to pass arguments to functions, based on user input. For example, the user co...
[11 replies] Last: This std::istringstream s(in); return {std::istream_iterator<std::stri... (by MiiNiPaa)
Not saving input and updating. (1,2)
 
I'm pretty sure the problem is because I'm not referencing the input once the function terminates. I...
[22 replies] Last: Alright I'm almost done with this project. All I need to do is add the... (by deathslice)
by Xhobi
Solve it please !!
 
Write a program which print class report. There are 5 students in the class. Total subjects are 5 (P...
[3 replies] Last: people will help you where you stuck. if they do the homework for you ... (by anup30)
help please
 
So I am making a game in C++ and this is a portion of the code i am having a rough time with. So wh...
[6 replies] Last: Thank you guys i figured it out (by mercedec)
learning to write a function
 
whats wrong with this program... and can we have different variables in function prototype and funct...
[6 replies] Last: 1. When does the function need return value? In C++, you give the ty... (by dhayden)
what's wrong ?!
 
ok so.... I have this formula: T(n) = n(n+1)/2 where n = 123456789. I have to calculate sum of...
[10 replies] Last: Okay, the problem is that (123456790 * 123456789) /2 is an integer e... (by dhayden)
Declaring 2d arrays globally and locally
 
Hello. In this example int main() { int A ; return 0; } the program doesn't work, and a...
[4 replies] Last: Local variables are stored on the stack which is typically smaller tha... (by dhayden)
MySQL Connector efficient use
 
I am fairly new to SQL and I want to make sure I am using the connector as efficiently as possible B...
[no replies]
help with a function
 
Need a little help with the following: function sum4 seems to always return value 1 no matter what ...
[2 replies] Last: Thanks for the quick reply, this has indeed fixed the problem. Do comm... (by nerdpwn)
by Jon15
Classes and functions
 
Hi, I know I can't ask for a program to be written for me (I wish), but I am lost and almost overwh...
[14 replies] Last: @Jon15 --- To give you an example on why we need a constant 48 I will ... (by PopEye)
by savanh
help me
 
hello, i worte this code but i want to reverse the elemnts after show up in screen but i stuck and i...
[3 replies] Last: Does this fit your intention? #include <iostream> using std::ostream... (by tcs)
structure object
 
#include <iostream> using namespace std; struct a { char map ; }; int main() { } a initia...
[6 replies] Last: @OP: Maybe you want { {a++,a++,a++},{a++,a++,a++},{a++,a++,a} } ins... (by tcs)
Letter and number
 
What is the variable that allow both letters and numbers inside? Here is an example of the code. It ...
[4 replies] Last: Char can hold charachters (both, numbers and letters). Like Minipa sai... (by hekri)
Pages: 123... 110
  Archived months: [oct2014]