Beginners - October 2012 (Page 4)

advice with simple program for my girlfriend
I just started learning how to program earlier this semester. We started with Karel (easy I know :D ...
[5 replies] Last: Something like this: string animal; cout << "What is your fa... (by Chervil)
by veeyik
Display first 100 palindromic prime numbers
i am doing a question that asked to code a program to display FIRST 100 palindromic number. i alrea...
[7 replies] Last: Yes it is correct thank you =) (by veeyik)
friend function..// How to display on of the function Depoiste/Withdraw.
#include<iostream> #include<conio.h> using namespace std; //Class Bank class bank { private: ...
[1 reply] : Post your code in "<>" (code) tag. Its easy to read that way (by codewalker)
by Meden
what is wrong with my code?
Hi. I am just starting to learn C++ just as a hobby. I am working on a very basic program right no...
[4 replies] Last: It may help to look at the code from another angle: This code uses an ... (by Chervil)
Failed to create a new dir using boost::filesystem
Hi Everyone, I am not able to create a new directory using boost::filesystem - please find below ...
[no replies]
friend functions
#include<iostream.h> #include<conio.h> class complex { int r; public: ...
[2 replies] Last: oh yea..thnx (by vgoel38)
Template in class
Here the work i done so far #include <iostream> #include <string> using namespace std; temp...
[10 replies] Last: mind a senior teach me ? (by BasicNewbie)
Transfering values between functions
How do I maintain my values input into the “getinput “ function in my main function? What I’m ...
[3 replies] Last: Thanks for the quick replys! @ Useless (12) Your solution worked... (by JRimmer)
by smrt
Creating a vector of string pointers?
Hello again. My assignment is to create a program that reads a text file and displays a list of t...
[5 replies] Last: On line 7, you would need to the address-of operator. You can't simply... (by Zhuge)
inFile.ignore help?
So I'm working on a project where we input a txt file and create an output for it. My problem is tha...
[14 replies] Last: So you checked and there is no whitespace or anything on a line after ... (by Zhuge)
by nahla
Problem with code, how to fix?
I am trying to set ls-os to never equal zero. But I have some errors: #include <iostream> #incl...
[2 replies] Last: When you see a line of compiler errors, look at the line number of the... (by barrelroll)
Doing something on push of key.
I need a way for the user to be able to push a button to cause something. #include <iostream> ...
[1 reply] : There are two ways to do this. The first requires you to push "enter,... (by BrentSpinor)
by kske
Quadratic Equation using Structures
Create a structure named quad that has three data numbers of the type double for the a, b, and c coe...
[5 replies] Last: I don't have a compiler or program to run it on my laptop so I have no... (by kske)
by kske
3 way duel problem
Adam, Bob, and Charlie agreed on a duel to the death (using paintball guns). Adam was a poor shot an...
[5 replies] Last: ok thank you! (by kske)
who wants $25?
I will pay $25 on PAYPAL to person who can do my homework. Sorry I am too buys with job chrismas com...
[9 replies] Last: For the purposes of this assignment there is no difference - in either... (by LB)
by jlk563
Undefined reference error
Hello. I am working on an assignment in which a program takes in a passage through standard input, s...
[5 replies] Last: Hmm...You're right. Can't believe I overlooked that. Works now, thank ... (by jlk563)
C-String help
Hello everyone. I am currently writing a program for class and I was having some trouble. Please not...
[2 replies] Last: I am rewriting this but when I input (strPtr != null) it underlines nu... (by andrew73a)
by nahla
Parameter question...
What does this do, and why is this function call wrong? function: void swapit(int& a, double& b);...
[7 replies] Last: Those are bad homework questions. It's all to often I see really bad ... (by martianxx)
Compare Three Numbers
I am trying to write a program that compares 3 numbers with the output labeling high, med,and low. I...
[3 replies] Last: So I updated my code but am still unable to get the 'middle (med)' val... (by Natalyias77)
parsing file data into array of objects
assignment is as follows: Fred Barnes and his partner Alfred Noble are trying to drum up some bus...
[3 replies] Last: hmm, so like this? string ftitle, fauthor, fisbn; double fprice, f... (by ilovelearning)
October 2012 Pages: 123456... 84
  Archived months: [sep2012] [nov2012]

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