General C++ Programming - October 2016 (Page 4)

Optimizing iteration using recursion
 
Hello forum Users, I have three bodies of the same void. I ask you about idea for recursion or faste...
[1 reply] : What function are you trying to optimize? (by SakurasouBusters)
by nickif
Special characters taking up more than one slot in char
 
I'm trying to have this program parse a file containing special characters from the ipa. But the out...
[1 reply] : Can you post your original assignment? (by SakurasouBusters)
How to draw a triangle
 
I am assigned to draw a triangle but I am unsure what to do. Could any one help me? My triangle sho...
[1 reply] : ____* 4, 1 ___*** 3, 3 __***** 2, 5 _****... (by integralfx)
by Revert
Need major help with lab!!
 
So I'm probably gonna fail this class because I'm having a hard time understanding everything, but I...
[9 replies] Last: @Revert If you have any specific question or some problem with your co... (by SakurasouBusters)
" & " Pass by reference ?
 
I was searching to learn more about the friend function when I found this. ___ CODE ____ // frie...
[2 replies] Last: Oh ! Yes I think I got it. It's the Class name so there is no "Defined... (by Draziak)
Help me win a bet please!! (1,2)
 
I had a bet with my friend, this is my second question posting on C++ ever. My first experience wasn...
[21 replies] Last: He said: "Hello sir! Thank you for telling me sir. But in this I part... (by Johnathon1234)
by antago
Global objects, Classes with multiple objects, and recursive inclusion problem
 
So I'm having an issue that in PHP is solved very easily. I have taken C++ classes so I am not so fa...
[12 replies] Last: [quote=antago]Why must it be declared in a file instead of a file?... (by mbozzi)
I have 13 hours to finish!! HELP PLEASE
 
The objective of this Program is to use for loops and nested loop structures to design the C++ code ...
[11 replies] Last: Thanks! I actually meant to change that and completely forgot! :) (by closed account ENhkSL3A)
Fibonacci sequence code prints incorrect value
 
My assignment is to print the Fibonacci number at a given position to an on-screen label. I am supp...
[1 reply] : ¡puaj! > Here's my code you are missing the main() function and the... (by ne555)
using the positions of odd numbers in one array to determine which numbers to add in another
 
hello im trying to make a programme that takes 2 numbers and uses russian arithemetic (diplplaying e...
[3 replies] Last: The info: cout << "The vector has " << halving.size() << " elemen... (by keskiverto)
Function Call
 
I am trying to write a program that will calculate charges by calling a function to the main branch ...
[4 replies] Last: Referring to your original post. Line 63: You're declaring a new va... (by AbstractionAnon)
by bozmin
Vector of object
 
I was able to create a vector of object in a function, than return it. but i couldn't display the co...
[5 replies] Last: Yes it makes sense !!! thank you. I changed it to return a vector type... (by bozmin)
Voting simulator
 
This is a template I'm trying to tweak and change the output to the '*' output instead of the percen...
[1 reply] : change the output to the '*' output instead of the percentage. I don... (by AbstractionAnon)
by nbd
How to use fstream for creating a file?
 
Hi, I have read several reference articles regarding file IO, and about opening files in particul...
[4 replies] Last: Thanks! I was just a bit perplexed when I didn't found this important ... (by nbd)
Creating a newline character every 7 numbers
 
I'm doing a programming assignment where the file reads input from a file(the file is all letters) a...
[7 replies] Last: I want to plead temporary insanity and throw myself on the mercy of t... (by MikeyBoy)
search for an element in an array
 
I'm trying to write this function that is supposed to return true if an element in this array is fou...
[3 replies] Last: I thought it was ... i think for it all to work as intended ... A ques... (by fluppe)
Help with arrays
 
I am kinda new, and having problem in figuring out my mistake. I have to get random numbers 1-25 an...
[6 replies] Last: Oh!! Yes i got it thank you very much for bearing with me. Have a grea... (by Abhijeet010)
bbs
 
what is the best way to start coding a bbs in c++ file names, objects in files, functions how ...
[3 replies] Last: Usually things like the number of source files are not decided upon be... (by mbozzi)
by bozmin
error const
 
Why doesn't it work when I put "const" on the line 7 of my Car.h header. but work when i don;t put i...
[3 replies] Last: The Item thing was from a previous exercise. sorry for that However. ... (by bozmin)
by ujo142
Need some help with Flappy bird algorithm
 
Hi During two previous weeks i have been working on flappy bird algorithm. But i failed. Not exac...
[4 replies] Last: [quote=SakurasouBusters]Send me a private message. I would strongly ... (by cire)
October 2016 Pages: 123456... 23
  Archived months: [sep2016] [nov2016]

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