Beginners - February 2015

by Gohmer
Need help with while loop
 
I'm trying to write a while loop that displays 15 asterisks one at a time. When I run the program it...
[2 replies] Last: I dont know why you need a while loop if its just for reasearch/leurni... (by Precious roy)
Using pointers to move to the next integer in a file
 
Hello everyone, I'm fairy new to pointers. I'm looking to use p++ in order to move to the next integ...
[3 replies] Last: Holy cow, MiiNiPaa you're a lifesaver. I've honestly have been working... (by decoy98)
Do while loop not showing final value
 
My assignment is to make an inline function that calculates stock value, it seems to work but when I...
[no replies]
explain the result fact (100) = 0!!
 
I tried to calculate the factorial of a number n equal to 100 and the result gives me 0. explain the...
[no replies]
by abc456
Can someone help me fix this program?
 
...
[no replies]
by cGuru
Class Help.. Please
 
[SEE 1ST COMMENT] I am getting the following errors when I add the code associated with the "find...
[2 replies] Last: Never mind, I got it. (by cGuru)
by alexBB
abs (built-in) function is not declared in this scope
 
Hi there, I need to test a c++ FFT set of routines. So, I write this statement: value = 1.0 - ...
[2 replies] Last: Thank you Peter. I actually found it out after I closed the post and ... (by alexBB)
operator >> overloading not working
 
Hi, im doing exercises in B.Stroustrup's book "Programming principles and practice using C++" and th...
[2 replies] Last: Ohh man, didnt see that! Thank you a lot man :) (by etrusks)
by Kernul
Square matrix exercise
 
The exercise is: Manage a square matrix of order N by: - Determining and storing the maximum of ea...
[4 replies] Last: What do you mean by For each index in the matrix M(i,j), Difference =... (by Kernul)
General C++ coding style
 
Hi guys! I just started learning C++ this week and I finished my first non-trivial program: a cl...
[3 replies] Last: Very nice for just a week of C++. Lines 54-62: incomplete code fra... (by AbstractionAnon)
by koopey
Programming taking long!
 
Hey everyone! I am new to programming. I just finished an exercise problem to print christmas song "...
[2 replies] Last: If you have been into programming for just five days, a complete turna... (by JLBorges)
Need help reading text file
 
So this program records your inputed stats after a game, it saves them to a textfile everytime you i...
[no replies]
Help!
 
Okay so I'm new. I need to make a simple calculator, that asks the user to choose and operator, then...
[5 replies] Last: and then the app just exited itself. After your code executes the ... (by AbstractionAnon)
Passing Array in using pointer offset;
 
I want to Pass an Array(2D) to a function but using pointer notation instead of array subscript . Ho...
[no replies]
Display Array in Rows and Columns using For loop
 
Hello everyone! I'm a beginner with C++, having started coding a few months back. Recently, I'm tryi...
[13 replies] Last: d'oh......... didn't knew that but int a ; works fine for small ru... (by shadder)
What could be the problem
 
I have some problems about this one, example. I just entered an invalid input on the question "What'...
[1 reply] : A simple goto statement would save you lines.. I like goto very mu... (by shadder)
Arrays
 
i'm new in c++ so please help me what i'm trying to do is enter 5 input then get the average of it...
[3 replies] Last: I did it thanksssss (by xshirooo)
How to print part of string>
 
in file1.txt writes PRINT "some text123", and I want him to console shows "some text123" but he prin...
[5 replies] Last: read all the words from a file to an array. Then read the array from t... (by shadowCODE)
Which Book is better....
 
Which out of these two books, written by Bjarne Stoustrop, do you prefer? Option 1: http://www.am...
[6 replies] Last: Beginning C++ - by Ivor Horton free pdf : http://www.bookspedia.info/d... (by anup30)
Adding first and last vector
 
Hey guys i need to write program which will sumarize pairs of integers i mean that it will store tho...
[9 replies] Last: "I'd like to comment on the missing << (bitwise left shit operator) be... (by NoName48)
February 2015 Pages: 123... 52
  Archived months: [jan2015] [mar2015]

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