Beginners - October 2015 (Page 21)

Question about sine function.
 
I was trying to make my own sin function and I'm running into some weird values for my value of sin(...
[5 replies] Last: I found out what was wrong. I needed to convert large angles into thei... (by Recluse)
Can't use W,A,S,D and arrow keys together
 
With my OPENGL game I've gotten my characters to move around using the windows.h library, however I ...
[9 replies] Last: If you're using the while (GetMessage(&msg, NULL, 0, 0)) { Transl... (by liuyang)
Another beginner question... (1,2)
 
Im doing some tutorial and am stuck here. Ive looked over everything closely but can not find the pr...
[28 replies] Last: The cpp files don't 'know' about the header file unless you tell them.... (by closed account 48T7M4Gy)
HOW TO LEARN C++
 
hi i am new one to learn c++ and i have only learn first program. Please help me how i can learn bet...
[2 replies] Last: To add onto what TheIdeasMan said you could also have a look at some t... (by Tom56785)
Changing array values
 
Hey. I am writing a code which uses 4 separate functions, and are able to be called from the main fu...
[2 replies] Last: Wow thank you very much for helping with code to make mine work nicely... (by PhaseDaze)
Determine if "a" is a power of "b"
 
I'm asked to prompt the user for 2 integers, a and b. Determine if a is some power of b and output t...
[2 replies] Last: I thought so, but I had a hard time believing this was the "right" way... (by herob4u)
Finding number of people with score below average
 
Hi, I have created a programme that calculates the pay of 10 artists based on the hours they worked ...
[2 replies] Last: Found the solution: if else within the loop For future references if a... (by windeclipse)
Help with for loop repetition
 
Can anyone tell me why with using the for loop I have, it repeats the the cout statement 5 times i...
[2 replies] Last: looks: for (; i < 5; i++) cout << "enter a number to add to 20 such ... (by hdj)
Validating Menu Items using a while loop
 
Hello, I was wondering if anyone would be able to help me with this nested loop issue I'm having. ...
[2 replies] Last: Thanks for the reply, here's the full code (apologies for formatting):... (by brandino)
How Do I find the sum of positive and negative numbers in a group of 10 different numbers?
 
EDIT: I no longer need help. Thanks to all of you who gave their time to help me! ;) Okay, so I hav...
[4 replies] Last: You're welcome :) (by newbiee999)
iterator arithmetic, + operator does not work anymore.
 
Hello there! So I'm trying to compute an iterator that points to the middle element of a vector ...
[3 replies] Last: @cire , Thank very much! Nice answer! (by joseplusplus)
Return multidimensional array from function
 
Hi, In my programme, im trying to return a multidimensional array back to main after user's input. H...
[3 replies] Last: In other words, even without the return statement, my array is brought... (by windeclipse)
Piggy bank program
 
How do i go about getting a name from a user and using it throughout the entire program im coding. i...
[1 reply] : line 17: You've declared name to be an int. Does everyone you know g... (by AbstractionAnon)
Halloween project
 
Working on a assignment, needs to be done soon so if you can help please do as soon as possible. It ...
[6 replies] Last: okay thank you so much for all your help Ian i appreciate it :D (by helpmepleease)
Need some help for printing last 100 number
 
Here is my question. If the input is more than 200, display on screen only the last 100 primes. I...
[1 reply] : what you are trying to do , you want to print the prime numbers ? or w... (by new1)
My code won't compile. HW question
 
I'm having trouble trying to compile my code. The assignment we are working on is for functions. To ...
[5 replies] Last: I would avoid using global variables. Nevertheless, I placed a comment... (by chicofeo)
by dn90
Finding the kth smallest element in an array using recursion?
 
My goal is for the user to input a number and said number would direct them to the kth smallest numb...
[1 reply] : It is possible for size to be 0, and when it is you try to access elem... (by cire)
self-assessment check fails
 
I have an overloaded assignment operator function. Within the function I have a self-assessment chec...
[4 replies] Last: I see it now. Thanks for your help! (by chaos407)
Program that reads its own .exe file
 
I need help making a program that can read its own .exe file, and then writes out the ASCII codes in...
[3 replies] Last: Iterate through each line and replace the non-ASCII characters with sp... (by AbstractionAnon)
Help. Don't know how to figure out this For loop exponents question.
 
So I'm supposed to create a base and an exponent variable. Then by using a for loop I should be able...
[1 reply] : It looks to me that you really don't understand what "power" means in ... (by jlb)
October 2015 Pages: 1... 1920212223... 57
  Archived months: [sep2015] [nov2015]

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