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 blobeb
I have a question about c++/sfml
 
I have just started learning c++ and im learning from a book called 'starting out with c++ early obj...
[2 replies] Last: What programs should i make? (by blobeb)
I'm having trouble with string input in a loop
 
#include <iostream> #include <string> using namespace std; int main() { string name; st...
[5 replies] Last: JLBorges, thank you. This solved my problem and helped me to understan... (by eyeless71)
loop problem
 
hey every one... i want an idea about the meaning of if(x %2)???? when i working with this problem...
[2 replies] Last: Building on what Dhruv already stated. The modulus operator (%) retur... (by Daleth)
Working code, but it's one giant "main" function. Help breaking it up?
 
Alright, after much frustration I have a code that does what I want. The problem is that I'm not com...
[6 replies] Last: @agnophilo Couldn't you just make the whole thing one big function a... (by andywestken)
How to find a char in a string backwards
 
Hi, how if i have the following string: "My name is Bobby" how can I find the # of where the space i...
[1 reply] : I did not find out any error std::string s( "My name is Bobby" ); ... (by vlad from moscow)
Executables
 
What does it mean when a binary file is not found. I'm trying to use Eclipse to test some code but I...
[1 reply] : Basically either Eclipse is not producing an executable after compilat... (by Ramzi89)
c++ program begginer
 
Write your question here. hello everyone. i been having problems with my code and i was hoping you...
[5 replies] Last: When you talk of assigning something to each name, I think you mean th... (by Chervil)
by Leon23
The "ate" mode!
 
Hey guys! I am confused about that guy called the "ate mode" in file handling. How do I use it? I me...
[1 reply] : He probably meant ios::ate mode. It will place cursor position at end ... (by MiiNiPaa)
Preserving spaces in the following loop
 
I am reading the characters in one by one from a .txt file in order to manipulate them individually....
[6 replies] Last: The reference section of this site is very useful. (by keskiverto)
Saving data
 
So I just finished my first class in C++ and I have really enjoyed programming. I have begun to crea...
[1 reply] : At the core, file I/O is handled using the fstream library. http://www... (by iHutch105)
Over Filling Arrays
 
I have a loop that should fill an array with data from a text file until the end of file. when it fi...
[2 replies] Last: Thanks that fixed it (by dhilchie)
Problem In a Stack
 
Hi guys... I'm having a problem on my dynamic allocation stack...I try many changes, but unsuccessf...
[6 replies] Last: Thanks coder......I don't believe one "&" would solve my problem...¬Â... (by mystikal242)
How to find out the number of seconds from 1700 until the specified date and time
 
Hello! How to find out the number of seconds from 1700 until the specified date and time? Now ...
[13 replies] Last: With GNU date: # date -d 1700-01-01 +%s -8520341992 # date -d now +%s... (by keskiverto)
"new", "delete", "memory leak"
 
Hi! I have read several posts in the internet, and what I understand is as follows. Please correc...
[4 replies] Last: ok.. will need to read up more about RAII. thank you! (by abhishekm71)
Which Topics should i Learn to write a Library managment system
 
Hello, I Am a Begginner Level C++ Programmer, And Look forward in getting assistance from e...
[no replies]
want to find the fault
 
i write a programme to following question but it does not run correctly .what is wrong with it? que...
[3 replies] Last: Works for me. Remember, you are outputting into file, not on screen. A... (by MiiNiPaa)
by sams
pointer in c++
 
what does it mean? return $this->getSeoTitle($this->CFG['db']['tbl']['student'], 'name' ,$name...
[1 reply] : this->getSeoTitle(/*...*/) Calls a member function of this pointer.... (by MiiNiPaa)
Letter Count Function
 
So I need to decrypt a file, and my first step is to find the most common letter. I've written the f...
[6 replies] Last: The other way to determine a required element of the array is the foll... (by vlad from moscow)
Pages: 123... 136
  Archived months: [mar2013]