
please wait
by domweng
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 once it's hit the inputted falling time. I have it working f... |
Mar 23, 2021 at 6:36pm
[2 replies] Last: thank you so much! (by domweng)
|
by coder0101
Word Replacement Bug
|
I am writing a program that is replacing words in vector<english> with vector<pirate> in a user input phrase. However, the first letter is always cut off on the... |
Mar 23, 2021 at 6:02pm
[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.H> #include <FL/Fl_Widget.H> #include <cstdlib> void ... |
Mar 23, 2021 at 5:27pm
[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 using c code. Thanks in advance if ever you reply Write a ... |
Mar 23, 2021 at 3:42pm
[3 replies] Last: -seeplus -jonnin Hi guys sorry for the late reply, I never thought som... (by Ancientgear101)
|
by chuuuing
Initialization of hash table
|
I'm trying to implement a hash table with vectors. Using separate chaining to solve the collision. Here is the code: #include <cassert> #include <iostrea... |
Mar 23, 2021 at 1:54pm
[4 replies] Last: If you compile as C++17, the easiest way is to inline the static defin... (by seeplus)
|
by Mathavan
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 after selecting the food the user want, it will be shown in a re... |
Mar 23, 2021 at 12:36pm
[25 replies] Last: For another way to do menus, consider this. It uses an array of menu t... (by seeplus)
|
by miguelminaj
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 I'm heading the right direction but I could be wrong. I don'... |
Mar 23, 2021 at 12:06pm
[3 replies] Last: Consider: #include <iostream> #include <string> #include <cstdlib> ... (by seeplus)
|
by DonnaPin
remove & remove_if ?
|
Hi, I have been learning from tutorials from pluralsight, and thought all was going well until I started to read through the STL book and read something I think... |
Mar 23, 2021 at 9:35am
[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 condition for winning however if both players choose same sq... |
Mar 23, 2021 at 7:17am
[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 working fine, but for me it is not, and i can not figure out why.... |
Mar 23, 2021 at 1:39am
[1 reply] : You only defined the function to print a std::set<Point2D>, but you al... (by helios)
|
by learner999
for loop excluding some values
|
Hello everyone, I want to assign a value to a component of an array by excluding some of indices vector<int>save; for (int o = 0; o < nbOdds; ++o) { ... |
Mar 23, 2021 at 12:14am
[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 constructor is (1) passed by reference using "&", and (2) the instant... |
Mar 22, 2021 at 9:34pm
[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 in the pic in this link: https://ddgobkiprc33d.cloudfront.n... |
Mar 22, 2021 at 6:46pm
[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 the book and matching github... but I find it usually doesn... |
Mar 22, 2021 at 6:14pm
[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, Update Data, Quit) ....... #include<iostream> #include<... |
Mar 22, 2021 at 5:38pm
[2 replies] Last: abuh , PLEASE USE CODE TAGS (the <> formatting button to the right ... (by JRManx)
|
by jadolby7
Complier Error Help
|
Im trying to build this program for class but CLion gives me this error. /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G... |
Mar 22, 2021 at 4:06pm
[4 replies] Last: Alright, I just got done reinstalling my OS so hopefully that fill fix... (by jadolby7)
|
by chuuuing
array of vectors
|
I want to create an array of vectors, in each vector there are stored integers. Here in the code the hashBucket and table are defined. But i dont know how to wr... |
Mar 22, 2021 at 3:10pm
[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 wonderfully. However, I have been having a problem in regards to... |
Mar 22, 2021 at 2:10pm
[2 replies] Last: Turns out the answer was to remove all standalone retry() calls, so th... (by wpe)
|
by mechatronicb
Change Date
|
#pragma once #include<iostream> #include<cmath> #include <ctime> namespace CppCLRWinformsProjekt { using namespace System; using namespace System::... |
Mar 22, 2021 at 3:59am
[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 unorderedArrayListType, then arrayListType) to input (not add) the uni... |
Mar 22, 2021 at 3:01am
[5 replies] Last: Dutch and ne555, thanks for pointing out that I needed the assignment ... (by icewizardwo323)
|