
please wait
by Yawzheek
Two Stupid, Beginner Questions
|
To begin, I have everything I need working, so no worries. Don't worry, most of my questions are related to, "Why does it do this?" I have one error related to ... |
Feb 19, 2016 at 5:53pm
[2 replies] Last: OK, so you're saying that by my using "x" it's like putting the \0 (I ... (by Yawzheek)
|
by Psalazar2016
What am I doing wrong? find_max function
|
I have tried running my code with both the commented statement and the non-commented statement and they both give me the number 2293484 as the result. The prog... |
Feb 19, 2016 at 5:31pm
[2 replies] Last: Woah thanks. Just realized that dumb mistake =) ; I knew about the ret... (by Psalazar2016)
|
by s690226
How to get while loop to not accept string statement
|
I want to get my while loop to run an error everytime someone inputs a letter or word into something that requires an int input. I don't know how to get it to w... |
Feb 19, 2016 at 4:59pm
[1 reply] : You can use cin.fail() or !cin #include <iostream> using namesp... (by TarikNeaj)
|
by Psalazar2016
Please help send variable output from header file to main.cpp
|
Here are my codes, hope someone can help. It maybe a little messy, and it does not have many notes as others posted, but I hope it is clear. The program works i... |
Feb 19, 2016 at 4:42pm
[2 replies] Last: SI found ways to make functions and classes outside the program on tut... (by Psalazar2016)
|
by bluefrog
question on pointer to new array structure
|
Hi I'm attempting to create a pointer to a memory location for a structure. I am able to create such a pointer for an integer, but having problems with a struc... |
Feb 19, 2016 at 4:36pm
[2 replies] Last: thanks, modified and it worked, Why is it that for the new pointer t... (by bluefrog)
|
by benwiley
Nested For loops help!
|
Hello, I am learning about printing shapes using nested for loops in c++. I'm comfortable printing triangles and rectangles but I have come across and assignmen... |
Feb 19, 2016 at 4:32pm
[no replies]
|
by Proglsl
File processing filtering negative and positive numbers
|
Hi, i was wondering if you guys can help me my problem is that the numbers in "numbers.txt" wont filtered when i try to run the program the numbers inside the n... |
Feb 19, 2016 at 4:17pm
[3 replies] Last: I dont understand clearly was have you said Ok, maybe it was too a... (by Thomas1965)
|
by Boneman
how to keep a randomized value from an array randomized?
|
hi! Let's jump straight to the code: #include <iostream> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <ctime> #include <string> ... |
Feb 19, 2016 at 3:52pm
[8 replies] Last: Hello again! I have been working to sorting this issue out on my own, ... (by Boneman)
|
by aarreola2010
C++ Program
|
Write a complete C++ program that will do all the following tasks. Each type of loop (while, for, do/while) must be used at least once. Create a loop that wil... |
Feb 19, 2016 at 2:47pm
[1 reply] : Double-post: http://www.cplusplus.com/forum/general/184902/ You have... (by cnoeval)
|
by qsqais
Creating a matrix from an input file
|
Dear C++ users, I am very new in C++. I have a question concerning reading an input file, where I have to create a matrix from same elements of the data if a c... |
Feb 19, 2016 at 12:21pm
[6 replies] Last: Dear TarikNeaj, Sure I can post the code. I slightly changed input f... (by qsqais)
|
Noob Help |
thanks |
Feb 19, 2016 at 10:53am
[3 replies] Last: It's because of integer division - percentMore = float(num_first_gr... (by TarikNeaj)
|
by tgau
Output binary shadow map with openGL
|
Good morning all, Here's my issue: I'm looking to detect shadow in a 2D picture. It so happens that I have a three-dimensional object of the scene (obtained ... |
Feb 19, 2016 at 10:29am
[no replies]
|
by mancigol
What does += do?
|
I know that for example iA++ is iA = iA + 1, but what does += do? |
Feb 19, 2016 at 6:50am
[3 replies] Last: x += y is equivalent to x = x + y (by guatemala007)
|
by macast
very confused on coding assignment.
|
I'm very new to C++ and have an assignment that is due tomorrow that i really need help on. The prompt is this... Prompt the user for two calendar dates. A c... |
Feb 19, 2016 at 6:27am
[1 reply] : You should create Date class . Create constructor that throws excepti... (by etrusks)
|
by Cooper
Linked list that needs multiple data fields
|
Hi all, I am trying to make a linked list of assignments, one that would keep track of homework. I was told to do it in the form of a doubly linked list, where ... |
Feb 19, 2016 at 6:24am
[1 reply] : I don't understand what makes it harder having four data values instea... (by Peter87)
|
How class point to another class ? |
Hi there, I want to create a class called Train and class classed Car. The Train class represent whole train: contain pointer to engine and car class for ea... |
Feb 19, 2016 at 6:07am
[1 reply] : int * car; explain (by ne555)
|
by Outlaw782
Class inheritance format question?
|
I am trying to figure out how to link my function prototype to my actual function using templates. I am very confused on how to do this correctly. Could anyone ... |
Feb 19, 2016 at 6:03am
[2 replies] Last: void insert_item(const T&); T OListType<T>::insert_item(const T&)... (by ne555)
|
by plsalinas
Triangle word
|
How do I get the last section to match the following output form? Program Progra Progr Prog Pro Pr P ... |
Feb 19, 2016 at 5:13am
[3 replies] Last: @plsalinas Yep. That's correct. (by whitenite1)
|
while loop not working |
Problem: You have just purchased a stereo system that costs $1000 on the following credit plan: No down payment, an interest rate of 18% per year (and hence 1.... |
Feb 19, 2016 at 4:01am
[4 replies] Last: thank you SO much. I spent hours so confused by this and was getting n... (by strawberryunicorn)
|
by plsalinas
How to count white spaces in a string
|
I'm trying to figure out how to count the white spaces in a string. So far I've managed to come up with the following code. #include <iostream> #include <s... |
Feb 19, 2016 at 3:43am
[3 replies] Last: Thank you so much for the help! I appreciate it. (by plsalinas)
|