
please wait
by Dabid747
Is it the matter of private and public ?
|
Hi, everyone, the following code runs fine,but if #include "stdafx.h" #include <iostream> #include <string> using namespace std; class WhatThe ... |
Sep 2, 2018 at 10:04am
[1 reply] : Printing and returning are two different things. Printing means t... (by Peter87)
|
by hello321
convert unsigned decimal to binary
|
aqqq |
Sep 2, 2018 at 8:16am
[3 replies] Last: Yea. I am aware of the the table and understand how to convert it by h... (by hello321)
|
by aceadams
Shadowing a variable
|
What does shadowing a variable do? For example, what is the difference between this #include <iostream> using namespace std; int main () { int n; ... |
Sep 2, 2018 at 5:21am
[2 replies] Last: it makes the code aggravating to read and debug. Example 1 declares... (by jonnin)
|
E number |
/*HEllo everybody. i would like to see your recommendations and your quotes. how can i optimize this code? what is wrong into the code? what can it be impr... |
Sep 2, 2018 at 2:55am
[5 replies] Last: nice sir i got it, but is hard to follow your way to do it on coding. ... (by luciusFernatore)
|
by jerry HQ
how to trigger carriage return after 8 characters
|
I would like to have carriage return after 8 characters so it would look like 11111111 11111111 00000000 00000000 instead of 1111111111111111000000... |
Sep 1, 2018 at 10:33pm
[3 replies] Last: I am attempting to make a bit board for chess. A chess game with one... (by closed account E0p9LyTq)
|
by XboxOne2019
Area and Volume of a cone with step increments of 0.5
|
Hello, I am new to C++ so try to not be too hard on me. I have been searching the forums and google for a few hours to try and figure this out. I am trying to c... |
Sep 1, 2018 at 8:44pm
[2 replies] Last: Thank you so much for the fast reply. The teacher gave us some sample ... (by XboxOne2019)
|
by PhysicsIsFun
randomly place N spheres in volume
|
Hello there. This time, I need to put N spheres with given radius R randomly in a Volume [-0.5,0.5]^3, without any overlap of spheres. If I choose values so t... |
Sep 1, 2018 at 8:38pm
[3 replies] Last: @Repeater My overlap function still sucks. I will have to improve it, ... (by PhysicsIsFun)
|
Arrays |
I'm trying to figure out how to print one element of an array based on the user's input. Let's say I made an array that contains the student's first and last na... |
Sep 1, 2018 at 8:26pm
[2 replies] Last: Thanks!!! (by mysiarobin1987)
|
by nirbh
problem understanding a paragraph in c++ primer
|
A decimal literal has the smallest type of int, long, or long long (i.e., the first type in this list) in which the literal’s value fits. Octal and hex... |
Sep 1, 2018 at 5:30pm
[3 replies] Last: thank you very much for the quick reply, now I understand. (by nirbh)
|
by Bracketc
Advise courses html
|
Advise courses html |
Sep 1, 2018 at 3:05pm
[2 replies] Last: How to Ask Questions the Smart Way http://www.cplusplus.com/forum/arti... (by closed account E0p9LyTq)
|
by amaali
Area circle and square
|
I keep gettin a redefinition for Circle::Circle() error on my circle.cpp file . We were to create a program in C++ for user input of area and square. Header ... |
Sep 1, 2018 at 8:58am
[3 replies] Last: can you post the exact error you're getting? If you look closely the... (by Peter87)
|
by witchee666
console closes when i enter input
|
Write your question here. just started using visual studio...at first the console only opened for a second and i found an answer to that....now it stays open ti... |
Sep 1, 2018 at 8:24am
[2 replies] Last: A thing I use in all my programs: #include <iostream> #include </*w... (by H00G0)
|
by Hippotopamus
Calling function within if or switch statements
|
Hi all! I'm writing some code for a "casino" game but have hit a snag with using multiple functions (which is required). I'm able to go to the menu from main, a... |
Sep 1, 2018 at 5:39am
[6 replies] Last: I don't know why (I had tried both the switch and if statement after c... (by Hippotopamus)
|
by natekelsey
Use Pointers and Casting to insert/retrieve char(s) and int(s) from char array
|
I'm at a complete loss here on how to do this. I have a char array of 100 bytes and I'm trying to use ptrs and casting to put integer(s) and char(s) into and re... |
Sep 1, 2018 at 1:02am
[3 replies] Last: Thanks! This is a big help. I'm going to review this to make sure I un... (by natekelsey)
|