General C++ Programming - October 2013 (Page 31)

Palindrome program. NOT READING SPACES OR CAPITAL LETTERS
 
/*This program allows the user to choose between the option of determining if the word, phase, and/or sentence is a palindrome or comparing two integers to...
[4 replies] Last: And also i dont quite understand the order of how your putting things ... (by gettingatan)
by Ceset
to understand
 
hi everyone people always advices beginners to change hello world program for better understanding. so i thought i should change other peoples works to un...
[4 replies] Last: hmm ok i will not if you say so. thx for your helps (by Ceset)
2D pool game
 
Hi ! (This is my first post on these boards so I hope I will make it right) I want to make a simple pool game. I don't want any fancy effects or shadow...
[no replies]
Issue With Program
 
You enter decimal number into the program and what base you want. The integer part of the decimal is being handled fine, but the decimal is not. For example,...
[2 replies] Last: For some reason, this statement: (dec * base) - static_cast<int>(dec*... (by Mehungwaylo)
curl for message body is ok, what about message from address?
 
Hi all I am trying curl command line program I ewould like to be able to fetch email just the bodies, just the from email, just the subject. For a specifi...
[7 replies] Last: Sorry. Thought this was c++ compile code. My mistake. (by closed account NUj6URfi)
how to tell the compiler "consider this to be the derived class X"
 
Hello, I have an example where I have a variable belonging to a base class, but I would like to tell the compiler that it actually belongs to a derived class. ...
[5 replies] Last: I tried the method proposed by kbw and it worked. I think I can live w... (by bostjanv)
Need Help with a C++ Assignment for class
 
Write a program to read in a collection of exam scores ranging in value from 0 to 100. Your program should sort the scores in ascending order and display on a ...
[2 replies] Last: Yea, Common mate we aren't just going to do it ALL for you! ;) Give ... (by SteveCodeMan)
How to covert int to float
 
Hey guys I have a question here How I want to convert an int to float in the middle of the program #include <iostream> using namespace std; int m...
[2 replies] Last: is this line correct y= (float)x;? Yes, but that is a C style cast. ... (by Catfish4)
by gghf
Deleting in a vector help please!!!
 
I created a very basic program which contains a vector (my vector) that holds 0, 1 and 1. This program compares each element in the vector. If the element after...
[6 replies] Last: Great! That clarifies things. Thanks! (by abhishekm71)
Lab help
 
/* I am in c++ 101, and I have one problem finishing my lab. It is one of those questions about finishing a customer's monthly bills. My problem is how do you r...
[no replies]
homework help
 
Hi everyone, I have written this code for a problem in my book. It works but I think there must be a better way to write the code in my function findHighest ...
[4 replies] Last: Here check my code out! This is how I would of solved your problem, ho... (by SteveCodeMan)
In need of help Object Oriented Programming
 
In need of some major help. The program is pretty easy to write myself but the code given to us by the professor is making this a huge headache. The code given ...
[5 replies] Last: class Tollbooth { private: int m_nPayingStus; in... (by JLBorges)
by zsteve
runtime error : return value gets lost
 
Hi everyone I'm working on this project : https://github.com/zsteve/zebra-zmachine-interpreter which is supposed to be an interpreter for z-machine story file...
[8 replies] Last: That shouldn't be important so long as someCondition was either 1 or... (by cire)
Not Going to a Function
 
I am building a program and once a certain "else" is "activated", I want the program to not go to the other function. So if the else in Function1 is used, dont ...
[1 reply] : There are many ways. My first thought was to pass a variable by refe... (by bingo1)
URGENT! c++ "Multinacci" series (1,2)
 
please DO NOT give me the algorithm of the program.. I just need some help and tips. thank you in advance :)) we were supposed to create a c++ program. ex...
[23 replies] Last: Hi! It seems thatour teacher really expects us to put a limit to the ... (by sugoidesu)
Passing char array into a function
 
I have been assigned the following task in my second week of c++ in college and am having difficulty in getting it to compile. The compiler is stopping at line ...
[8 replies] Last: I have finally managed this far with my code. It accepts 2 different s... (by bennyjammin)
Reverse Polish Calculator help!
 
Hello! So I have my Reverse Polish calculator compiling and everything but for the assignment I need to handle a few exceptions that I can't seem to get. Fir...
[1 reply] : I got it to accept this but when i try calculations I get this error ... (by Mchubbs)
floating point value
 
Hi guy! it feels a bit stupid to ask such a question here but it is really suprising, that the function is not returning a decimal point value. Here is my fu...
[2 replies] Last: Disch! you're Awesome :) (by menewbie)
Write a program that asks for a phrase and then convert each space to a ‘*’ and print it out.
 
I'm kind of unsure of what to do for this program. I am supposed to make this program using loops, so does anyone know who to do this without any advanced stuff...
[1 reply] : Do you know how to get an input string, right? Start with that, and se... (by firedraco)
Guys help me in my project Please !
 
Guys help me! My codes are correct but it didn't output the results of my program Please help me to my project #include<iostream> using namespace std;...
[4 replies] Last: The two must be separate it is very dangerous. I am sorry if you have ... (by rdtr3548)
October 2013 Pages: 1... 2930313233... 46
  Archived months: [sep2013] [nov2013]

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