Beginners (Page 74)

User input with if/else statements and switches
 
So I need to write a program for my cse 100 class. I will provide all of the instructions, although ...
[1 reply] : What exactly you need help with? I see you already familiar with if st... (by MiiNiPaa)
C++ programming
 
Hello guys i'm kinda new to programming and i'm trying to do a certain task. I want to use a for lo...
[15 replies] Last: The senseless value of n is usually sign of failed read. Check if file... (by MiiNiPaa)
Confusing output for if/else code
 
I am at a loss as to how the output for this code is equal to 2? I feel like the "++n < 3" part woul...
[4 replies] Last: Yeah, that's right. If you don't want to change the value of n you s... (by Peter87)
by teetee
correlation prob
 
Hi guys, i'm stuck with this program here. Any help is appreciated. So the question that was given w...
[1 reply] : #include <iostream> using namespace std; const int SIZE = 10; doub... (by kemort)
swap_floats function
 
Im supposed to create a function that swaps the floats... the outcome of this code gives me: 2,4......
[5 replies] Last: You made the changes kemotoe suggested, including the reference parame... (by Zhuge)
Need help printing max value using functions
 
Hi, i need help with an assignment making this program to calculate the min, max, and avg values of ...
[3 replies] Last: Why are you trying to pass the maximum array to the function when you ... (by jlb)
How do you do this?
 
Hi, I am a beginner in C++ and he has asked me to complete the question below. I do not know how to ...
[3 replies] Last: #include <iostream> #include <limits> using namespace std; int mai... (by Corey21Woods)
by Musica
C++ help
 
This is the assign question My code: #include <iostream> using namespace std ; in...
[2 replies] Last: thank you!! it works!! i also change char word ==> string word . (by Musica)
Multiplication by parallel arrays
 
I'm working on a program that takes two large numbers, stored in arrays of integers (one digit of th...
[3 replies] Last: In your print statement, the condition for the for-loop should be i <... (by Smac89)
Wrong Division Result
 
Why cant i get a result from division, it always comes out to 0. #include<iostream> #include<io...
[2 replies] Last: thanks! (by Zenith1900)
Can Someone revise my tic-tac-toe program? (long code)
 
Can someone tell me how to improve this? Game::Game() { char b = { {'.','.','.'},...
[1 reply] : What are you looking to improve? (by squished18)
Help with C++ Loop intro assignment
 
Hello! I am taking a Intro C++ class and this is one of the assignments. I need help with it and wa...
[1 reply] : When I am unsure how to get a program started, I try to answer the fol... (by squished18)
Need help with my C++ menu program
 
The only problem I have with my code is the result(no errors or warnings). It always gives me $20053...
[1 reply] : Well I was finally able to solve my dilemma(took about 3 hours jeesh).... (by deathslice)
Help...What does this mean?
 
What does this mean? int myNum = 10; int yourNum = 30; if (yourNum % myNum == 3) ...
[2 replies] Last: Thank you. That is correct. I have forgot about that. (by David623)
while loop output
 
I wrote the following while loop : #include <iostream> using namespace std; int main() { in...
[1 reply] : I think it's ur incrementing and decrementing. In the while loop, yo... (by crimsonzero2)
Analysis Help
 
I have to write a program calculating the following for a class: total calories, total grams of fat,...
[no replies]
assert function
 
I am trying to write a function that calculates the sqrt of a float. I have to test two cases, when...
[10 replies] Last: Holy shit, now I realized that all I program is absolute crap xD Than... (by DeathLeap)
easy implementation of zig /zag etc.
 
I looking for an easy implementation on how zig and zag a splay tree. all the method i've come up so...
[no replies]
reading hexadecimal
 
can you please tell me how to convert large hexadecimal numbers like this 0x78ABCDEF or 0x12345...
[6 replies] Last: I know it now, thanks (by Jacobhaha)
Help please
 
Hello, I am writing a program, it is supposed to find e^x for an x input. e^x can be found by: 1+ x^...
[1 reply] : ^ is the bitwise XOR operator in C++. Use the std::pow function if you... (by Peter87)
Pages: 1... 7273747576... 121
  Archived months: [aug2014]

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