Beginners (Page 82)

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)
by bgmnk
Build Problem
 
Whenever I attempt to compile my program, an error message comes up: ||=== Build: Debug in filen...
[8 replies] Last: jlb, all I added to it was the do while statements. I had the rest alr... (by bgmnk)
arrays
 
how to shift negative integers first in array. i can do it with nested loop but the condition is th...
[no replies]
if you could help me with this function!!
 
Hey, pretty new here, would post more but don't have a huge amount to offer at the moment but I'm cr...
[1 reply] : You could have an averageArray function(arrayName, arraySize) that fir... (by wildblue)
by Jhub
Using loops and rand function
 
Hello I am trying to create a program that will ask the user for how many rolls of a dice he would l...
[8 replies] Last: #include <iostream> #include <cstdlib> #include <ctime> using std::... (by Jhub)
Not getting a value returned
 
I need this program to output the value of the bmr function. once i input height wieght and age noth...
[1 reply] : You need to tell the program to output the value. One way would be lik... (by admkrk)
Please help me simplify my code!
 
Hi. I am doing this assignment for my computer science class, and my professor said my answer was "t...
[2 replies] Last: That's only there because I ran it through http://www.compileonline.co... (by Mroonie)
conversion
 
can someone explain what he means with this? (from a tutorial e-book), i tried and as i could figure...
[3 replies] Last: Makes more sense now, thanks (by Jacobhaha)
Problem with nested loop in prime sieve program
 
Hello all, I'm new to the forums and C++ (having previously programmed in fortran). I've been tryin...
[no replies]
Pages: 1... 8081828384... 121
  Archived months: [aug2014]

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