General C++ Programming (Page 5)

Im having trouble getting my program to rerun an insert function. cout << "Enter the coefficie...
[1 reply] : Your condition is NOT C AND NOT P. (where C means c == 0 and P means ... (by tpb)
USB Passcode
I was wondering how to make a program that when I plug in my USB drive the console then spits out a ...
[2 replies] Last: I am using windows 10, with visual studio 2017 community. (by Dawsoncodes)
Can functions be applied in this scenario?
Hello! Is there any way to make one small function out of all of the cases inside case 2 to make the...
[3 replies] Last: Some functions always return a value. Other functions return no value ... (by keskiverto)
//*PS. MY CODE WASNT THAT FINISH YET IN MENU OF B,C, AND D*// #include <iostream> #include <strin...
[1 reply] : 1. Use [co de] tags when you post code (see the <> icon on the right... (by salem c)
by libi
error check
I am calculating a full expression regardless of spaces. So I have a program that accepts a string e...
[2 replies] Last: ahh I see! I missed that. Just took it out and replaced it with for(... (by libi)
by stav
Threads not executing
Hi, im learning about c++11 multithreading and i tried writing a threadpool class that just creates ...
[2 replies] Last: oh my god.. thank alot haha (by stav)
Hash funciton
I wrote this code to for HW. I'm supposed to do a hash function and display information about the se...
[5 replies] Last: Thanks, guys, not only for telling me what was the issue but also for ... (by MrRobot)
by mbozzi
What's (probably) in C++20: San Diego Trip Report
The recent ISO C++ committee meeting in San Diego ended yesterday, and marks the C++2a feature freez...
[1 reply] : Here's hoping modules make it to C++20. Visual Studio 2017 has modu... (by FurryGuy)
adding letters randomly into an array
How do I add letters from A-Y in random places in a 2d array that has 50 columns and 10 rows? voi...
[2 replies] Last: #include <iostream> #include <string> #include <random> #include <alg... (by JLBorges)
by volang
Hello guys! I have a table with two columns and 150 000 000 rows. Now I wonder, If I create a ind...
[6 replies] Last: helios, thank you (by volang)
No throw exception
I keep getting a no throw exception for the code I am writing for matrix multiplication. The error i...
[1 reply] : Please don't double post. (by lastchance)
Abstact class consturctor
I have the following class hierarchy. Vehicle is an abstract class which has a constuctor. The deriv...
[1 reply] : @wolfie16, When I try to compile your code I get a whole plethora of e... (by lastchance)
How does rand() and srand() working?
#include<iostream> #include<stdlib.h> using namespace std; int main() { int random = rand(); ...
[1 reply] : Essentially like these: #include <iostream> size_t index {}; size_t ... (by keskiverto)
Assignment Help - Code Inside
Good day everyone, I have a c++ Assignment that says: Write a program that will have two user defin...
[3 replies] Last: Thank to you all, I apologize for not replying earlier, I couldnt reco... (by KingReno)
by a00
how can i make a windows without <windows.h>
im so confused about this header file. and i dont know how this is created. and i wonder if i can ...
[10 replies] Last: thank you Ganado (by a00)
check for the pin number if it is matched or not
hi, i want to check if the number in file A and the number in file B is match or not? is it possibl...
[1 reply] : The easiest way t... (by Browni3141)
by volang
Get filenames DESC/ASC
Hello guys! I have a folder filled with txt files(no content), and every file is named with a uniqu...
[16 replies] Last: I still don't understand why you don't just read the filenames into a ... (by dhayden)
by d0253
Template Class
This is my first time doing templates, I'm not sure whatI'm missing #include <iostream> using na...
[3 replies] Last: SumList<int> intList; This is an attempt to use the template constr... (by Repeater)
Regex infinite loop
hi guys, surprisingly this is the first time ever using regular expressions,I have heard about th...
[3 replies] Last: It loops because you don't ask for new input. (by kbw)
Locking a Window to another Window
Hey Guys/Gals! First off, I've been a stalker of this site for quite some time. I first learned o...
[no replies]
Pages: 1... 34567... 18
  Archived months: [sep2018]

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