Beginners - March 2021 (Page 4)

Help on if divisible by parameters?
 
So I'm doing an assignment where the falling distance increases by five into the table and it stops ...
[2 replies] Last: thank you so much! (by domweng)
Word Replacement Bug
 
I am writing a program that is replacing words in vector<english> with vector<pirate> in a user inpu...
[3 replies] Last: There's also issues re signed/unsigned numbers. Perhaps: #include <... (by seeplus)
error at cast of void ptr
 
// compiles with -lfltk #include <FL/Fl.H> #include <FL/Fl_Window.H> #include <FL/Fl_Button....
[2 replies] Last: Thanks, that works. (by nuderobmonkey)
Strings, String Processing and fileIO
 
Hi, this is my first time here in this website I'm just curious if someone will reply with an answer...
[3 replies] Last: -seeplus -jonnin Hi guys sorry for the late reply, I never thought som... (by Ancientgear101)
Initialization of hash table
 
I'm trying to implement a hash table with vectors. Using separate chaining to solve the collision. H...
[4 replies] Last: If you compile as C++17, the easiest way is to inline the static defin... (by seeplus)
String Array (1,2)
 
Hello. I am a beginner in C++. I am doing a coding where there will be a menu for selection and afte...
[25 replies] Last: For another way to do menus, consider this. It uses an array of menu t... (by seeplus)
C++ help for beginner!
 
Hi, so i'm new to programming. This is my first course! So i'm new and still learning. I feel like ...
[3 replies] Last: Consider: #include <iostream> #include <string> #include <cstdlib> ... (by seeplus)
remove & remove_if ?
 
Hi, I have been learning from tutorials from pluralsight, and thought all was going well until I sta...
[3 replies] Last: std::remove() and std::remove_if() both return an iterator to the elem... (by seeplus)
by solo88
tic tac toe game acting weird
 
hello... i'm trying to code a simple tic tac toe game. i use a class and oop and i coded the first ...
[6 replies] Last: :D hello thank you for helping me today i finished the game (so i hope... (by solo88)
by kmce
operator << overload not working
 
I have code that I have copied from a tutorial i am learning from. In the tutorial the code is worki...
[1 reply] : You only defined the function to print a std::set<Point2D>, but you al... (by helios)
for loop excluding some values
 
Hello everyone, I want to assign a value to a component of an array by excluding some of indices ...
[2 replies] Last: Hello Jonnin, Thank you so much .Not exactly ,actually it is y mista... (by learner999)
by skcpp
Copy Constructor
 
Why is that when declaring a copy constructor, the object being passed as argument to that construct...
[4 replies] Last: (2) Aren't we typecasting obj to be of type MyClass, and if so, why u... (by keskiverto)
by hbcpp
Change windows taskbar Icon background color
 
I want to set my program task icon background color to red indicating an error has occurred. Like...
[6 replies] Last: @agent max Thanks anyway. (by hbcpp)
by emcp
attempting first static thread_local not compiling
 
I am following a book that is attempting to teach me concurrency. I have gotten the example code in...
[3 replies] Last: thank you seeplus. I took your advice finally (been slammed by things... (by emcp)
by abuh
please help me
 
i want to Update the program to add a menu for choosing the operation (Search Data, Add a Record, Up...
[2 replies] Last: abuh , PLEASE USE CODE TAGS (the <> formatting button to the right ... (by JRManx)
Complier Error Help
 
Im trying to build this program for class but CLion gives me this error. /Applications/CLion.app/...
[4 replies] Last: Alright, I just got done reinstalling my OS so hopefully that fill fix... (by jadolby7)
array of vectors
 
I want to create an array of vectors, in each vector there are stored integers. Here in the code the...
[4 replies] Last: Visual Studio 2019's Intellisense flags an error without even trying t... (by deleted account xyzzy)
by wpe
Repeating Program, bool input twice
 
Hello, I have been making a number guessing game for a homework assignment, and so far it works wond...
[2 replies] Last: Turns out the answer was to remove all standalone retry() calls, so th... (by wpe)
Change Date
 
#pragma once #include<iostream> #include<cmath> #include <ctime> namespace CppCLRWinformsPr...
[3 replies] Last: I found the answer. I just to erase initialitation of d2,m2,y2 from vo... (by mechatronicb)
class operator + overloading only partially working
 
'm trying to overload the + operator in my derived class unorderedSet (the base class is unorderedA...
[5 replies] Last: Dutch and ne555, thanks for pointing out that I needed the assignment ... (by icewizardwo323)
March 2021 Pages: 123456... 13
  Archived months: [feb2021] [apr2021]

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