Beginners (Page 65)

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)
Pseudo-code to C for While loop
Hello everyone, I have some problems with getting this program to work. I can't get the loop right ...
[1 reply] : This is a good start: ... (by kemort)
Write a program that imlements the ADT stack. 1.Push the elements -3.0,-8.0,6.0 2.Implement a ...
[7 replies] Last: I'm not sure what you want. If you want to understand it, then the fo... (by kbw)
Triangle task (hints please)
Write your question here. Hi. I now face difficulties in a programming problem. I am required to...
[5 replies] Last: try using a for loop? Maybe include a cout << '*' How would you do **... (by kemort)
Strings and paramaters
I need the following program to run the functions I wrote.I struggle to remember how to let the prin...
[1 reply] : [code firstline=63]main(){ std::string fullname; float totalhours; ... (by MiiNiPaa)
Returning address of local variable Warning
Hi everyone~ Just wondering if someone can help me get rid of this compiler warning? On the "retu...
[1 reply] : int a = { 0 }; This is a local variable. That meant, it will be des... (by MiiNiPaa)
When to use typdef and define
Can someone list the thought process one goes through when deciding on wether to use typdef and defi...
[2 replies] Last: You should always prefer typedef or using over #define . There ar... (by NT3)
Is there any good tutorial about handling BigInteger in C++?
I am a beginner. When I was solving problem I realized that I don't know the concept of Bigint and h...
[3 replies] Last: Using it is easy, it's a drop in replacement for int. Implementing it... (by kbw)
Help with Objects, and Assignment
I reached the end of another chapter in a book I've been learning out of, and it gives me a step by ...
[14 replies] Last: Yes, I believe it should be part of the std::cout and you should just ... (by JRHolmes)
second largest factor
need to find the second largest factor but my function keeps returning 1 all the time. #incl...
[4 replies] Last: i got it now man. anyways thanks for the help; appreciate it. this wa... (by ssandha)
location of (i, j, k) that has the maximum difference.
Hello cplusplus! I am trying to write a function that finds the maximum difference in a 3D array. ...
[5 replies] Last: Edit: nvm, your idea worked. Thank you very much! (by DeathLeap)
Student and Crash
Hello! I receive the crash when the main returns: #include <string.h> #include <iostream> clas...
[2 replies] Last: I thought that will be called "normal constructor" for ivan2 and then ... (by Observer)
color code
how to make statement..have different color... #include<iostream> using namespace std; main...
[no replies]
program code help
What I'm most confused by is where I put the "while" and "int" statements. I think I have them in th...
[3 replies] Last: considering you used that method at the bottom of your code? I know i... (by hyperfine)
by clock
Requesting Help with Functions C++
Hello, thank you for taking a moment to review my first thread. It is nice to meet you all. I apolog...
[2 replies] Last: Very helpful. Thank you for this. (by clock)
Pages: 1... 6364656667... 104
  Archived months: [aug2014]

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