General C++ Programming (Page 32)

by xoxos
3d world euler rotation
 
forget it, "solved" - i realised i was trying to rotate angles and that the more complex methods are...
[no replies]
C++ how to sell record/title
 
Alright I no longer have compiler errors. I require help with writing code for selling a record. How...
[9 replies] Last: I have just updated my code and I am sad to say that I still can't sel... (by bwilson1)
Would Some Upcoming C++ Features Allow One to Reliably Recode Objective-C or Something Like it in Pure C++?
 
Would native support for modules, manual dynamic linking, run-time concepts, reflection, etc., in th...
[7 replies] Last: type-safe doesn't magically make your code bug free. In any case, i wo... (by closed account 10X9216C)
Rocket
 
Hi I just recently got this program for my class, and I'm having a hard time understanding how to ev...
[9 replies] Last: Thank you all for the help. I got it figured out now I appreciate it. ... (by ISeeWaffles)
Problem with a program that prints a discounted product.
 
So I need to make a program that reads distance and number of days of a person that is buying a tick...
[2 replies] Last: finished it. #include <iostream> #include <conio.h> using namespac... (by fercasti)
Finding the largest and smallest integer in a set using while loop
 
I've been working at this for awhile and it seems like it should be correct but it isn't giving me t...
[4 replies] Last: #include "stdafx.h" #include <iostream> #include <fstream> #include <... (by kemort)
c++ - where is the the c++ string include file?
 
i'm trying find the C++ string include file. but i only find the string.h file(it's a C strings). ca...
[11 replies] Last: Peter87: yes i know that... but i'm trying avoid that. MiiNiPaa: so i ... (by Cambalinho)
When to declare a member function as 'const'
 
I do not know the correct word for it - but I am trying to describe the unusual situation where you ...
[3 replies] Last: Many thanks chaps! Those examples do clear up a lot of my questions -... (by Gemman Aster)
Strange run time error
 
It's been quite sometime since I last coded in C++ perhaps half a year ago. Anyway, as far as I can...
[4 replies] Last: Oh yeah I misread what happened on line 6 Thank you for your guidance (by rmxhaha)
Please HELP!
 
So I need to write a program for my cse 100 class. I will provide all of the instructions, although ...
[1 reply] : Please do not double post. It clutters the forum and spreads attempts ... (by MiiNiPaa)
Variable not functioning properly
 
#include <iostream> using namespace std; int main() { int n, x, blanks, rows, irow, crow=1...
[1 reply] : In your code: cout<<a%10; //This outputs 1 in the end of 321. a == 1... (by MiiNiPaa)
beginning SFML
 
I was thinking of using SFML for creating games. One of my main purposes was to create a very simple...
[1 reply] : What are the drawbacks of SMFL Perhaps overly simplified? How woul... (by Stewbond)
Simple Program w/ Menu
 
So I was assigned a three-part program a few days ago and I am having problems with my output. The a...
[18 replies] Last: No I am referring to this snippet from the link I provided above. S... (by jlb)
How do i write this equation for C++?
 
BMI = 703*weight / height^2 how i thought to write it was: (703 * getWeight / pow(getWeig...
[3 replies] Last: Ok, that acually works now, I had it actually written as above with ge... (by banithel)
by BMet
Stuck with this code
 
Write a program that calculates the total grade for N classroom exercises as a percentage. The user...
[4 replies] Last: Oh, I already got it working. Thanks for your comment tho, it really h... (by BMet)
Working with a char array
 
I am working with a character array containing an equal number of vowels and consonants organized ra...
[5 replies] Last: I had some time to play with this one today, thought I would share. T... (by Lowest0ne)
Angular Movement
 
i'm making a spaceship game. will be a shooter game. but i need to make the ship move as the ang...
[1 reply] : cos/sin take the angle in radians, not degrees. (by Disch)
Calculating the Area and Perimeter
 
Hello everyone. I am having trouble with my C++ program. My program asks the user to enter any numbe...
[4 replies] Last: I know they are different variables, that is why I declared them in ea... (by suko123)
Function Parameter Scope Issue
 
My errors are at the end of the program in two function calls within the definition of the InsertByV...
[1 reply] : There is no variable called NumArray in your InsertByValue() function,... (by Zhuge)
AVL-tree calculate height difference
 
I looking for method which can give me the height difference of an AVL_tree. The method i come up w...
[4 replies] Last: Take a look at the way I did it here: http://www.cplusplus.com/forum/... (by Smac89)
Pages: 1... 3031323334... 58
  Archived months: [aug2014]

Cannot post in this page. To post a new message, go to the first page.