General C++ Programming - October 2012 (Page 32)

Need help (im bad with classes)
 
Okay so I made this program that takes 2 numbers(the price of the item and the money you pay with) a...
[no replies]
Need help sorting a list of companies
 
I have a problem that i can't quite figure out how to solve. I have a txt document containing the...
[2 replies] Last: Thank you cire. I should've figured that out myself but i haven't had ... (by oli8686)
please explain this runtime error if you can?
 
I wrote a program that had these two functions std::string line_format_for_total ( const std::st...
[4 replies] Last: problem is somewhere else. format_with_commas() center_on() I did ... (by closed account iw0XoG1T)
maze game
 
hello this is my assinment to make a maze game i have written this vode but when i enter character t...
[2 replies] Last: ohk thank you :) (by mehreenh)
Looping error
 
Hey there. Here's the problem. My do-while statements are correct, the program is running but it doe...
[4 replies] Last: sorry about not using the code tags format >.< my first time. But anyw... (by Genelee)
File I/0
 
I want to read a text file and if my programe reads a period (.) , it should write that data on next...
[2 replies] Last: You can't really ask a forum for help on assignments but I believe tha... (by Pickle Gunner)
Linear equation/interpolation - compile errors
 
I am trying to create C++ code that allows a linear equation (interpolator?) to take in a value and ...
[no replies]
Saving memory address of a function
 
Hey rrrybody, Im working on a program and part of it uses a window manager that i made - It basicall...
[2 replies] Last: Sweeeet, thats exactly what i need - Thank you :) (by Angeljruiz)
Printing a grid
 
Hey, I need some help in writing a recursive function for printing a 2x2 array. I actually need to ...
[no replies]
Help with Random Numbers
 
Hi, this time I've run into a problem with the rand() function. You see, I am writing a text-based g...
[4 replies] Last: I don't divide any number by M1, I will post the code for the combat s... (by awesomeprograms)
Replacing single variables with a 2 dimensional array
 
Hi, I have a problem, I just wrote a program for a polynomial that holds both a coefficient and an e...
[no replies]
by redcup
show a beginner what to do
 
In this exercise, you will define a complex data type complx, to manipulate complex numbers: a+bi. I...
[no replies]
by dalawh
switch and string/char
 
Is there a way to use a switch statement with string or char instead of an int?
[5 replies] Last: You can only check the equality of a pointer, but probably you won't k... (by S G H)
converting decimal number into binary and octal
 
i am trying to make a program to convert decimal numbers into octal and binary in combine program by...
[no replies]
by dalawh
Unions
 
Since unions occupy the same address space, what happens when you have something like... union unio...
[5 replies] Last: @firedraco In the example in the tutorials, they had an array of 4, wh... (by dalawh)
Initializing Error
 
Alright so I'm new to C++ and have been programming in java before. I'm trying to get nodes to work ...
[2 replies] Last: I see, Thanks I'll look into it and re-post here if I run into proble... (by closed account GvCfSL3A)
Back movement in link list?
 
is there anyway to move back my pointer in a link list? lets say i have my j pointer on the third n...
[3 replies] Last: I don't think what you want to do can be done with a singly-linked lis... (by nathan10)
Make Parameters Option in Function
 
In this tutorial I will explain how to keep parameters of a function optional This tutorial expla...
[no replies]
reassign problem
 
#include "stdafx.h" #include <iostream> using namespace std; int main(double total) { flo...
[5 replies] Last: Dog ate the hard drive? (by AbstractionAnon)
Hexa
 
this code i'm working for is kinda.. incomplete.. kinda confused. not sure if this code is correct ...
[1 reply] : int input; cout << "Enter a decimal number:"; cin >> inp... (by Chervil)
October 2012 Pages: 1... 3031323334... 50
  Archived months: [sep2012] [nov2012]

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