
please wait
by ZahoorKhan
How to do the second part of problem?
|
The problem is given in image in following link:- https://i.imgsafe.org/c07c7c9.png #include <iostream> using namespace std; int main() { double fac... |
Jan 28, 2016 at 1:48pm
[1 reply] : The second part is "the program should also calculate the monthly pay... (by cire)
|
by jDurks619
C++ random number generator questions
|
I'm making a random number guessing game and I'm done with most of the body of the coding but I'm unsure of what is wrong with the main srand and rand parts. In... |
Jan 28, 2016 at 12:42pm
[5 replies] Last: whenever i initialize them to 0 it says DivideByZero error Well, if... (by Chervil)
|
by alzetoun1
plot in c++
|
What is the best/easy way to make a plot using c++ code? in the other word:how we can run the c++ code using other program like(python) to make a plot? may an... |
Jan 28, 2016 at 11:46am
[7 replies] Last: I got it now thanks,I made a text file and I plot it in python (by alzetoun1)
|
by alzetoun1
save data as text file
|
it is possible to save the output result in c++ as a text file and use this text file to plot it in python for example.And also how we can save output data into... |
Jan 28, 2016 at 11:44am
[2 replies] Last: I solved this now. Thanks (by alzetoun1)
|
by Fantzkapo1
HELP PLEASE ME CREATE A VALID SENTENCES
|
Write your question here. C++ I am required to write a program that recognises valid sentences in a limited language. The elements of the language a... |
Jan 28, 2016 at 6:55am
[5 replies] Last: If you are still stuck on it this is something I whipped something up.... (by rabster)
|
by MopeyJr
Enum (New topic) and Array/Function (Review)
|
So this is my first week in CS265 and between refreshing my memory from a previous semester and grasping this new professor and concepts, I can't seem to figure... |
Jan 28, 2016 at 5:40am
[7 replies] Last: Again, change line 4 from: int box ; to mailbox box ; You have... (by xismn)
|
by MsNoobie
Looping Menu Problems
|
I'm a noob and trying to study this as i have seen from the book of my professor. Please kindly help me out. This maybe a part where I can't do anything. ^_^ 1... |
Jan 28, 2016 at 5:09am
[1 reply] : For starters, show us what you've done so far. (by integralfx)
|
by srhoover15
Modulus & Increments
|
Just started with c++ and i was hoping someone could tell me how to do these? I'm so confused. The question is "Using the following code, what will x’s be aft... |
Jan 28, 2016 at 3:57am
[1 reply] : The modulus operator returns the remainder of two numbers. int x = 1... (by integralfx)
|
by Cquestiosnq
looping graphics?
|
I can't seem to get it to loop, All i get is the point to be placed but it does not move anywhere. If possible i'd like some guidance. It is suppose to loop by ... |
Jan 28, 2016 at 2:21am
[1 reply] : it does not move anywhere. int alt; - For starters, you haven'... (by integralfx)
|
by Zarman
Function issues... (not hard to solve hopefully)
|
My book wants me to make a program that takes in 10 golf scores, displays them, and calculate their mean (all in different functions of course). They also want ... |
Jan 28, 2016 at 2:14am
[2 replies] Last: but sets the rest of the values at funky numbers. - That's because... (by integralfx)
|
by alx119
Some explanation
|
Hi, I started to read Programming Principles and Practice using c++ of Bjarne Stroustrup and I need some explanation because I don't understand something. ... |
Jan 28, 2016 at 12:23am
[4 replies] Last: Thank you very much keskiverto.You've been very helpfully. :P (by alx119)
|
by whatusername
Ampersand question
|
I'm trying to understand what the ampersand mean when it comes to function arguments/parameters. What does the (int &a, int b) in functiontwo mean? Thanks. ... |
Jan 27, 2016 at 10:49pm
[2 replies] Last: Thank you. (by whatusername)
|
by Leo Alves
Casting problems
|
I'm trying to do operations using members of struct looping through it. But I always get a casting error. My struct: struct Chromosome { std::st... |
Jan 27, 2016 at 10:40pm
[6 replies] Last: Thanks for clarifying everything. (by Leo Alves)
|
by skadush
Confuse on str().c_str() and just c_str()
|
I was experimenting on reading file. Then I found something kinda confusing. Why is it that if I pass a converted string stream sample = VShaderStream.str().... |
Jan 27, 2016 at 7:08pm
[3 replies] Last: Thanks, You guys are awesome (by skadush)
|
by ToMMaC
Choose the name of a .txt
|
I want to open a cmd window that questions (In my language, of course) what name of .txt i want to create, for then put information in it. I have this, but it s... |
Jan 27, 2016 at 6:41pm
[5 replies] Last: To use a std::string in the constructor you need to be compiling using... (by jlb)
|
by r 4 raja
Explain this program...
|
Write your question here. #include<iostream.h> #include<conio.h> class add { int num1,num2,sum; public: add() { cout<<"\n Constructor without parameters"; num... |
Jan 27, 2016 at 5:42pm
[9 replies] Last: You do call member function addition() of object c . The code of t... (by keskiverto)
|
by hookster007
Printing a reverse array!
|
Hey guys, I'm having a little trouble figuring out what exactly to put into my print_reverse_array function, I've tried countless times and it doesn't every wor... |
Jan 27, 2016 at 4:58pm
[4 replies] Last: You might also consider using pointer arithmetic a little more directl... (by cire)
|
by ZahoorKhan
What is the mean of this coding?
|
I am solving a problem "Find square root of a number n through Babylonian algorithm" I found following solution coding at http://www.cplusplus.com/. ... |
Jan 27, 2016 at 3:39pm
[5 replies] Last: because this line is the only line executed when the else is valid e... (by Moooce)
|
by InlandTaipan
Program takes input and then...nothing
|
This code should preform the euclidian algorithm. Whether or not the code does what it is supposed to is not the problem. The problem is that I will input a and... |
Jan 27, 2016 at 2:32pm
[1 reply] : Whether or not the code does what it is supposed to is not the proble... (by cire)
|
by Harutyun
How to add interface/graphics to C++?
|
I just made a c++ code to play tic tac toe, but the "graphics" I'm using are quite ugly, are there any ways to easily implement some graphics? And how exactly w... |
Jan 27, 2016 at 2:04pm
[2 replies] Last: Graphics huh :3 (by GibsRey)
|