General C++ Programming - November 2012 (Page 12)

Olympiad exercise -- Having issues
 
Bounderies At the border of state A with the state B there are N devices of defense. For each device k it is also known the length [A k , B k ] in which the...
[11 replies] Last: Yes indeed, thank you. I have just started using Object-Orientated Pro... (by jumper007)
by doon
postfix
 
Write a program that converts an infix expression into an equivalent postfix expression. Your answer must be something similar to the following form: Infix Ex...
[15 replies] Last: any idea? asap (by doon)
by ansin
character collision opengl/glut
 
Hi guys, i'm having trouble with adding collision detection for my character.Basically what i have is a few walls(created in glut) ,and a character imported fro...
[no replies]
Battleship game
 
I need some help with my battleship game. I'm running into errors I have the majority of it written but the issues I am having are in the main. Putting all the...
[10 replies] Last: Thanks for your help MikeyBoy. I have actually moved past this issue a... (by wyildcard)
by furkan
Cmath Library
 
How can I write my cmath library using functions? help me please!I donT know others. I must not using include<cmath> for example; double sin(double x) //sin f...
[4 replies] Last: help me please I made all function but I didn'T make log(x) and ln(x) ... (by furkan)
Can someone help me?
 
Please help me solving this problem in c++: Mr. Dengklek has a farm of ducks. He has many types of ducks that varies in size. The ducks like to form lines, w...
[4 replies] Last: Yeah, we could ignore the order of types. Thus, we can sort the same t... (by Stefany7474)
[help] struct with switch-menu-default
 
#include <iostream> #include <stdio> struct mahasiswa { char nama ; char nim ; int nilai; }; int main() { char pilih; cout<<"*********menu*...
[6 replies] Last: Maybe you could benefit with using an `up to date' compiler. At least ... (by ne555)
by doon
recursive palindrome (1,2)
 
The word palindrome is derived from the Greek palindromes, meaning running back again . A palindrome is a word or phrase which reads the same in both direction...
[34 replies] Last: oh thanku so much thats work 100% (by doon)
by sptang
HELLO,WHO CAN HELP ME TO WRITE A C++ PROGRAM?
 
http://www.sendspace.com/file/kf3kfs its my assignment and i know it is definitely wrong to call people to help me finish this. its because my father and mo...
[12 replies] Last: The op has no intention of doing the assignment himself. (by kbw)
Window Program
 
Till now I just made simple program like hello world which shows three options in message box ie YES,NO and CANCEL.I want to know how to take input in windows p...
[1 reply] : Hello. I assume that you have been used MessageBox function or someth... (by kg1992)
SQL
 
I'm about to learn SQL.Which comiler should I prefer for that?If possible provide me a link for that..
[1 reply] : Compiler / SQL? If you just want to get started, I recommend using sq... (by kbw)
OpenCV POSIT
 
I'm looking for a definition of the coordinatesystems of the 3D object and the camera taking a picture of it. i think the camera coordinate system is: (Z is po...
[2 replies] Last: i'm talking about the posit algoritm of the opencv library. i have pr... (by Darkmaster)
Multi Array
 
I have an assignment I need to complete, where I get some data from a file and then have the output as a tic tac toe board. On the file, it'll have something...
[6 replies] Last: What is the code snip you showed doing? (by vlad from moscow)
Unknown Error stopping program
 
heres my code #include "stdafx.h" #include <iostream> #include <string> using namespace std; int main () { double avgRain = 0; double rainSum = 0; int ...
[3 replies] Last: Oh ok, Thank you and i will do that. (by Reaper1)
External Data file basic in and output
 
This is my program that will ask the user for a list of apps and will store that info and later display it back to them. However it needs to prompt them what is...
[no replies]
pushing a list into a list of lists with temp
 
I have a list of lists and I want to add a prefabricated list using a temporary list in a function. In using a temporary list, when I reach the end of the scop...
[3 replies] Last: Yes, it is a std container, and Thank you! (by Jakman217)
Recursive Palindrome Detector
 
I've written a program that is supposed to have a recursive function that detects whether or not an input string character is a palindrome. I have a program ...
[2 replies] Last: If I had a nickel for every time I've overlooked = when it should be ... (by AdamBomb89)
operator overloading1
 
Hello. I have a class definition as follows: class string{ public: substring operator () (unsigned int start, unsigned intlength); ...
[3 replies] Last: const char* is the return type. Again, you're specifying the conver... (by Nexius)
Reading and Writing to a File
 
I am very confused with this assignment: Write a program that uses a structure to store the following information in a file : Item Description Quantity...
[1 reply] : Programming wouldn't be much of a tool if it couldn't even create file... (by Nexius)
by LB
Cloneable & Auto-Cloneable, getting pure virtual errors
 
The initial problem in this first post has been solved , but I have another problem: http://www.cplusplus.com/forum/general/85526/#msg458740 I'm really p...
[8 replies] Last: [quote=cire]VC++ is good with either. Have you tried a newer version o... (by LB)
November 2012 Pages: 1... 1011121314... 51
  Archived months: [oct2012] [dec2012]

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