Beginners - October 2012 (Page 25)

Output Problem
 
Hi, so I'm trying to get my program to output this specific piece of code: What size would you like...
[2 replies] Last: because you have cout << endl << "Enter flavor 2: ";r flavor 2: "; y... (by Ch1156)
Horner-Newton Method
 
Okay, so I'm trying to build a program to find the complex roots of any given polynomials and have r...
[3 replies] Last: Okay, so in order to modify n do I throw in another for loop? (by tswvyim)
Need help with adding a 'save to a file function' with pet program.
 
Like the title says, I have been working on some code for an assignment lately, and I have hit a bit...
[1 reply] : Well, in your pet class you'll need to write a function that saves the... (by pogrady)
by loot
Include / Linking Problems with g++
 
I'm trying to understand how to break up a program into main, header, and implementation files. I'm...
[9 replies] Last: @ne555 I was suggesting to the OP to put everything into a class, tha... (by TheIdeasMan)
DRAW ELLIPSE
 
I'm a Vietnamese, so my english is so bad. How can I draw an ellipse with no graphics library? ...
[1 reply] : Is it even possible? I know this isn't much of a answer but don't you ... (by Maxim Podolski)
How to create a makefile?
 
Hi all, I have a 'C' program called childCommand.c I want to create a makefile for this program in...
[9 replies] Last: Thanks Peter Codewalker and ne555 all for your great hel... (by vichu8888)
Need assistance adding "Numbers" to a string loop without hardcoding
 
Sorry but I've hit a wall in my thoughts. Tends to be made out of diamond so firing explosive seems ...
[1 reply] : Sorry ahead of time, I'm COMPLETELY new to this site so if I've broken... (by Maxim Podolski)
Issue with NULL in variable argument function
 
I am trying to make a function that randomly chooses a single argument to return from a variable num...
[6 replies] Last: (visual c++ 2010 doesn't seem to like the "const Args&... args" being... (by TheIdeasMan)
Can someone help me with this code?
 
#include <iostream> using namespace std; float square_1 = 47; float square_2 = 42; float squ...
[3 replies] Last: That kind of helped, i think i can take it from there, thanks (by lSgtPepperl)
Problem with loops and strings
 
Here's a link to my code http://codepad.org/tfnFYnHJ The purpose of my code is to read from a fi...
[4 replies] Last: Yes I did. The problem ended up being that I forgot the offset in the ... (by hansguo67)
Hangman SOS
 
Hey, Got an assignment with little time to get it done. I'm really confused on how to tackle hangma...
[5 replies] Last: Thanks for the IDEAS!!!!!! (by jlillie89)
Collecting trials for the sum of two dice?
 
s
[4 replies] Last: bump (by ProgrammingWiz)
program that will guess which number the user is thinking of
 
Hello! I'm trying to get a program to work that will guess which number the user is thinking of, how...
[2 replies] Last: Your if and switch statements need to be inside of a loop that will ru... (by freddy92)
draw 3 shapes using looping structures
 
Hi all, I need to draw 3 shapes and put them into an output file. I'm having problems. Suppose I ent...
[3 replies] Last: i found out how to do it. Here is my code just in case anyone else nee... (by uhhhjonas)
Repeating a program multiple times
 
Hey guys i have a small problem i have a program that is repeating using "do while" the program basi...
[4 replies] Last: the and && operator i presume ...i feel so ashamed lol (by Madmax86)
Nested Controlled structures problem
 
say a= 6 b= 8 c=10 if (pow(c,2) == pow(a,2)+pow(b,2)) { cout << " Your triangle is a right ...
[3 replies] Last: Im calculating the area of a triangle so if the user calculates the le... (by Victor714)
Need to update array
 
The previous problem was solved, but however when i added a restaurant to the menu, the current_size...
[5 replies] Last: The condition will be true until you change it. You never change it, ... (by cire)
C++ text file into array + help
 
I'm doing a program where i need to put a text file that has a list of dates that look like this. ...
[2 replies] Last: I have this and not really good when it comes to structures since im n... (by rb26dett26)
What do these errors mean, and whats the average way to solve them
 
expected unqualified-id before â{â token expected constructor, destructor, or type conversion bef...
[1 reply] : Can you post the lines of code that are giving these errors? (please ... (by Disch)
Functions and "Sum of"
 
I am new to programming and I'm currently in a c++ class. The program I am trying to write will: 1)...
[2 replies] Last: In this code snip for (int i=1; i<=NumEmp; i++) { total = 0; t... (by vlad from moscow)
October 2012 Pages: 1... 2324252627... 84
  Archived months: [sep2012] [nov2012]

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