
please wait
by kinglado
help with dice program
|
need help with the total function. I get funny result when i have to put all the dice throw together #include <iostream> #include <cstdlib> #i... |
Jan 11, 2017 at 2:48pm
[2 replies] Last: found the error. had to set the total to 0 int total = 0; (by kinglado)
|
by xenovia12
return vector vs return iterator
|
hello, which one do you think is better? because im looping through each vector of an object from a vector heres the one that returns vector which i think is ... |
Jan 11, 2017 at 2:20pm
[2 replies] Last: @Cubbi i didnt think of the reference XD thanks ! (by xenovia12)
|
by Ahmed150
Classess, Inheritence, Functions in OOP
|
Problem Statement: Consider the following part of class diagram in continuation of previous assignments. Class Diagram The distance from the sun for all... |
Jan 11, 2017 at 12:35pm
[3 replies] Last: please leave your email ... sure, my email is try_to_do_your_own_h... (by gunnerfunner)
|
by MackieJ
Too many arguements in function call HELP
|
I don't seem to know why I keep getting this too many arguments in function call error, and no matter what I've tried to do has changed it. #include <iostre... |
Jan 11, 2017 at 5:36am
[3 replies] Last: Ignoring warnings, which I am sure someone will come along and give yo... (by closed account 48T7M4Gy)
|
by justiceotuya
GPA calculator bug
|
Hello, programmers, I am a noob in programming and was told that to learn more, I need to do some project and so I started this GPA calculator that eventually p... |
Jan 11, 2017 at 5:27am
[1 reply] : gradePoint and letterGrade are arrays of 6 elements each. With numOfCo... (by lazpeng)
|
How do I call an item in an array using fragments of the value? |
So I am (obviously) new to programming, and trying to figure out how to make this (what should be) simple code work. My issue is in my last line, where I'm tryi... |
Jan 11, 2017 at 12:39am
[1 reply] : This would be an array: weapon sword = { { "Strata", 0,... (by Chervil)
|
by bluefrog
iterator error in generic function
|
Hi I attempting to use a generic function that iterates through a container from a start to end, matching an element and counting the number of times the mat... |
Jan 10, 2017 at 11:51pm
[1 reply] : Line 7: change: int cnt(Iterator & start, const Iterator & finish, co... (by Chervil)
|
by DirtyBlasion
Class error
|
Hi class Camera { double mouseposx = 0, mouseposy = 0; double xzdir = 0, ydir = 0, x, y, z; public: void Camera(void) { glfwGetCursor... |
Jan 10, 2017 at 11:33pm
[4 replies] Last: I don't want a constructor Then don't name the function the same as ... (by AbstractionAnon)
|
by livo
Problem to solve the equation with math.h
|
This function takes the value of re (double) and the program should resolve the equations and return the value of f. The problem is that I do not know if c ++ s... |
Jan 10, 2017 at 10:50pm
[3 replies] Last: I had not initialized the value of f. now it worked Thanks very much (by livo)
|
by vagulus
Does order of parameters matter?
|
Does it make any difference which order the parameters to a function are set? Some parameters are passed by reference, others by value. Is there some rule t... |
Jan 10, 2017 at 10:45pm
[3 replies] Last: You may pass parameters in any order you like. However, there is one s... (by xismn)
|
by shree081502
Palindrome Program
|
So I have to write a program that checks to see if a word entered is a palindrome. I can't really find my error but for some reason it gives me different output... |
Jan 10, 2017 at 8:35pm
[3 replies] Last: thanks cire . For some reason if i enter a 2 character input the thir... (by shree081502)
|
by Ivan Klimov
Large tic-tac-toe game
|
Hello. I need a help. There is a task for the last year Ukrainian school programming competition. To create a program which takes an input where is 2 number... |
Jan 10, 2017 at 4:55pm
[8 replies] Last: And a user has to enter a field by himself:) No random. And the size ... (by Ivan Klimov)
|
by DesmondLee
For Loop
|
#include <iostream> #include <iomanip> #include <cmath> using namespace std; int main() { for(int k=4; k>=1; k--) { for(int j=k; j>=1; j--) co... |
Jan 10, 2017 at 2:49pm
[2 replies] Last: @gunnerfunner thanks a lot ! that was clear explanation :D (by DesmondLee)
|
abstract classes in C++ |
Is there any differences among pure virtual class,an abstract class and an interface? Aren't they're synonyms of the same thing? |
Jan 10, 2017 at 12:58pm
[5 replies] Last: A logical interface of a class can include non-members too: class Foo... (by keskiverto)
|
by motokosan100
Problem with VS and vector chapter from Stroustrup's book.
|
Noob here, I've writing the examples from Stroustrup's book "Programming: Principles and Practice Using C++" to my compiler just to practise and try the example... |
Jan 10, 2017 at 11:35am
[6 replies] Last: Ah! I see, thanks (by gunnerfunner)
|
by DirtyBlasion
3d
|
I just want to start a 3d game, nothing strange? But I don't know from where to start. I a point from where to start. |
Jan 10, 2017 at 10:43am
[12 replies] Last: NVM, I solved it all, now I try to learn GLFW, I dont thinked working ... (by DirtyBlasion)
|
by madeleine
merge sort implementation problem
|
Hi. On lecture profesor did present us natural merge sort algorithm implementation in C++. Unfortunatelly the given code did not work in proper way. Probably I ... |
Jan 10, 2017 at 10:16am
[4 replies] Last: Yes. It is also right. I'll correct it. However my main problem is th... (by madeleine)
|
Pls can i start coding c++ with android phone |
Is it possible to code simple program using android phone |
Jan 10, 2017 at 6:18am
[2 replies] Last: It's possible, and not even difficult. Fire up the browser on your an... (by Michael5)
|
by bardo99
Dollar Conversion
|
Make a program that inputs money in change. Then convert how much they have in whole dollars and cents. Then display the total sum of the dollars and cents. The... |
Jan 10, 2017 at 5:37am
[no replies]
|
by lreyes53
console application question
|
alright so this little code is supposed to ask the users input to change a variable to a number. if they get the number right then they get a message. if they g... |
Jan 10, 2017 at 5:20am
[2 replies] Last: @whitenite1 thank you! (by lreyes53)
|