General C++ Programming (Page 48)

Random number array (sum, reverse, search)
hey guys, I have an assignment that asks for an array of 8 random numbers from 60-100 then it asks...
[8 replies] Last: @eediott Well to reverse the array use the .length(), function from t... (by InfinityCounter)
Working with Static Libraries
Hi, I am trying to create some basic Static Libraries in Visual Studio 2010, but I am having some...
[no replies]
How to return 0 in this function?
double MeasureCornerAngle(int nCoord,const double coord ,int index) { if (index < 1 || index > nCo...
[1 reply] : Well this can be simply solved in several ways. the value 0.0 is the ... (by InfinityCounter)
C++ OpenMP emergency
Hi, I have an emergency as I have to submit a C++ code using OpenMP for the multithreaded part b...
[1 reply] : Here's the whole code, but the relevant part is after mode=1 and mode=... (by mgreutm)
by ap117
C++ Homework help regarding tic tac toe game.
I need to fill in the int main() portion of the following code where the first move is randomly chos...
[1 reply] : Lines 8-10: Why are you declaring an empty main here? Lines 105,1... (by AbstractionAnon)
by Musica
make a default constructor having other class member objects
class Date Date(int=1, int=1, int=1990); class Person Person(string="", string="", Date=NULL...
[4 replies] Last: Yes, got it. thank you!!! (by Musica)
Stuck on c++ Homework
Hey I have a homework assignment that seemed to be going well but then i got stuck. Here is the assi...
[2 replies] Last: There's an awful lot of benefit in taking time to format your code. . ... (by PCrumley48)
What sets C++ apart from other languages, technically speaking?
Hi there. I've been programming with C++ for almost two years now, and I'd consider myself quite flu...
[3 replies] Last: (by JLBorges)
by Mduh
Cpp Help please
Hi i am doing a project using opencv and visual studio 2012 and i have written all the code in C++ n...
[1 reply] : a gui to use this code the code that runs on a console ???... (by kbw)
Ok guys, this program runs and compiles. As long as you don't try to go backwards on the menu. I ha...
[2 replies] Last: Sounds good, I will give it a try, THANK YOU!! (by JKirn05)
Need help distance.
Hi everyone, i am trying to find the distance of 3 dimensional bodies. I am able to find the two bod...
[1 reply] : There are special cases whenever l is equal to q. In those cases, your... (by TheRabbitologist)
Hangman Game High Scores
Im trying to do a hangman game and enter high scores. Here's my code I just need help getting starte...
[5 replies] Last: I don't know how you want it to be scored , say maybe like a time limi... (by rjvc)
c++ HELP!!!!
help!!!!!!!!!!!!!! i need to calculate the area of a triangle using heron's formula. i wrote the cod...
[1 reply] : // triangle area by herons formula #include <iostream> #include <cmat... (by anup30)
Pass values by reference
I built a program that finds the average amount of days missed per employee. I am now attempting to ...
[1 reply] : numOfDays() changes the value of its formal parameter, but the caller ... (by helios)
How can I make the program read more lines on the .txt document?
how could this program tell the ID's and Passwords of more than one line in the text document? # i...
[2 replies] Last: There should be many posts already on that. (by lordseanington)
Need homework help
I'm pretty new to programming in C++, and I need help with this lab for school. If someone could poi...
[3 replies] Last: ty keskiverto using getline solved my problem I had. Also OP what did ... (by waketech123)
Initializing via Constructor vs. some other function
Hey all I wanted to get your some of your opinions on this. Let's say for example you're writing a f...
[3 replies] Last: I should of been more specific in that example, constructing the class... (by Renthalkx97)
by cn2105
Binary Search Tree Help
For class we have to create a program that prints a binary tree in vertical, horizontal, and symmetr...
[1 reply] : Printing exactly how you've represented it would be hard because line ... (by dhayden)
sf2 note on/off velocity and aftertouch vs adsr envelope?`
How do I apply a velocity from a MIDI note on/off and note/channel aftertouch to the adsr envelope? ...
[no replies]
by ap117
Tic-Tac-Toe Game errors
I need to fill in the int main() portion of the following code where the first move is randomly chos...
[4 replies] Last: Now that I have who goes first based on whether or not a random number... (by ap117)
Pages: 1... 4647484950... 55
  Archived months: [oct2014]

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