
please wait
by idkwidlol
Why does this loop back after pressing "N"?
|
I simply want to know why pressing n, reverts it back to start, and maybe a possible fix for it. (I'm extremely new to this) #include <iostream> using ... |
Jan 5, 2016 at 12:09am
[2 replies] Last: You have two variables named choice in your program. One is created ... (by Peter87)
|
by ADVANCESSSS
How to have two separate things simutaniously compute?
|
I noticed the while statement can infinitely continue, but what if I want two of them going at the same time but separately coded? If c++ code sequence-ly does... |
Jan 4, 2016 at 10:52pm
[6 replies] Last: What I am asking for (which may even need), is if I can make 100 ant... (by TheIdeasMan)
|
by gutty333
Accessing an STL base class member variable
|
Hello, I am having some issues understanding the steps necessary to access the member variable from a class I can not access. I understand one can make member p... |
Jan 4, 2016 at 10:44pm
[14 replies] Last: ok thanks , will keep that in mind. (by gutty333)
|
by BlueWasabi
float into int
|
can anyone help me out with converting a float into integer. I'm new here... cin>>a>>b>>c>>d>>e; f=(a+b+c+d+e)/5; cout<<f; so i come here and i need to... |
Jan 4, 2016 at 5:47pm
[2 replies] Last: thank you :) (by BlueWasabi)
|
by Sankarea
Summary on memory usage etc
|
Hello I have been wondering if there are any good summaries on how much certain functions are variables strain the cpu/ memory etc.. what I mean is IT what wi... |
Jan 4, 2016 at 4:58pm
[1 reply] : Determining what certain functions are variables strain the cpu/ memo... (by kevinkjt2000)
|
by etrusks
Do I need destructor here?
|
If I have created destructor for node do I also have to create destructor for binary_tree to delete root ? In case I have to create it what I think I sho... |
Jan 4, 2016 at 4:14pm
[3 replies] Last: Tnx you guys for nice info! (by etrusks)
|
by mike9407
abstract type
|
linked list need learn abstract type first?what it is need so important? |
Jan 4, 2016 at 4:11pm
[1 reply] : linked list need learn abstract type first? No. (by cire)
|
by glitter
using a key for a set of data
|
hello everyone, I would like to use container for defining my data. actually in my algorithm each set of data ( contains more than one data) has a key . I woul... |
Jan 4, 2016 at 1:48pm
[15 replies] Last: thank u so much JLBorges , for your very helpful code. it is very nice... (by glitter)
|
by mike9407
no constructor
|
what happen if class no constructor |
Jan 4, 2016 at 1:38pm
[5 replies] Last: Yes. Are you sure you asked the right question? (by Moschops)
|
by etrusks
Not really understanding an exercise...
|
Hi guys. I'm trying to do all the exercises in Stroustrup's 4th edition and now I'm in 13th chapter "Exception Handling". Mostly he talks about exceptions and R... |
Jan 4, 2016 at 1:21pm
[no replies]
|
by CGunn86
Multiple directory creation.
|
Playing around with file streams and directory creations I stumbled upon the _mkdir command and wanted to try something. I wanted to stick that command inside a... |
Jan 4, 2016 at 1:01pm
[3 replies] Last: Also, is mkdir the best command for this? if you don't care about po... (by codekiddy)
|
by TheWannaBDev
Recursion: I need help understanding.
|
In this c++ book im reading and in a c++ learning app im using. it tells me that to break the loop of a function that calls itself, use the "recursive function"... |
Jan 4, 2016 at 11:52am
[3 replies] Last: If you do #include <iostream> int factorialfinder (int x) { if... (by mido70)
|
by samarth123
modulus
|
Please tell me the modulus operation on multiplication of three numbers. i.e. (a*b*c)%m=? |
Jan 4, 2016 at 9:24am
[4 replies] Last: (a*b) % m == ( (a%m) * (b%m) ) % m (a*b*c)%m == ( ( ((a%m)*(b%m))%m )... (by JLBorges)
|
by neljunior000
Functions and variables
|
Hi all, I wrote this small piece of code, after executing the code I had this output: Inside the function: 2 Outside the function: 2 This is not what... |
Jan 4, 2016 at 8:34am
[5 replies] Last: mpark4656, thanks for the tip with the square brackets in the function... (by SophiaJackson59)
|
by SCB3
Trying to figure this problem out (arrays I think...)
|
So, for a project I have to make a logical maze, I have a txt file stored into a array set up like this 37 W 45 02 S 89 -1 R 14 and so on ... |
Jan 3, 2016 at 10:12pm
[6 replies] Last: added new modulus to movement option (by SCB3)
|
by aclifton314
reading in formatted file
|
Hi Everyone, I have a question about reading in a file that has been formatted. Below are what the contents of the file looks like: A B C D E... |
Jan 3, 2016 at 9:53pm
[2 replies] Last: Worked like a charm. Thanks Chervil! (by aclifton314)
|
by Dany83
Determinant of a matrix, pointers, recursive functions
|
Hi to all!!! My name's Daniele and I'm new in this blog and a C++ beginner. In this period I'm trying to improve in pointers and recursive functions and for thi... |
Jan 3, 2016 at 9:20pm
[11 replies] Last: The return statement at like 13 is correct. The problem is line 8. If... (by dhayden)
|
by suppa
Need help
|
I am making a username and password database, my problem is that the program only see's the first user in the array and not any other users. I am sure this is a... |
Jan 3, 2016 at 8:02pm
[4 replies] Last: Thank you so much, I didn't realize that it was breaking after the fir... (by suppa)
|
Critique 2hr noob code |
Hello. I've only been learning C++ (my first language) for 2 hours now. So far, this is what I can/can't do. #include <iostream> using namespace std; ... |
Jan 3, 2016 at 7:22pm
[6 replies] Last: You guys are awesome. (by MediumLearner)
|
by siara904
Generate a random letter in set range?
|
Hi guys. I am making a bejewelled like game in windows console where if I get three of the same characters they will be destroyed and new characters will be ad... |
Jan 3, 2016 at 6:15pm
[5 replies] Last: If that's a reason to be stupid, then 99.95% of people who post here a... (by TarikNeaj)
|