General C++ Programming - January 2020 (Page 4)

CppCast: Conference Organizing
 
Rob and Jason are joined by Phil Nash, Adi Shavit and Fred Tingaud. They talk with the three meetup ...
[1 reply] : Another post, another opportunity for that clown who reports these pos... (by Repeater)
by eladb
MFC project
 
hello guys , i just start to bulid my first MFC project. i wondring if this is the right place f...
[3 replies] Last: From what I recall radio buttons can be queried to see if they are tru... (by jonnin)
by ravss2
Creating a hashtable from File Contents(Unknown Size)
 
I would like to create a hash table by reading the number of entries from a file, file size may be i...
[8 replies] Last: its not technically wrong. But you are most likely making more troubl... (by jonnin)
Reverse Diagnal of matrices
 
Write a C++ program that inputs a square matrix and reverse the contents of its diagonal values. Ex...
[4 replies] Last: #include <iostream> #include <valarray> #include <algorithm> #include... (by lastchance)
Weird Error List using VS2019
 
Have tried to compile several C++ apps downloaded from Github and they all compile with numerous err...
[1 reply] : '10.0.16299' is most likely the windows sdk version. It seems rather o... (by coder777)
by SemC
Add search functionality to your program according to the user inputs. Use switch-case to deal with different user inputs
 
Having trouble with searching in my program. #include <iostream> #include <fstream> #include <st...
[1 reply] : use code tags (by dutch)
check if my program is correct
 
i should write a program to find the median of two sorted arrays is it correct? #include <iostre...
[2 replies] Last: But what does it mean to find the "median of two arrays"? One after th... (by dutch)
Pacman With Classes practice
 
Hey first post here so let me know if I'm doing something wrong. I wanted to practice classes with ...
[8 replies] Last: @jonnin It works! Thanks for looking it over. I hadn't displayed the ... (by Doraonroids)
CppCast: Clang Hacking
 
Rob and Jason are joined by Saar Raz. They first discuss blog posts covering a new project managemen...
[no replies]
Splititing a string into multiple lines with each line having at most N non-space characters
 
Bessie the cow is working on an essay for her writing class. Since her handwriting is quite bad, sh...
[13 replies] Last: line 12: Since you are reading in the value of N you have to create a ... (by againtry)
C++ 2020 News
 
Rob and Jason discuss C++ news and the new year after the Holiday season: - The Merger of MISRA C...
[5 replies] Last: Ok, got it :) (by julie2019)
How to count non-space characters in C++ and to split a string into multiple stings on the space. split a?
 
Does anyone know how to count the non-space characters in a C++ string? Also, does anyone know how t...
[3 replies] Last: Thanks! (by BBrandon)
by DMX
inheritance and polymorphism
 
Hello, I have a general question about inheritance and polymorphism. To start right away, here is...
[2 replies] Last: Hi DMX, The way you're asking these questions makes me think that you... (by Aaron Vienneau)
by Hanske
Saving and loading objects from classes in C++
 
I would like to save objects from a parent class in a text file and then be able to load the objects...
[8 replies] Last: The problem is that all the objects are pointers so only the addresse... (by againtry)
Most inputted number wins
 
I want to make a program, which takes multiple inputs and counts the quantity of ones,twos,... I ha...
[2 replies] Last: Variable names are important; try to make them meaningful. You have on... (by Ganado)
BSP level rendering
 
Hi, don't think that I'm insane but I'm in love with the glorious 1996 quake first person shooter. I...
[2 replies] Last: It might help if you provide an example BSP file for someone to look a... (by Ganado)
Sum of an int with calculation output
 
Hi. I want to make a program, that sums all the digits of a certain number. The output should not be...
[7 replies] Last: #include <iostream> #include <string> using namespace std; int sumDi... (by lastchance)
by ema897
inheritance
 
given: class Component { public: Component(); virtual ~Component(); void logicFunct...
[5 replies] Last: done. Thank you very much. (by ema897)
for some reason the code is just ending instantly
 
#include <iostream> #include <iomanip> #include <string> #include <cctype> #include <bits/st...
[3 replies] Last: You use both std::strings and C-style arrays. That isn’t a problem, ... (by Enoizat)
declare initialize vector inside struct/class
 
how declare initialize vector inside struct/class struct Data { int m=9; vector<int> mydata(m)...
[2 replies] Last: Sounds like the mydata is a member variable and that you want it to ha... (by keskiverto)
January 2020 Pages: 123456... 9
  Archived months: [dec2019] [feb2020]

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