
please wait
by NOD32
I need help reformatting my if-else statements
|
Write your question here. I've made a program that accepts cent input between 5 and 100, and returns change in quarters/dimes/nickels. When I input 85, it sh... |
Sep 26, 2014 at 2:02am
[4 replies] Last: sorry about that. you were right, I didn't need all of those condition... (by NOD32)
|
by yak
Arrays in functions C++
|
This code seems to only work while the array (dArray ) is initialized with a set of given numbers instead of user inputs. This code is supposed to calculate: *... |
Sep 26, 2014 at 1:41am
[5 replies] Last: I figured it out, I had to change dValues to dValues and works now. ... (by yak)
|
by mrahim9
why am i getting this error
|
i keep getting the error saying that the system cannot find the specified file, what does that mean. the assignment is to write a program that converts yards a... |
Sep 26, 2014 at 1:32am
[9 replies] Last: Good job mrahim! ....Totally missed that line 12...Nice catch! (by novellof)
|
by seirin1234
assignment
|
hai :D can you help me , make a program that can display a number and its square root. in decending order,by just using : #include <iostream> using namespace s... |
Sep 26, 2014 at 12:22am
[9 replies] Last: #include <iostream> using namespace std; main() { system("co... (by kurtss198704)
|
by Rashad2
Multi Arrays
|
Hi guys, im trying to print out my array. Im not sure why i get crazy numbers. #include <iostream> using namespace std; int main() { int rashad... |
Sep 25, 2014 at 11:02pm
[1 reply] : Your array elements are rashad not rashad or rashad . So you need t... (by closed account 48T7M4Gy)
|
by pjalli
Problem with numbers
|
We have 5 differern files that include text in txt format. We have to find and counting the last word or number from text file, how often it occurs in the text.... |
Sep 25, 2014 at 10:24pm
[3 replies] Last: I found out the reason for this not to work, the pos++ have to be +... (by pjalli)
|
by yusufseedat
batch file to create DLL
|
hi. i am trying to use a batch file to create a dll. everything seems in place how ever when i execute my batch file i get the following g++ error: file.cpp no ... |
Sep 25, 2014 at 9:10pm
[no replies]
|
by ChibuChan
Fatal Error C1075
|
I'm still learning C++ and in class we were tasked to make a program to have the user input 3 numbers and have the output showing them in ascending order. Using... |
Sep 25, 2014 at 8:39pm
[1 reply] : You're missing the } for the end of main. If you had used sensible in... (by AbstractionAnon)
|
by pdf0791
Please help with calculating area of shapes
|
Hi everyone I desperately need help with an assignment to calculate the area of shapes using functions. PLEASE be patient as I am very new and I am doing my bes... |
Sep 25, 2014 at 8:27pm
[11 replies] Last: You need only one switch (choice) Your switch statement at line 39 ... (by AbstractionAnon)
|
Help with parsing a text file content and saving it to a vector |
Hello, I have written the same program using iostream, but now want to do it using fstream. Any STL container can be used. I am trying to parse input from... |
Sep 25, 2014 at 7:10pm
[19 replies] Last: ABSOLUTELY FANTASTIC! Thanks for all of you guys. I had two files tha... (by JoshuaMostafa)
|
by mtbrooks1993
run time error
|
I'm getting an error and I don't understand why. I'm reading in a file of numbers that I need to convert from characters to a number that I store in an array. T... |
Sep 25, 2014 at 6:16pm
[3 replies] Last: Make your function to accept reference to istream as one of the para... (by MiiNiPaa)
|
by GaryWalker96
Need Help with an If Else Statement!!!
|
//Homework 3 //Gary Walker #include <iostream> #include <fstream> #include <iomanip> using namespace std; void main() { ifstream fin; ofstream fo... |
Sep 25, 2014 at 5:57pm
[10 replies] Last: Problem solved. Can't believe I put a semicolon on a while loop.... (by GaryWalker96)
|
by akai09
tutor?
|
Does anyone do 1on1 c++ tutor session? |
Sep 25, 2014 at 5:32pm
[3 replies] Last: I see you have made a separate post there, you dont have to make a new... (by closed account EwCjE3v7)
|
by leoraelkins
error C2440: '=' : cannot convert from 'std::string' to 'char'
|
I'm sorry if this is a stupid question... I just started taking a course to learn C++ and don't have any previous experience, so be gentle :) I keep getting th... |
Sep 25, 2014 at 4:44pm
[2 replies] Last: thank you for explaining to me exactly what my incorrect code was atte... (by leoraelkins)
|
by vishnu123
regarding passing arguements
|
during function calling.which is better pass by value or pass by const reference and it is said that in c++ function arguements are sent through const refernec... |
Sep 25, 2014 at 3:23pm
[3 replies] Last: For simple variables (ints, doubles, etc), passing by value is fine. ... (by AbstractionAnon)
|
by taipscode
Control Microphone Boost
|
Hello everybody. |
Sep 25, 2014 at 3:13pm
[1 reply] : I'm confused. Do you want to understand the source code? Or do you w... (by kevinkjt2000)
|
by LuckyR
Misunderstanding a simple for loop
|
Again, a stupidly simple problem that has be vexed. In the below code, n is set to 10, n is then checked to see if it is greater than zero, it is, so n is t... |
Sep 25, 2014 at 2:43pm
[6 replies] Last: Oh okay, I missed that when following tutorials. I got confused and as... (by LuckyR)
|
Can I use an Else statement after a Try Catch? |
I've written a simple function that's meant to check whether files are open. In it I've written a simple exception, but should the exception throw nothing, shou... |
Sep 25, 2014 at 2:19pm
[1 reply] : 1) return false will cause the function to exit immediately. 2) ... (by AbstractionAnon)
|
by krad23
Where to extract functions for cleanup
|
I have a number of functions in my cpp file and I would like to do a bit of cleanup, move some functions to other files. My question is what would be the best a... |
Sep 25, 2014 at 2:15pm
[3 replies] Last: Templates go in header files. Templates are a special case because te... (by AbstractionAnon)
|
by overthewater
How would I fix these errors?
|
When I try to run it, it will go so far as the distance then stop. But it will not tell me a legitimate value for the distance, always 1. What it should do is a... |
Sep 25, 2014 at 1:34pm
[15 replies] Last: How would I fix the uninitialized variables? Don't use the variabl... (by AbstractionAnon)
|