Beginners (Page 5)

while loop problem
 
Hi guys,I want my program to exit while the var TheChoice is not = to 4 but what I find is after I'm...
[2 replies] Last: yeah that was driving me crazy something so simple haha (by adam2016)
Is programming going to be a tough journey?
 
Hey guys, I'm not asking any sort of coding question this time. I want to know from all of you exper...
[3 replies] Last: I'm the same age as you and we have a lot in common! I really want to ... (by Edi12)
automatic web starter
 
I am new to programming with C++. and i want to make something that helps me at the start of the sch...
[3 replies] Last: What you can't type on the command line, you can't feed to system . ... (by cire)
C++ code for area of triangle, compiling but not working
 
This program is to find the area of a triangle using three vertices. I have used Heron's formula to ...
[1 reply] : line 49, you're not actually calling the function. Try change it to: a... (by liuyang)
by nolza
Using #define for changing the class name
 
I am currently implementing my own version of a foward list and I wanted to be able to change betwee...
[3 replies] Last: > So I guess it would be better to use a #define the way I have been u... (by JLBorges)
void functions and other functios
 
Write your question here. hi everyone. i have to code a program that contains 2 functions and proto...
[no replies]
Homework Problem
 
Hey all! I am trying to get one of my homework problems to work, but something is going wrong wit...
[3 replies] Last: Sorry, but your original lines 1-33 are ok. On the new attempt: * Y... (by keskiverto)
Floating point error
 
'domain abnormal program termination is appearing on the user screen I got stuck in this simple prog...
[2 replies] Last: Thanks a lot (by Sonu 123)
Repeated Words - Bjarne Stroustrup Book
 
Edit: after re reading this post a couple times I discovered why "she" and "good" are not repeated. ...
[1 reply] : The strings "She" and "she" do not compare equal (case-sensitive) Th... (by JLBorges)
Easier way to do this?
 
I want to read a letter from the user that is between a and j including a and j. Here is my attempt...
[4 replies] Last: Thank you very much guys! (by MultiMedia)
Vector of vectors - why doesn't this work
 
So suppose I want a vector of vector<int>'s, and fill up position with the number 5. Here's t...
[1 reply] : The type of the expression std::vector<int>().push_back(5) is void ... (by JLBorges)
by norcal
Linked Lists help
 
How do I modify this program to track the numbers guessed by the user using a linked list. So basica...
[2 replies] Last: Well this is a homework assignment and I kinda have to use a linked li... (by norcal)
loops conditions
 
Hi guys I thought that when using a loop or a test condition I thought you could only test if a cond...
[2 replies] Last: correction: operator>> returns a REFERENCE to an istream object. (by Arslan7041)
Logical operator problems when entering integer to char variable
 
Can somebody explain why it is that problems arise here. Fx if I type a=1 I get "More" as an output ...
[1 reply] : The input expected is just a single char, so if you type "a=1" as your... (by Moschops)
try catch unexpected result?
 
hi guys so when I enter a valid number that is not 0 the try and catch block still gets called and i...
[8 replies] Last: Thanks guys that makes sense much appreciated (by adam2016)
play sound
 
I managed to use playsound in visual studio and I used a code which I found in an old forum the prog...
[10 replies] Last: I downloaded a wav file and it worked =D sorry for this stupid mistake... (by mariam maher)
by pyos
2D array with strings and int with 'cin >>'
 
I am trying to write an array where the user inputs three years worth of sales data by month. Fir...
[no replies]
by wolfv
Circular dependency linker errors
 
I am stuck on the second example. I appreciate any help you can give me. In the first example, tw...
[4 replies] Last: The following code has the .cpp files #included in main, and it works.... (by wolfv)
by ptitz
Why doesn't updating pointer variable change the variable that it points to?
 
I've got a class called state class State{ double x,y,z; std::vector<double *> state = {&x,&y,&z};...
[2 replies] Last: Yeah, super! Actually I've had a lot of problems pop up in the rest of... (by ptitz)
Pages: 1... 34567... 73
  Archived months: [mar2016]

Cannot post in this page. To post a new message, go to the first page.