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)
I keep getting an undeclared identifier error. (1,2)
 
Hey guys, I am trying to write a program for class and I keep getting an undeclared identifier error...
[23 replies] Last: inside each of those is a different equation.. One is converting star... (by keskiverto)
The difference of 2 functions
 
Hello. What's the difference of this code: int pop() { int val = array ; --count; ...
[1 reply] : Line 3 in your first snippet doesn't do anything. when you realise thi... (by mutexe)
Make is not generating dependency files
 
I'm trying to use make to build dependency makefiles by following this: http://www.gnu.org/software...
[1 reply] : This is the instructions that I have followed and it has worked great ... (by Peter87)
Command line arguements
 
I need to write a program that finds the sum, product, or mean of a set of numbers using the command...
[9 replies] Last: Try this: http://www.cplusplus.com/articles/DEN36Up4/ (by kemort)
Error: Undefined Reference
 
Alright, first off I am a beginner so try to go easy one me here. I am making practice programs a...
[2 replies] Last: You are declaring global extern variables but never define them anywhe... (by MiiNiPaa)
Array Assignment Error
 
It appears that the 2D array is assigning two values at once, even though I only give it one value f...
[1 reply] : Show how square array is declared and what value of side is. (by MiiNiPaa)
3D arrays
 
I am trying to find the minimum and maximum values in a 3D array. But for some reason my code just ...
[1 reply] : There's no statement to print anything... looking for cout ? http://... (by soranz)
weird glitch in program involving fstream
 
I don't understand it and I will try my best to explain it. I have a program that reads a text file ...
[2 replies] Last: I iterate through them with other text files and it works fine. Idk it... (by chaotiiic)
structure data type program that adds fractions
 
Can anyone help me with this function I made that adds 2 fractions utilizing the structure data type...
[8 replies] Last: You are still not understanding how functions work. Don't use the ph... (by nickcoder)
error
 
hello guys i have a problem, what does this error mean? http://www.freeuploadsite.com/do.php?img=53...
[8 replies] Last: @Ispil this is the whole code http://codeviewer.org/view/code:444b (by Lorence30)
Extraction dictionary Software database
 
Hi I have old dictionary software (English-arabic) and i want to ask if there is a way to extract...
[no replies]
Input data into struct
 
why i can't enter data into struct? #include <iostream> #include <new> #include <cstdlib> #inclu...
[3 replies] Last: http://stackoverflow.com/a/21567292/3410396 (by MiiNiPaa)
Visual Studio 2013; Input won't work
 
I'm using sample code from this site, but can't get the program to do anything with input. If I type...
[1 reply] : Are you pressing enter? Haha. Because if you're not then of course all... (by Chance)
C++ Project Structure question
 
I'm curious about how C++ developers like to lay out their projects. I'm speaking specifically abou...
[4 replies] Last: I have never written a makefile in my life. I use CMake. As for movin... (by LB)
Why am I getting inf as an output
 
I should be getting normal numbers, since I am just computing an interest rate. float in...
[3 replies] Last: You need to show how those variables are declared and "initialized" be... (by jlb)
i need help with my code.
 
basically i have a file that contains a bunch of random romans and integers. the file will follow on...
[3 replies] Last: I may be wrong but that's what I think too. Combining getline() and ... (by soranz)
[Help] Loop statement
 
What does the underlined statement mean? #include <iostream> #include <cmath> using namespace s...
[1 reply] : So basically the code is first off initializing x = 1. So now variable... (by Chance)
Need help with sine waves
 
Here's the thing... I wanted to do a sine wave and i did it, however i want to put a * at each turni...
[11 replies] Last: @ dhayden Excellent move, actually should be 60 as keskiverto says. nu... (by kemort)
Pages: 123... 69
  Archived months: [jul2014]