Beginners - January 2018 (Page 15)

code::blocks new thread mingw
 
Hi, im new in this and need some help. i already read other threads in searched in google, but i ...
[18 replies] Last: [quote=TheIdeasMan]You can update to a later compiler version http://... (by TheIdeasMan)
State Capital Identification
 
I'm not sure why this program isn't working. I'm fairly new to this, so some explanation would be ve...
[1 reply] : The >> operator stops reading as soon as it sees a whitespace characte... (by Peter87)
cannot use power function from multiprecision boost library
 
I have installed boost library version 1.65.0 . I cannot use the power function "pow" from it. Whe...
[3 replies] Last: ok , i just checked , it is actually using boost::multiprecision. howe... (by masterinex)
use a macro within a macro
 
I want to write a macro that computes the volume of a sphere. Attempt 1: I get "Pi" is undefined...
[15 replies] Last: Isn't the same true for functions? No, the function calls are picked ... (by jonnin)
I don't know how to deal with T (test cases)value
 
Write your question here. So my program is pretty much ready but the problem is that the site of ou...
[8 replies] Last: Thank you very much it worked . I will keep in mind everything that yo... (by NOSgraf)
by Chaost
Default argument for pointer-to-string
 
I was given a programming exercise by this e-book I'm currently learning C++ through. I came across ...
[6 replies] Last: coder777: Yeah, I just noticed that, just crashed the program cause I ... (by Chaost)
How can I implement a select/menu feature?
 
It's kind of hard to explain in words by I'd like to let the user select an option using arrow keys ...
[2 replies] Last: Hello Anoraki, I think is along the lines of what you want. I can not... (by Handy Andy)
Overloaded Assignment Operator
 
I've written a fraction class with numerator and denominator and I want to assign with frac a = frac...
[3 replies] Last: Thank you very much, the names were the problem :-) (by alextmfk)
How to build a proper handwritten salted password hashing??
 
Hello. I am making my own salted password hashing algorithm I have developed the next code. I am...
[1 reply] : I am getting garbage when it concatenate strings. The reason is that ... (by coder777)
Need help to my game!
 
Hello, I am trying to create a little game where you start off as an employer and then you can buy b...
[3 replies] Last: @Repeater Sorry I don't know that much about c++. I'm pretty much tryi... (by RebootOfficial)
by mo812
Functions (Pass by reference/value)
 
Attempting to edit a code to utilize a function instead of previously used method to calculated perc...
[3 replies] Last: Not exactly sure what you mean, but a function can only return one val... (by Ganado)
Why am I getting an infinite loop?
 
I'm a beginner #include <iostream> using namespace std; int inputData(); int conve...
[1 reply] : do { if (hours > 23) { cout << "ERROR! Must be less than 23" ... (by Repeater)
Finding Number of Columns in Text File
 
Hi everyone, I want to print the number of columns in the text file. My file is 07MWSKN 765...
[2 replies] Last: Thank you very much @lastchance. It works! ;) (by airerdem)
by ebba
Help with logic on quadratic formula (hw)
 
Maybe I don't understand complex numbers well enough to explain them to a computer... I'm writing...
[3 replies] Last: Thank you! This is early in the semester, and I have not yet learned... (by ebba)
by chuvak
Get empty input
 
Say I have, using std::string; string temp_id; string temp_name; std::cout << "ID\n> "; std::cin...
[1 reply] : Sounds like you want to use std::getline. http://www.cplusplus.com/re... (by Peter87)
by chuvak
ISsue with modifying std::cout
 
I have, double temp_price; std::cout << "Price?\n> "; //12345.6789 std::cin >> temp_price; st...
[1 reply] : #include <iostream> #include <iomanip> int main() { double temp_... (by JLBorges)
I need help with a function with an array
 
Hi everybody, I'm starting learning C++ and I don't understand why this code for mirroring a array i...
[3 replies] Last: its a flaw. C++ should not have named vectors (the container) after a... (by jonnin)
need help with my function call void
 
pretty much when i try to call the function it says that gross and prov is invalid please need help ...
[2 replies] Last: This kind of errors are very common and it's important to keep practic... (by benhart)
by chuvak
Storing into array
 
Hello, Say I need to store into an array data about a car. So, a typical index of this said array...
[3 replies] Last: char* name; Just use a string. That's what they're for. class Car ... (by Repeater)
comparing strings goes wrong
 
I'm comparing the contents of two vectors. The data from the infile is read in correctly, but when i...
[2 replies] Last: I feel so stupid now. That fixed it, thanks. (by smoothstone)
January 2018 Pages: 1... 1314151617... 22
  Archived months: [dec2017] [feb2018]

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