Beginners - September 2016 (Page 31)

by RobCh
Yaw, pitch, roll (tait byran angles)
 
This is my first post on this forum not graphics related, that has all been sorted out now. I am having a bit of a problem describing yaw, pitch and roll. I ...
[10 replies] Last: Have you looked into opencv. They at least have types that represent ... (by cmisip)
Why is my vector not incrementing?
 
I have two vectors, one with data and one without. Vector file looks like: 1 1 1 2 3 3 7 7 9 2 and vector count is filled with zeros. for (int i = 0; i < f...
[1 reply] : Yes, I was trying to not use a nested for but either way that does wha... (by ThisUserAgain)
For Loop with multiple averages needed
 
I am in a programming 2 class and I have a question that ask me to create a for loop and to have the user to input 5 numbers and to find the average and sum fro...
[6 replies] Last: Thank for the help! I figured out the problem! Here is the final resul... (by azdrc29)
Help with fstream file manipulation
 
Hey guys. I'm expirimenting with basic text file manipulation, like writing and reading text files, etc.. So far, this is what I've got. #include <iostr...
[1 reply] : Yes, it does help a lot, thanks. Could you explain to me what exactly ... (by icabero0225)
by aloz
How to compare two "chars"
 
Hi, I'm trying to compare two chars, one of those entered by the user.. if the person enters "si" it will transform to uppercase and then make the comparison.. ...
[4 replies] Last: Welcome :) (by shadder)
help needed :)
 
Hi guys I came across an exercise which I have no idea about. Here I have to determine the console outputs for the couts and if the function do_something(92) is...
[3 replies] Last: Firstly I agree with what dhayden says... why don't you just compile i... (by shadder)
queue assignmentttt
 
#include <iostream> #include <queue> using namespace std; int main() { queue<char> q; char a; cout << "Enter a sentence/phrase...
[2 replies] Last: mpark4656 is correct about queues being FIFO. Stacks are LIFO - Last ... (by kevinkjt2000)
Limiting Character Input Size
 
Hi there. Before going to the question, let me introduce my self. Im just a first year computer science student and i know only the bare basics of c++. The co...
[2 replies] Last: Thanks a lot, i will be using this a reference (by Axichaos)
Please help with exam assignment
 
This is the assignment: Create a program to calculate the product of the last digit integers from 100 to n , where the program first asks for integer . Progr...
[18 replies] Last: Leave this assignment for experts http://acewriters.org/ - just make s... (by AlexIche)
by koopey
HELP!!BASIC POINTER CONCEPT CONFUSION!!
 
in node type data structure, can we traverse till 'NULL' and then dynamically add a new struct node there.if so, why doesnn't following work? // Example...
[2 replies] Last: Regarding why the original code doesn't work: btptr T=S; // poi... (by dhayden)
help
 
hi I'm writing an program that can look if the number is prime or not. but it only says its prime why?? The Code: #include <iostream> using namespace...
[9 replies] Last: What is "OP" ? (by Farshad Aroon)
Vector of Objects Help
 
Hello everyone. I seem to be having some difficulty with pointers, and vectors of objects. In the example that I will outline below, we are trying to make a hum...
[2 replies] Last: The problem in your human class is that your pointers are not initiali... (by Thomas1965)
validate my understanding (polymorphism, inheritance, static class usage, heap and stack usage seperation) (1,2)
 
Hello. This code compiles fine in VS2015 and on cpp.sh, but what I'm concerned with is my actual knowledge of what is occurring in the code. This is mainly ...
[23 replies] Last: Those 'message' and 'name' are members of the class. class animal { ... (by keskiverto)
functions
 
Write your question here. Its not running #include <iostream> #include <string> using namespace std; void Input(string & cell_number, int & relay...
[1 reply] : You need to declare functions differently. signatures - main functio... (by Bdanielz)
Quotient and remainder problems
 
Hi :) any help with this would be appreciated as I really should know this by now. Kinda sad I'm just not gripping the simple stuff. I was wondering how I'd ...
[6 replies] Last: Yay! Thank you that helps a lot! ^_^ (by Saibachick)
Im very confused by this code
 
How come when i run it, instead of it making c be 2.5 it makes it be 2? im very confused as to why #include <stdio.h> int main(void) { ...
[1 reply] : Yeah it seems to solve the problem but then im kind of confused. How c... (by kalilst)
Help Snake
 
I am using SFML. I can't code the apples I need help. This is what I have but is totally wrong. int apple_x = (rand() +32)%752; int apple...
[5 replies] Last: [quote=gentleguy]I cannot explain, because (to tell the truth) I know ... (by JayhawkZombie)
Combining switch statements
 
How can i combine two different switch statements, as you can see these are two different statements and i want one "cout" statement for all three, is it possib...
[5 replies] Last: No problem! Cheers! (by SweatyJuice)
Math formula not working
 
At one point this formula was working. I haven't messed with it, but I have added more information. More "If"'s and "else"'s. Just so you know, this is my very...
[4 replies] Last: The code is all correct, maybe you maid a mistake on the formula itsel... (by SweatyJuice)
Trouble aligning columns (Newbie)
 
Hi I'm a green grasshopper with programming. :( Just started a class this fall semester and I'm just having trouble. I'd like to think I pick up on things fast ...
[1 reply] : Strange. When I put my example of how my columns are supposed to look.... (by Saibachick)
September 2016 Pages: 1... 293031323334
  Archived months: [aug2016] [oct2016]

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