Beginners (Page 4)

Stuck trying to loop multiple dice multiple times
 
For this assignment, "Your program will prompt the user to enter the number of dies in a set (4 thro...
[7 replies] Last: How would I create a function that outputs 2% of the highest value in... (by coder777)
Void seems not to work inside Main function
 
Hi, I just got back to school and I haven't program in years. I got some basic C++ but I have been ...
[18 replies] Last: Also I'm not quite sure why my instructor asked for a pause while the... (by seeplus)
Move the contents of a ppm file to another ppm file
 
Hi there, I would like to send a ppm image that is located in an input file, to another output ppm ...
[1 reply] : You want to resize a bitmap image. I would use something like Graphics... (by keskiverto)
project in codeblock
 
i am a beginner and i wanted to know how the "create a project" feature works in code blocks and whe...
[4 replies] Last: yes, i have codeblocks already installed (by Jaskiran)
Command injection
 
I want to issue a command while another command is being executed in C++. For example wait command t...
[6 replies] Last: Any suggestions on using threads in solving above problem. Thanks (by CodeImpulse)
Sorting array
 
You have an array with N positive integers, the number of odd values and even values are equals, you...
[14 replies] Last: #include <iostream> #include <algorithm> #include <vector> #include <... (by dhayden)
ambiguous call to overloaded function
 
Hello, I have created a function, but I am getting two errors, Ambiguous call to overloaded function...
[7 replies] Last: Also to get you going in the right direction with namespaces I recomme... (by jlb)
by nakash
vector searching
 
so basically i have a load of words in my vector and i need to find words that contain "ly" how do i...
[3 replies] Last: copy_if(words.begin(), words.end(), back_inserter(ly), (const strin... (by nakash)
How to assign a value to a letter input
 
Hi, i'm very new to C++ and I am trying to write a program where a user chooses between two devices,...
[1 reply] : Have another variable, double cost; Then, const double cost_w = 9... (by Ganado)
Euro, Dollar, Pound Symbol
 
Good afternoon, You can tell me if it is possible to add the symbol of a currency like the euro, ...
[2 replies] Last: https://en.cppreference.com/w/cpp/io/manip/put_money (by againtry)
Calculate Discount c++
 
I have two price and discount variables. How do I calculate the discount of this product with the...
[6 replies] Last: You guys managed to solve my problem. Thank you all. (by croatoanbtw)
error: "cannot create std::vector larger than max_size()"
 
HI I have overloaded the >> operator as follows: std::istream& operator>> (std::istrea...
[9 replies] Last: In the original post, nothing is actually done with the Mything object... (by Ganado)
Calculator. How to fix if user types letters isto numbers (1,2)
 
Hi, Im trying to learn som C++ Im trying to make a calcylator. If the user types ex (nr1/n2) 2/b i...
[25 replies] Last: Well that settles it. Best to just buy a new keyboard straight away if... (by againtry)
Asking for suggestion and help
 
Hello everyone I am a student I am learning from the internet in home I want to learn the server ...
[3 replies] Last: You might as well ask how to construct a quantum computer using stone ... (by Furry Guy)
Need some advice, storing numbers.
 
Hello everyone, so I have this coding assignment that I have to for class. The issue I'm having is t...
[9 replies] Last: The assignment explicitly says that average should be an int, so you'l... (by dhayden)
The Next step
 
hello my 1ovely c++ partners (: im about to finish my second course in C++, these two Courses was ab...
[2 replies] Last: Thank you "Furry Guy" for your advice and information .. i feel that i... (by semsemdiver)
Reading file and put info in 2d vector
 
Hey I've been practicing how to go on and read from a specified file containing a matrix of numbers ...
[7 replies] Last: Matrices are generally more than 2D arrays because they generally hav... (by againtry)
controlling the user
 
Hello the most lovely C++ society, a small question please. how to prevent the user from typing let...
[10 replies] Last: "seeplus" thank you my friend :) (by semsemdiver)
Ambiguity in pointers
 
Hello, Could you please explain this? Dereference operator is used to access or manipulate dat...
[10 replies] Last: C is more of the 'well if you really want to, I guess you know what yo... (by seeplus)
Access Violation - Pointers in C
 
Hello, The second printf doesn't work. could you please explain? Thanks # include <stdio...
[4 replies] Last: https://comp.lang.cpp.moderated.narkive.com/EtKG7hO6/cannot-convert-in... (by Enoizat)
Pages: 123456... 15
  Archived months: [jul2020]

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