Beginners - February 2014 (Page 18)

battery reader
 
Hello I just recently posted a question of how to read processor stats and I was also wondering how ...
[4 replies] Last: i don't have code i have no idea what i would use to be able to read o... (by kmtompkins)
Can someone help me code my thoughts to paper please?
 
Hey everyone, so i have a program that i found in the textbook im currently studying which leaves me...
[1 reply] : #include <iostream> int main(){ int n; std::cin >> n; //read an... (by ne555)
Error in the ouput for quantity of 0
 
First of all, thank you for reading this. This code is for a project in my college class. For every ...
[7 replies] Last: Ahhh. Now I understand. (by pezpirate1)
by combzy
Do while loop
 
I'm writing a do while loop and I am very confused on what I'm doing. Here is the code I have and I ...
[8 replies] Last: Yep you are right, I feel like a doofus, thank you. (by combzy)
Vector of Objects
 
I don't understand why I'm getting an invalid syntax error in the following code. To be clear Visual...
[2 replies] Last: Thank you. Yeah I just need to add std:: in front of them. Can't belie... (by JRimmer)
What does 'return 0;' literally means?
 
It's my 4th day here and i'm on Classes (I) part now. I just notice some examples always has 'return...
[3 replies] Last: BTW, don't return negative numbers from main. For maximum portability ... (by Duthomhas)
Perfect number
 
I'm new user C++,I have to write a program that will compute and list all the perfect number from ...
[2 replies] Last: An integer is said to be a perfect number if the sum of its divisors, ... (by LI0207)
Opening and Analyzing a HTML Document
 
I'm really struggling in this class and just need help completing this code project. I don't complet...
[no replies]
by Truzza
New to coding. Problem with simple code.
 
I'm trying to write a program that will some all numbers that are multiples of 13, 15, and 17 but no...
[2 replies] Last: I want it to add the number to the sum if it's divisible by 13, 15, or... (by Truzza)
Calculating sum, max, and min values in an array?
 
My professor has approved all the functions until findmax onward- I wrote those after class so they ...
[no replies]
For loop issues
 
I have a problem with the for loop. It's not giving me the result I want. What is my issue? #...
[4 replies] Last: oops. I misread what the program wanted. I got it solved now. Thanks e... (by faust058)
Conway's Game of Life Origin Function
 
Hey everybody, I've been working on a function to initiate a Game of Life with random blinkers an...
[no replies]
Always Crashes - Why?
 
OK. So I'm making this program from my C++ course. I have to run a game of Hi Ho Cherry-O. I made on...
[5 replies] Last: Looking further into the program, I believe you have the same problem ... (by unsensible)
C++ arrays question!
 
I have made my code to cout the average of the values without the k smallest and k highest. I have a...
[5 replies] Last: std::sort( array, array+n ); auto sum = std::accumulate( array+k, arra... (by keskiverto)
Float sum of array error
 
Hi so i'm trying to build this code in visual studio where i calculate the sum of the array, among o...
[5 replies] Last: That's not what my question was. (by LB)
by Limne
Include Directors
 
Hi, I'm using Visual Studio 2010 and I'm trying to build a project that includes the following files...
[6 replies] Last: As long as it's in the same project even if it's in different folders ... (by unsensible)
by Alby94
Expression
 
what is this expression declare? auto a = {1, 2};
[1 reply] : When in doubt, typeid ! http://ideone.com/SlkqD2 a is an initializ... (by LB)
lowest score
 
When writing my code it continues to give me an error with my math. After calculating my scores I ge...
[4 replies] Last: No problem. The rest looks pretty good with maybe a little bit of touc... (by unsensible)
Segmentation fault (core dumped)
 
cant figure out whats wrong 1 #include<iostream> 2 #include<fstream> 3 #include<cmath>...
[2 replies] Last: know, i didnt know tmp could hold only one element and -1 is the sent... (by nickeljb)
help me please
 
I'm get stuck when I try to write a C++ program that will input 3 integer values in any order and ou...
[3 replies] Last: I'm very new for the C++ , can you all help me with the simple code? I... (by missmango)
February 2014 Pages: 1... 1617181920... 60
  Archived months: [jan2014] [mar2014]

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