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)
overloading [] operator
 
Hi, im having trouble overloading the operator. Heres what im trying to test: void test() { co...
[2 replies] Last: int& IntArray::operator (int i) { return i; } 'i' is your index... (by Disch)
another pointer exercise again
 
Hi, i was dong next of my exercises and i kind of did it but again there were few questions that i w...
[no replies]
Problem with for / while & nested loops
 
Hi all, I'm very new at programming, still at introductory level. I'm trying to work out this proble...
[1 reply] : Does this even compile? Because it shouldnt. You forgot a semicolon ... (by TarikNeaj)
PLEASE HELP Parsing
 
I'm not sure how to start on this, I am a beginner and our teacher didn't do a good job of explainin...
[no replies]
Guessing game help.
 
In the follow program, I am having an error when I write to an ouputfile. When my program asks the u...
[no replies]
by iMarsC
Version of C++
 
Hallo, new here. I'm an experienced user of Turbo Pascal 7. ( robot/machines: lot of math lik...
[6 replies] Last: Thanks you all! Gonna try it the coming days! I'll report my progres... (by iMarsC)
by oseri
Memory pools and automatic variables
 
I've made a linked list implementation based on a memory pool. But as I came to analyze the code, I ...
[no replies]
Another pointer exercise
 
Hi, i was doing another exercise from my book and it all works but it feels like there must be a bet...
[2 replies] Last: 1st tnx a lot for answer :) I used cout just to check out if the out... (by etrusks)
How to write a funtion parameter list with pointer?
 
As you can see, if the parameter list is a int, there won't be any problem, but when it is an object...
[2 replies] Last: The problem is the &. You're passing the pointer by reference. You can... (by fun2code)
quadratic question
 
write in c++ a statement that evaluates one of the roots of the quadratic equation i dont know ho...
[5 replies] Last: Also, be aware of rounding. Unless you have a pleasant numbers for a, ... (by Ganado)
function
 
what is d prblm?? #include<iostream> using namespace std; class test{ private: public: ...
[4 replies] Last: Thats becuase your functions doesnt make any sense. int test::sumf(i... (by TarikNeaj)
Need Help with Streaming files
 
I am learning input and output of files,i use Dev C++ when i run code,hence,it doesn't stream text ...
[2 replies] Last: oh damn lol thanks for note and help! i will be looking more deep next... (by SuperCrusader)
Problem with if... else.
 
I've had this issue before, and someone suggested using a bool variable. The problem is we haven't "...
[9 replies] Last: Yeah, fg pointed that out too. I fixed it promptly, and I'll let my in... (by Xatasha)
Problem: Searching N elements from an array which sum is X
 
You are given S,X and N. S = size of an array N = number of elements you have to find X = sum Yo...
[3 replies] Last: I am a beginner. There is only brute force (linear search) approach in... (by ProgGeek)
Need help with data handling
 
Hey I need some help with file handling. I am making a math quiz. I am stuck on the last task of my ...
[3 replies] Last: Exactly what changes did you make? (by fg109)
Need help with data handling
 
Hey I need some help with file handling. I am making a math quiz. I am stuck on the last task of my ...
[1 reply] : Duplicate threads: http://www.cplusplus.com/forum/beginner/160683/ ht... (by fg109)
how to check if a file is emtpy with ofstream
 
How would I go about creating a if statement checking if a file is empty ex.a text file with no text...
[1 reply] : http://lmgtfy.com/?q=checking+if+file+is+empty+c%2B%2B (by TarikNeaj)
Palindrome Error
 
Hi, I've to made a program to check whether a string is a palindrome or not.. I've made following p...
[12 replies] Last: > why is this not working now because it doesn't build. c++ is case-se... (by ne555)
Pages: 123... 101
  Archived months: [jan2015]