
please wait
by Juan3273
Arrays with random numbers and looping
|
I'm having a problem with this code I wrote. Basically it is supposed to roll two dice 36 times and if you roll snake eyes, two ones, at least 3 of the 36 times... |
Oct 2, 2014 at 11:19pm
[5 replies] Last: I meant where to put sum=0; but as Keene said in the first comment it ... (by Juan3273)
|
by fritzy
cant find c++ file
|
can you pls help me. i made a program in our class and after saving it the only files that i saw were .exe and .obj what happened? and how could i see the co... |
Oct 2, 2014 at 9:45pm
[no replies]
|
by lisaburlew
Function arguments, skip and use defaults
|
I am wondering how to make a function where when you skip an argument, it will automatically use its default. For example: class Store { public: ... |
Oct 2, 2014 at 9:43pm
[6 replies] Last: How about this: class Store { std::set<std::string> products; publi... (by keskiverto)
|
by Deadclock7
Using #define and grabbing the information with a certain input
|
With what I have so far, how would I code as to ask the user to input the the name of an item and output the resulting information stored. Ex. Enter Card's Na... |
Oct 2, 2014 at 8:19pm
[7 replies] Last: Well, you need to stick that all that in a valid place. Start with put... (by ResidentBiscuit)
|
by zedidiah
I am looking for help with openGL.
|
I want to find a little more advanced tutorials for openGL. I have done the basics but those are the only tutorials I can find, that isn't a video of some guy t... |
Oct 2, 2014 at 7:36pm
[3 replies] Last: Best tutorials out there on the subject I would say are these http://w... (by Z e r e o)
|
by vampirenelf
Calculate for total in a row
|
Hey guys/girls! I did a program to be able to input the day and the route for a bus in a week... and i got all the input and out put. but i wanted to calculate ... |
Oct 2, 2014 at 6:57pm
[4 replies] Last: Have you considered something like this: enum Weekdays{ M... (by PCrumley48)
|
by anup30
how to get Programming Principles and Practice using c++ 2nd ed pdf ?
|
hello world! how can i get a pdf copy of: Programming Principles and Practice using c++ 2nd ed. by Stroustrup i found epub version on google, and pdf of 1st ed... |
Oct 2, 2014 at 6:53pm
[no replies]
|
by vxk
string reverse (1,2)
|
The question is to reverse the string using 2 different functions separately , I am not able to get to the logic of the second function : #include <ios... |
Oct 2, 2014 at 6:48pm
[23 replies] Last: guys like you making C++ harder (゜_゜) If by harder you mean act... (by Z e r e o)
|
by bryan177mcsc
How to make efficient interactions between classes?
|
Hey guys, so I'm trying to make a simple console (by console i mean cmd) game where you have a character with some attributes and he will fight enemies until he... |
Oct 2, 2014 at 6:38pm
[8 replies] Last: I appreciate the help guys, I had learned about pointers but I guess I... (by bryan177mcsc)
|
by hyperfine
Is this a sensible class hierarchy for a video game?
|
Hi. I'm pretty new to programming, and not entirely sure I'm grasping the concepts of OOP perfectly. Therefore, I'd like to check to make sure that this class h... |
Oct 2, 2014 at 5:47pm
[5 replies] Last: Hi Zereo, thanks for taking the time to respond. though you are a bi... (by hyperfine)
|
by BlankSpace
Arrays help
|
Hello! I have just started with arrays and I have a question. I have been asigned to make a program that asks the user to write in numbers in an array. I hav... |
Oct 2, 2014 at 5:38pm
[2 replies] Last: kemort hit the nail on the head. The beauty of arrays (and why they ar... (by TheKingOfTyrants)
|
by omerl1232
Help please
|
Ive been trying to think of a way to include a yes or no statement at the end of each pattern how ever i am clueless as to how to do it.. any help would be much... |
Oct 2, 2014 at 5:28pm
[1 reply] : Your code is asking if the user wants to build another pattern, yes? Y... (by TheKingOfTyrants)
|
by bennyone
An Implementation Of Itoa
|
the following implementation i found on the internet on a reliable source have to work i don't understand a specific row 21 how do you write a string with [ br... |
Oct 2, 2014 at 4:53pm
[3 replies] Last: Splitting it over two lines makes it easier to follow. *ptr = ... ptr... (by Peter87)
|
by trannghi7707
Problems with menu
|
Hello everyone, I'm new on this forum and I would not come here to ask for help if I'm not desperate. I just learn loop last week and my professor give me a p... |
Oct 2, 2014 at 4:30pm
[7 replies] Last: Thank you kemort for helping me. All problems are solved. (by trannghi7707)
|
by it058
Selection sort to sort linear linked list
|
Whats problem in sort function (selection sorting is used here)? void sort(node *n) { int small, temp; do { small=n->info; m=n; //... |
Oct 2, 2014 at 4:25pm
[no replies]
|
by Recky12
float variable (i input the value is a letter),Error syntax!
|
when i want to input the value of equation,example is length and then i enter it a letter to the value,the program became error.Please help me to fix this prog... |
Oct 2, 2014 at 4:15pm
[8 replies] Last: I just have used the functions,it is worked nicely.Thank you man,you s... (by Recky12)
|
by kwadkwk
I am all confused. Need Help
|
I have never programed in my life and have to take the C++ for my engineering class. Once I get it, I totally get confused again. Can someone help me with this ... |
Oct 2, 2014 at 4:11pm
[6 replies] Last: I need help with the "switch case" and I think I will be fine! (by kwadkwk)
|
by Tom01810
rewrite the program below using a switch statement
|
I wonder if my codes meet all the requirements here yet ? and How do you rewrite the program below using a switch statement instead of the if-else chain? Use... |
Oct 2, 2014 at 4:10pm
[4 replies] Last: Hint: Or, you might process the number a little more get to just o... (by PCrumley48)
|
by bjwade1
C++ Program
|
I'm working on an assignment for class. I would like to see if I am close enough to the right path for people to understand what the program wants. //Br... |
Oct 2, 2014 at 3:20pm
[7 replies] Last: Ispil: Yes. We get graded on variable names this semester. (by bjwade1)
|
by pacman169
Program 18 (1,2)
|
Now I moved on to the next exercise, which is as follows: Now change the body of the loop so that it reads just one double each time around. Define two varia... |
Oct 2, 2014 at 3:03pm
[30 replies] Last: Hello guys now I decided to move to the next exercise: Keep track of... (by pacman169)
|