Beginners - October 2016 (Page 7)

How to return array inside a function?
 
I have written this simple algorithm to return an array from a function when and array is add as the...
[2 replies] Last: Please forgive a layman, but, although it works, I do not understand h... (by RobiBue)
Strings Question
 
So in this program I'm writing, I ask for firstName, lastName, and date. I would like to output dat...
[2 replies] Last: I was really overcomplicating it... Thanks! (by deadmittens)
#define macro
 
So I know using #define replaces the identifier by whatever you defined it as. So if this is true w...
[7 replies] Last: You could have in a header (visible to all): struct My { const stat... (by keskiverto)
x^pi
 
I'm just getting into the Taylor Series in Calculus, and it's the first thing as a programmer that's...
[no replies]
Lighter program
 
I have done this program but i do not think that it is the best way to do it. I have the idea that i...
[6 replies] Last: Whew, did not know about that switch thing, neither auto... I have and... (by Ciplas Plas)
While loops help!!
 
Writing a code to increase by 10% with each iteration. I can't figure out how to though. Also after ...
[4 replies] Last: Wow that wording it is difficult to understand. The 10% step is done, ... (by Ciplas Plas)
program plz help
 
how would I fix this for it to run? #include "stdafx.h" #include <iostream> #include <str...
[1 reply] : /** * Pre-condition: * Post-condition: */ void calcLowest(StudentD... (by razz123)
For Loop Boolean Problem
 
Hi all, I am writing a program that deals with a maze. I need to allow for the possibility that t...
[1 reply] : size() is a function that returns the size of something, for example a... (by Nico)
Sum of even values in fibonacci series < 4000000
 
I have to sum all of the even numbers in the fibonacci series less than 4000000. I wrote this progra...
[3 replies] Last: And It doesn't give me the correct answer when I limit the interval t... (by keskiverto)
New OS anyone?
 
So basically, I'm new to C++, and I was wondering if anybody is interested in creating a new operati...
[15 replies] Last: iv actually wanted to for a couple of years now although i wouldnt do ... (by Paelias)
Need pointers on how to write to a file
 
Hi! I am having issues with the text file overwriting the last input from the first time it runs. L...
[2 replies] Last: I think I understand! Thanks for the tips! I need to think more logic... (by jahkyah)
Arrays
 
I'm working on a program and this is my first time using arrays. This part of the code is fairly sel...
[3 replies] Last: Using 20 is fine if you edit check that z is no bigger than 20. The p... (by AbstractionAnon)
2 languages at once
 
How easy (or difficult) is it to learn 2 languages at the same time. So like I already know a fair b...
[6 replies] Last: Well I'm fairly good at python, definitely more than English for sure (by FirasHafiz)
Letter Frequency Analysis Help!
 
I have no idea on how to go about solving this! Help would you appreciated :( Letter frequency an...
[1 reply] : Think how you would do it by hand. You would probably keep a tally for... (by lastchance)
Runtime Error in basic OpenGL/SDL shader program
 
Hi, I'm using C++ to try and create a basic shader program with OpenGL and SDL. So far I've been abl...
[3 replies] Last: Does your program have an associated console window? There is nothing... (by cire)
Palindrome char array function
 
I need to create a program that allows user to define size of a char array in the main function. The...
[no replies]
for loop help
 
hello I'm working on an assessment where I have to implement Russian arithmetic into a programme out...
[3 replies] Last: nvm you were right I have made the changes and it is now outputting th... (by rdunning98)
by Xieni
Game Entrance Help!
 
Hey homies, Im having game entrance trouble. Where it says 'Press X' if you press any other letter...
[4 replies] Last: Thanks guys. (by Xieni)
by CTLZ
changing the value of an attribute of a vector after calculating
 
hi i am doing a assignment on polymorphism and i am stuck, i can calculate the area but i cannot set...
[7 replies] Last: The vector contains pointers to objects of type ShapeTwoD, so you can ... (by Nico)
October 2016 Pages: 1... 56789... 51
  Archived months: [sep2016] [nov2016]

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