Beginners - February 2008 (Page 6)

overloading operators
 
Why overloading operators?? instead of using cout or cin?? I don't really understand this theme.
[2 replies] Last: Overloading operators like '>>' or '<<' is completely different from u... (by vraghavan3)
question
 
hellow again ,i'm mo3taz kilany i'm 17 years old i've another question i can't make the compiler read space (' ') from the input into any variable of any t...
[no replies]
Basic
 
Hey Folks, I'm new to c++, what program is the best to write and edit code that isnt to complicated. Any help would be appreciated. Thanks. Some of the pr...
[13 replies] Last: To make it pause at the prompt just add this: std::cin.ignore ( std:... (by Geralds mod)
Problem with an eof loop
 
Hi guys I am having a really hard time with this program. I am supposed to write a progr that reads an unknown number of integer numbers from a file. The prog...
[1 reply] : if (num%2==0) while (infile.eof()) { infile>>numeven; totaleven... (by skroegs)
Creating a new object with a user-defined name
 
First off, let me say hi! I'm learning C++ more or less on my own, via tutorials on the internet. My main problem is that I understand the exact concept of what...
[2 replies] Last: OK, I'm following. It's a lot easier to get the user to input a string... (by MerakSpielman)
codee for a different program
 
is there a code to make you give command to a different program using youre progam but when you hit enter it opens the other program and enters the information ...
[no replies]
Simple first Program - Time Alert
 
I'm trying to create a program that warns me every time my clock is _ _ : _ 9 so every 10 minutes i want to be alerted when my clock has the minutes in the 9 p...
[6 replies] Last: I've decided i'll wait a while untill i try to write this program. I'... (by rollingdice)
help with loop and return value
 
Hi, I have a question about my code and the return value. It's rather long but mostly because it's convoluted and/or poorly written. bool getResponseToAn...
[3 replies] Last: i just tried deleting the first function call, but now when enter N (f... (by school7)
inserting new node using functions
 
guys im having problem with my C++ assignment. hoping you can help me. how do insert a new node containing a new information using a function, to add into a tex...
[no replies]
by zaryk
string usage - starting from end
 
Hey this is my first post. How is everyone doing? Im working on my first c++ program which probably is more advanced first program than what most people would...
[7 replies] Last: k thanks.....Ill do just that Also, lets say i were to search throu... (by zaryk)
code not working
 
this program tells me thet evry year is a leep year /*|||||||||||||||||||||||||||||||||||||||||*\ *this program inputs a value and checks * *to se...
[7 replies] Last: I read the question wrong but i did get it to answer corrctly to what ... (by gregv21)
C++ bigginer question
 
hi all, i am a programmer doing .net for long time. Now i would like to learn c++ and explore more in the programming world. I just started learing that and ...
[2 replies] Last: i'm beginner in c++ too. i wanna askin' somethin': if i wrote this k... (by chipp)
by viggy
please help me to write a program toinsertion and deletion in array
 
please give me a program for insertion for insertion and deletion in an array
[6 replies] Last: I can give you an Object-Orientd implementation with templates that su... (by alex79roma)
by Yoshi
help!
 
Hello guys. I got stuck as below. Also I am tring to creat triangle as "*"&"space" as below. * ** *** **** ...
[4 replies] Last: Sorry guys, I did wrong the triangles. The direction was opposite ... (by Yoshi)
by Otto
Any possible way to create a timer to C++ program?
 
I was going to make a game with C++, and I want´d a timer to it. Is there any way to create a timer? (Like 2 functions, which start and stop the timer.) Oh, a...
[9 replies] Last: Otto I found an arror in my code: I wrote: unsigned long timer:... (by alex79roma)
Program Problem
 
I cant get this code to work when i dont put the zeros in for the int it gives random values and when i do put them in they come up as zero so i want to know...
[4 replies] Last: Ty i missed that (by gregv21)
by gzero
Trouble with Private data Accessors
 
I'm trying to learn about handling private class data by using accessor methods. I wrote the following code in Visual C++ express as a test, but I keep getting ...
[6 replies] Last: Your help is very much appreciated. It finally compiled properly. Th... (by gzero)
by Marque
SDK and SDK extras install
 
Having the hardest time finding out where these go. I installed the SDK for Directx but the extras just extract to a folder. Attempting to install these to Visu...
[no replies]
Need help with array function.
 
I am working on a problem for my programming class. I am not very good at it and could use a bit of help. I am lost on how an array function works. I have the s...
[1 reply] : I think you need somthing similar: void printScores(const double... (by alex79roma)
leading zero removal
 
Probably a dumb question - but here goes anyway. It's been a LONG time since I did any work in C++, and now I find that I need to push some double's to the con...
[1 reply] : #include <iostream.h> #include <sstream.h> void pause() { i... (by alex79roma)
February 2008 Pages: 1... 45678... 10
  Archived months: [jan2008] [mar2008]

This is an archived page. To post a new message, go to the current page.