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)
by stlund
Need help with a Highscore program.
 
Hello, so I'm trying to code a highscore program, with 2 classes and some methods. But when I try...
[5 replies] Last: I cant get this to work, started to use vector instead of the regular ... (by stlund)
by ninibt
Grid movement
 
This is the "game" that i am learning to create. Dungeon Crawl Requires: variables, data types, a...
[no replies]
Class, default constructor ":"
 
Hey, Can you guys explain me a little bit more the : after the default class constructor. For...
[4 replies] Last: Note: someClass(float _x, float _y) is not a default constructo... (by Grey Wolf)
Binary predicate help
 
Im a little confuse on binary predicate If i got a code like this bool Generic_algorithm::isShor...
[6 replies] Last: Thanks guys i got it now (by procastination)
Operator Overloading in Value class
 
I was reading this code in a book and i dont get it can any body tell me what is going on in this??...
[8 replies] Last: Visual C++ != C++ though... Visual C++ is a product not a language, ... (by Grey Wolf)
Sending form as parameter in c++
 
int main() { Form1^ myform1 = gcnew Form1(); myform1->comboBox1->Items->Insert(0,"String1");...
[2 replies] Last: How to send a win32 form as parameter to another userdefined function... (by Grey Wolf)
Takes Two Inputs To Exit.
 
Hello! I have some code here that outputs a menu of options to calculate the area of a circle, recta...
[2 replies] Last: Some of those compiler warnings point to issues which need to be fixed... (by Chervil)
by zionet
Generate N Perfect Numbers???
 
EXAMPLE: 1 6 2 28 3 496 4 8128 5 33550336 6 8589869056 7 137438691328 8 23058430081...
[3 replies] Last: The problem with solving this problem is you are rapidly getting into ... (by ChipsNChips)
Strings
 
hey guys would you plz tell me what is the difference between at() and these operators in accessin...
[1 reply] : http://www.cplusplus.com/reference/string/string/at/ http://www.cplusp... (by lsk)
3 sorts of random arrays
 
Write your question here. Can someone explain to me what is wrong with this program. It is supposed...
[1 reply] : int list1 , int list2 ,int list3 ; int list1 , list2 , list3 ; v... (by lsk)
SUPER BEGINNER class question
 
What are the contents of the two Name variables after each of the following statements assuming they...
[2 replies] Last: Your output is correct. Well... except for the yourName=^ and myName=... (by discofire)
The meaning of int
 
When doing the following code I had accidentally used int instead of char and when running the code ...
[7 replies] Last: [quote=tiny screaming yak]That's because you need to define it as a lo... (by giblit)
findavg function in array
 
I've written this program before, but now it consists of separate functions. I'm trying to get my av...
[5 replies] Last: This is the simple way to do it, working perfectly #include<vector>... (by blankpat)
Need help with a hw question that involves structs and functions
 
to keep things simple the question asks me to read a menu for restaurant from a file, have the user ...
[4 replies] Last: Thanks Yanson, that worked. :D (by unkn0wn0192)
Nested loops
 
Hello can someone help me understand the first if statement, i know what % does but both i and j are...
[7 replies] Last: What i still don't understand is when does 'j' go up because both the ... (by Jacobhaha)
help understanding std::string erase
 
Hello, i have been looking at strings and im curious why the code snippet attached doesnt remove all...
[5 replies] Last: Thanks a ton :). (by Ozwurld)
Multi String Array Program
 
Here is the problem: Write A Program That Allows You To Enter Cd Names Into An Array Of Strings And...
[1 reply] : I figured it out... #include <iostream> #include <string> using n... (by dash127)
Global class member?
 
Hey, I'm new to the forums, and got a little question =]. Let's say that I've got a class wich...
[4 replies] Last: Sorry, I did not pointed out, but in my program, it's not actually a f... (by Vect0rZ)
Pages: 123... 88
  Archived months: [may2014]