Beginners - September 2015 (Page 22)

Calculation Issues
 
I am a complete beginner here for C++. This is a program I need to do. The project is finished for c...
[5 replies] Last: Oh ok. In that case you'll just need to change your error message to r... (by YFGHNG)
Need help calculating standard deviation
 
So I started coding C++ about 4 weeks ago as part of my freshman C++ Class and in this "Lab" I have ...
[1 reply] : The standard deviation is the square root of an average of squares. An... (by helios)
Help with abs function and loop until user type Q?
 
Hi I am a beginner.I am writing mortgage loan program. I already done with the program. But, i don'...
[1 reply] : Just modify the interestrate after the user has given the input: cou... (by Golden Lizard)
by Ch1156
easier way to do initializer lists
 
I am writing a console game and i've spent more time copying initializer list contents than i have a...
[1 reply] : Those are parameter lists, not initializer lists. A function can be t... (by helios)
started a couple of days ago
 
Hi well i'm going to be honest our professor gave us this to program I am studying variables and Me...
[16 replies] Last: @kemort: you'll get banned because using report feature recklessly whi... (by chipp)
choosing certain cells to display in 2D arrays
 
Hello everyone, This is what the program is supposed to do. If the user chooses option 1 or 2 (ma...
[6 replies] Last: Thanks everyone for your comments. Much appreciated. (by jpanther)
PIMPL and implementation file
 
I'm trying to learn the PIMPL idiom. I got the basic idea but I have trouble figuring out how to set...
[1 reply] : No one? =\ (by Golden Lizard)
by veihl
I need some help with my program and the concept of OOP
 
I'm having some serious trouble understanding object-oriented programming. I currently have this ass...
[5 replies] Last: I actually fixed that before I looked back at your reply lol. It compi... (by veihl)
Perfect squares which are also the sum of a series 1...n
 
Hello, I'm completely new to C++, and have tried solving the following exercise: The integer 36 ...
[3 replies] Last: Thanks a lot! I used the unsigned long long int method, which see... (by TanielG)
bucket sort algorithm. any optimization tips?
 
#include <iostream> using std::cout; using std::endl; using std::cin; #include <limits>...
[3 replies] Last: thanks for replying guys, i took your advices and improved my code. (by closed account E3h7X9L8)
Printing a map for Snake
 
Hey, so I'm trying to write a snake program, and this is the code I use to generate and print the ma...
[1 reply] : map[(mapX * mapY) - x] = 'X'; When x == 0 , you are trying to acces... (by MiiNiPaa)
by Redwan
about flash internet browser
 
Hello everyone! I started learning c++ language two months ago.I'm trying to create an internet brow...
[1 reply] : I think that's a little advanced for two months' learning experience. ... (by YFGHNG)
creating and calling function
 
while working on a module i came across a problem and could not figure out the solution to the probl...
[3 replies] Last: #include <iostream> #include <cmath> int DigitAtPosition(int &number... (by closed account 48T7M4Gy)
by mwskz8
Warning: comparison between pointer and integer?
 
Hi, I wrote a loop to read from start to end of a char in C (see partial code below). I was taught...
[3 replies] Last: At machine code level and assembly level they are usually always the s... (by LB)
need help.
 
i just start to learn c++, and try to do while loop switch statement asking for user input amendment...
[3 replies] Last: Oops (by closed account 48T7M4Gy)
Code Issue
 
I am getting a few errors with my code, I know that I am calling for files multiple times after sear...
[4 replies] Last: Nono the preprocessor if, then. else is supposed to go before EVERYTHI... (by YFGHNG)
<cctype> isdigit() not producing expected result
 
Hi; I'm going through Primer Plus 6th Edition and had an issue with one of the exercises, the que...
[1 reply] : std::isdigit() checks if a character is a decimal digit. char d ... (by JLBorges)
Problem on using strtok_s in Dev C++
 
Hi, I cannot use strtok_s on Dev-C++ 5.11. it says 'strtok_s was not declared in this scope". Is ...
[1 reply] : > Is it available on C++? strtok_s() is not part of the standard C+... (by JLBorges)
Need Help! Brand New
 
Is there a better way to do this? The following are my instructions. The problem I am having is afte...
[6 replies] Last: ah ok thanks. This is what I have now. I totally had to redo everythi... (by ndfan2015)
Storing a number in a simple calculator, then recalling it in an equation
 
I'm writing a calculator that can store the answer to memory and recall it later. I'm accomplishing ...
[2 replies] Last: The problem is that num1 and num2 are of type int, so they cannot cont... (by Kevin C)
September 2015 Pages: 1... 2021222324... 42
  Archived months: [aug2015] [oct2015]

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