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 rela...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-... (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. in... (by Duoas)
by XanT
post Function specialization
 
I have tried everything and can not get this to work. #include "stdafx.h" template <class T> ...
[5 replies] Last: Okay help I got from someone else told me to change the template <... (by XanT)
post To create a C++ dll for simple animation
 
Dear all, I need to create a dll using C++ for an animation. The animation is just moving a two ...
[9 replies] Last: Nvm (by DrChill)
by triz
post Reading in arrays from file
 
I know the code is horrible and I'm sorry for that. I'm new to programming. I'm trying to read in a ...
[2 replies] Last: I actually want to read it in one line at a time. I added the code bel... (by triz)
post string program
 
I am probably well on the wrong path with this one which is why I can't get the program to compile i...
[12 replies] Last: Also BTW you put: cout << "valnilla\n"<<endl; Don't... (by DrChill)
post Multiple-Up project advice
 
Hello everyone. I've been working as a consultant for a small printing company, and now that the mai...
[4 replies] Last: Never said it couldn't be optimized. ;) Your loop is more efficient, b... (by Zhuge)
by seand
post Factory Building?
 
Hi all, I'm having such a hard time grasping onto Factory. Can anyone help me or point me to a good...
[1 reply] : Its about creating different objects (the factory) and the client don'... (by writetonsharma)
post any network library for c++ that is OS independent?
 
etc, it works on windows, linux and mac os as opposed to using the api of the os directly hence redu...
[2 replies] Last: There are atleast 100 posts in the forum for this question. (by writetonsharma)
questionsolved No output for some reason?
 
I have this program with a vector group of class objects. It does not seem to want to output for som...
[2 replies] Last: code doesn't look to be complete. paste the full code. (by writetonsharma)
post New Function
 
Hello Hello! can you explain me what this function does line by line please Polyline drawFunct...
[3 replies] Last: It is trying to draw a 3D sphere with lighting and shadows. (by writetonsharma)
question Linker Error:Unable to open the file "abc.exe"
 
I am using turbo c++ v3.0 dos. And i am getting the error: Linker Error:Unable to open the file "...
[1 reply] : how can you link with a .exe file? (by writetonsharma)
by j3tt
post debugging a mpg calcuator
 
I have trouble pinpointing the what causes an endless loop. //Ch9AppE07.cpp //Calculates a...
[7 replies] Last: It is still 0.0 when you pass it to the function, since you never actu... (by firedraco)
by buggy
post writing separate channels using libsndfile
 
Hi- I'm really new to c+ (this is day two) and I'm trying to write a program that will allow me t...
[no replies]
post Change condition
 
How would you do something like this: if ( bool_a ) { a = condition; } else { a = !condition; }...
[8 replies] Last: You would need a logical nxor to have a single cout eg: bool n... (by Bazzy)
by j3tt
post getting an average of 3 numbers using functions
 
Okay. Everything in this works except for the calculation of the average. //calculate the avera...
[4 replies] Last: thank you joeriMJ, i didn't enter the accumulator, sum, into the loop.... (by j3tt)
post keeps getting error
 
i want my zero_zero to minus the shifted_table and display out at the int main. but i keep getting e...
[1 reply] : Don't double thread: http://www.cplusplus.com/forum/beginner/16500/ (by Bazzy)
post Calculator parser
 
I have just started C++ programming and was required to write a program that accepts as input math e...
[12 replies] Last: What do you have in the switch inside prim? Do you have two PLUS cases... (by Bazzy)
question Exiting a loop using a specific character.
 
I'm trying to write a little program that allows you to enter a couple integer values, print them to...
[6 replies] Last: I always prefer to avoid "signal" characters. When the user is done, m... (by Duoas)
post reading from files
 
In my program so far, i call a function to generate 100 pairs of random numbers, i then send it to a...
[2 replies] Last: for the greatest common divisor, check out the euclidean algorithm. It... (by joeriMJ)
post finding a number in *.txt
 
hello. i'm having trouble with finding a specific number in text file. my problem is: create a t...
[1 reply] : what code you have currently? (by writetonsharma)
post Reading Integers From *.Txt Files
 
I am trying to create a simple text-based game with highscores, and I am having trouble reading inte...
[2 replies] Last: you could try saving the "highscore" in highscore.txt this way ... (by ragnamanga)
by KezRst
question Error in closing win32 application
 
Hello! I've continued to work on a text based RPG I've been making progress on just for practice....
[5 replies] Last: great. in most of the cases its the destructor who is the culprit whe... (by writetonsharma)
by luvsom
post functions-grades and calcs
 
Ok so I had to make this program that takes an array of test scores and calcs the class avg and then...
[3 replies] Last: Use int main() . To fix your errors, you need to call t... (by firedraco)
post Find numbers in a text file.
 
Hi, I want to filter out numbers from text rows in a textfile. But can't find a way to do it. Do you...
[no replies]
by one nz
questionsolved Undefined symbol 'cout' in function main ()
 
Hello, As you could probably guess I am new to C++ programming. I have a very simple problem that...
[14 replies] Last: sorry zhuge I didn't read your original post properly. (by gcampton)
question Stuck on Linked List Reverse Function
 
Hi, I am stuck of a void function to reverse a linked list.. I looked around the web, and this func...
[3 replies] Last: ohhh, it finally worked for me.. but it only worked if i put the print... (by akebono)
questionsolved Having Problem with Vectors
 
I need to create a vector of class objects. I know that is done similarly to this: class applicat...
[4 replies] Last: This has been driving me nuts for hours so any help at all? (by cbouwkamp)
post Pseudo Code
 
Self learner of C++ here. Came across the following question: Write the Pseudo Code for t...
[1 reply] : Pseudo code is a mix of English and code. I'm seeing a lot of English ... (by joeriMJ)
by disini
post Income tax program.
 
I need to create a program for calculating the income tax. The requirement are as follows. T...
[2 replies] Last: net salay = gross salary - tax Isn't this an economic question ? (by joeriMJ)
question Amateaur Problem
 
Hi all, this is my first post and I am new to C++. I am trying to write a simple program to conv...
[4 replies] Last: Thanks for the quick response. Changed switch(length) case ... (by TJohnston)
by Akyrun
questionsolved Again... Error. Linking Error.
 
I am just wondering, what is a linking error. How do you fix it?
[2 replies] Last: A link error is an error that occurs during link time. (I'm not bei... (by jsmith)
Pages: [1] [2] [3] ... [29]   Archived months: [sep2009]

Registered users can post in this forum.