cplusplus.com
C++ : Forum : Beginners
 
cplusplus.com
Information
Documentation
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs


Beginners

by admin
news Welcome -- read before posting! closed
 
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)
question Console Closing Down closed (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)
post How do I declare an object function?
 
I've been looking everywhere for this and the answer is probably really simple, but I haven't been a...
[4 replies] Last: oh wow thanks, that was my first try and all I was missing was the par... (by MeltyGoblin)
post [HELP] On my school assignment
 
Im completely lost on how to even start this assignment. If someone could give me a push start in th...
[no replies]
post vecotr working for .erase but not .pop_back
 
in reference to:userMain.BookingsVector.pop_back(userMain.BookingsVector.begin()+book_name_select); ...
[12 replies] Last: the vector isnt empty, it isnt the loop<size, it just doesnt display t... (by maharris)
solved Assistance is appreciated
 
I am very new to programming and still don't totally understand how everything works, but I'm postin...
[5 replies] Last: Thanks to the replys, I managed to get my menu working ! This is a dif... (by JRimmer)
post Gray code
 
Hi. I am asked to write a program using recursion. when input n, then program will generate all l...
[12 replies] Last: Here is a program using recursion. And I think it will fulfill your ne... (by sazzadmim)
question Uses for Pointers (1,2,3)
 
What exactly is the point of pointers. From what I've seen all you can with them is: *x=&y which...
[50 replies] Last: @ Moschops Exactly, I know when they arn't needed but not how or wh... (by BrokenSilenceDev)
by myoni
post gets not working
 
why gets() is not working ? here's the function code: int searchStr(char **Str, int &size) ...
[1 reply] : Do not mix <iostream> with <cstdio> in your code. Use one or the other... (by L B)
post Awkward question about writing longer programs.
 
I've been working on a text based RPG for a couple of weeks now, even though this exact version like...
[3 replies] Last: Create the class'/structs within main and then pass them to other func... (by Lynx876)
by Ilhan
questionsolved First C++ Attempt/Total Noob
 
Hey there, guys. Very first time doing any type of coding, literally started watching videos yesterd...
[12 replies] Last: Yes, but it is often unclear from just that line whther the loop goes ... (by L B)
by poda19
question what is static linking?
 
my programs request for some dll files when i run them on other machines i do not want to copy the ...
[5 replies] Last: https://kb.iu.edu/data/akqn.html have already read that. as i said it... (by poda19)
by rtom40
post function pass control
 
Can anyone help me with this?.... How does a function pass control back to the calling function?
[4 replies] Last: @Aramil: Firstly, you don't even need to have a prototype. The actual ... (by L B)
solved istream >> operator
 
Consider the following snippet: void readFromAFile(string filename){ ifstream is(filename); ...
[3 replies] Last: You're welcome! Happy coding (: (by Lynx876)
post I have a weird line printing and cant find it
 
I know this is a simple mistake but I think I am snow blind at this point. I am getting a "garbage o...
[2 replies] Last: Works fine for me too. VS Express 2005. (by cnoeval)
post I have a weird line printing and cant find it
 
I know this is a simple mistake but I think I am snow blind at this point. I am getting a "garbage o...
[2 replies] Last: Duplicate post: http://cplusplus.com/forum/beginner/61334/ (by cnoeval)
post What is the point of this kind of private data?
 
Hi, While I read about classes in C++, I often see examples like this: class Something { publ...
[8 replies] Last: The only way for Magikarp to become Gyarados is through evolution E... (by yasar11732)
post error: no match for 'operator<<'
 
This is my code Project.h #ifndef PROJECT_H #define PROJECT_H #include <iostream> #inclu...
[6 replies] Last: I am currently not at my laptop to check it but Im fairly certain when... (by VladTeppi)
post Why does N keep changing its value?
 
In the program below, when I input a number bigger than 99 for variable N, N changes its value duri...
[6 replies] Last: So would this mean that memory location of N is next to the last elem... (by clanmjc)
solved C++ Game Specification Help PLEASE
 
Hi members, I have made a game in C++ and I need to do specifications for it. Is there any example p...
[2 replies] Last: Thanks very much you were of really great help my friend. Thanks again... (by orangeapple)
Pages: 123... 66
  Archived months: [dec2011]