Beginners - May 2020 (Page 14)

Array now showing
 
Hello all, I am doing a code to run to check for duplicates generated randomly. my Issue is that t...
[9 replies] Last: Alternative version. #include <iostream> #include <random> #include... (by dutch)
by medosz
function
 
This is a parking charge calculator program. I used function to calculate the charge for each car. I...
[4 replies] Last: Hello medosz, Playing around with the program I came up with this to ... (by Handy Andy)
Matrix Function
 
Hi , i wrote this code it suppose to multiply two 3X3 matrix and it works but now i want to make it...
[1 reply] : Hello propurple, Some questions that will help: What IDE/compiler ar... (by Handy Andy)
Struggling Bad!
 
I have wrote the code for this problem in 2 different ways but they are huge programs with too many ...
[5 replies] Last: > closed account (LE8p216C) Another free food and fcuk off driveby get... (by salem c)
If statement problem
 
I keep getting errors for <= which I don't understand and also error for all the if statements expec...
[11 replies] Last: Here's also a start on how to do this with functions. You stiil need ... (by againtry)
Overloading operator problem
 
I am having an error in my compiler whenever I try to run my overloading function from my namespace ...
[3 replies] Last: You're right dutch, it was linker errors with the copying functions. F... (by Depressed)
by BJK
Please Help My Home Work
 
cccc
[4 replies] Last: > I'm afraid I can't. I tried but failed. I have to do this homework b... (by salem c)
NEED HELP ASAP!
 
Write a program that lets a Chips and Salsa company keep track of sales for their 5 different types ...
[6 replies] Last: #include <iostream> using namespace std; void findLarge (int salsa , ... (by closed account LE8p216C)
Error: Too many arguements to function
 
So What I am trying to do is to make a list with choices and have you enter an amount and "purchase"...
[1 reply] : double sellItem(); //this has no arguments unless you have the f... (by markyrocks)
Decrypting a Message
 
Hello. I am currently learning about vectors and arrays. I am working on an assignment where I need ...
[5 replies] Last: Thank you, I get it now. Also I was given starter code to jumpstart th... (by fruhtie)
by annw3y
Vector Bubble Sort c++
 
I have class Date, functions bubbleSort, isAfter and printVector. So my task is: Use the function bu...
[1 reply] : Given two dates a and b , is_after(a, b) should be true if and onl... (by mbozzi)
inheritace, virtual function
 
Hello everybody, i am beginner and im studing the inheritance, virtual fuction. and Im practising a ...
[3 replies] Last: You can always manually type in the words and before and after ... (by TheToaster)
by nmbs
ARRAYS
 
Write your question here. Can you pass an array element or the whole array to a function in C++? ...
[6 replies] Last: regardless when you pass something to a function its still always a ... (by TheToaster)
by bld
Is a text-editor and a compiler all I need?
 
Hello, I'm very new to C++ and I would like to know if I have to download C++, just like I have to d...
[11 replies] Last: I'm not sure I agree with the recommendations given in this thread. I... (by Duthomhas)
The last cout statement does not output
 
I was using my own smaller test code, and the final cout statement "The most frequent word is: " pri...
[6 replies] Last: Hello KittyIchigo1, On lines 153 and 157 remove the comments and chan... (by Handy Andy)
by mata
getline and extract char or integers
 
My problem is that I'm using getline(cin, line) but then I dont know how to extract the numbers in t...
[1 reply] : std::regex would be a good fit here: http://www.cplusplus.com/referenc... (by TheToaster)
by DJL
Reading and counting from a file
 
Hello, I created a function last week that marks true if a number is prime. Now I am trying to r...
[3 replies] Last: I feel like i just forgetting something super simple here. This functi... (by DJL)
by sturk
C++ palindrome
 
I have implemented a code to find the largest palindrome made from the product of two 3-digit number...
[1 reply] : > sum =i* j; Calling a product a sum is confusing. > while(k<6) Why i... (by salem c)
Use pointer of pointers or just a pointer? (1,2)
 
Hi guys! I have a class Dinosaur and it has its own fields. I have another class cages. In the cage...
[24 replies] Last: I mean, obviously you could. You could make each Dinosaur objects sto... (by MikeyBoy)
by Mif
Please help with window class..
 
What's the difference between these .... WNDCLASSW WNDSCLASSEX I-m creating a new program C++ Cod...
[3 replies] Last: Yes indeed I am using the WNDCLASSW .. so i should continue coding wit... (by Mif)
May 2020 Pages: 1... 121314151617
  Archived months: [apr2020] [jun2020]

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