Beginners - September 2014 (Page 11)

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 retu...
[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 in...
[5 replies] Last: I figured it out, I had to change dValues to dValues and works now. ... (by yak)
why am i getting this error
 
i keep getting the error saying that the system cannot find the specified file, what does that mean....
[9 replies] Last: Good job mrahim! ....Totally missed that line 12...Nice catch! (by novellof)
assignment
 
hai :D can you help me , make a program that can display a number and its square root. in decending...
[9 replies] Last: #include <iostream> using namespace std; main() { system("co... (by kurtss198704)
Multi Arrays
 
Hi guys, im trying to print out my array. Im not sure why i get crazy numbers. #include <iostre...
[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 wor...
[3 replies] Last: I found out the reason for this not to work, the pos++ have to be +... (by pjalli)
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 execu...
[no replies]
Fatal Error C1075
 
I'm still learning C++ and in class we were tasked to make a program to have the user input 3 number...
[1 reply] : You're missing the } for the end of main. If you had used sensible in... (by AbstractionAnon)
Please help with calculating area of shapes
 
Hi everyone I desperately need help with an assignment to calculate the area of shapes using functio...
[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 S...
[19 replies] Last: ABSOLUTELY FANTASTIC! Thanks for all of you guys. I had two files tha... (by JoshuaMostafa)
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 con...
[3 replies] Last: Make your function to accept reference to istream as one of the para... (by MiiNiPaa)
Need Help with an If Else Statement!!!
 
//Homework 3 //Gary Walker #include <iostream> #include <fstream> #include <iomanip> using na...
[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?
[3 replies] Last: I see you have made a separate post there, you dont have to make a new... (by closed account EwCjE3v7)
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...
[2 replies] Last: thank you for explaining to me exactly what my incorrect code was atte... (by leoraelkins)
regarding passing arguements
 
during function calling.which is better pass by value or pass by const reference and it is said tha...
[3 replies] Last: For simple variables (ints, doubles, etc), passing by value is fine. ... (by AbstractionAnon)
Control Microphone Boost
 
Hello everybody.
[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...
[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 si...
[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 funct...
[3 replies] Last: Templates go in header files. Templates are a special case because te... (by AbstractionAnon)
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 legitim...
[15 replies] Last: How would I fix the uninitialized variables? Don't use the variabl... (by AbstractionAnon)
September 2014 Pages: 1... 910111213... 51
  Archived months: [aug2014] [oct2014]

This is an archived page. To post a new message, go to the current page.