General C++ Programming (Page 9)

by amjim
3 number Random generator
 
Hello!! I’m currently struggling on my program with changing the function of getNumbers() . What ...
[9 replies] Last: #include <iostream> #include <random> #include <ctime> using namespac... (by lastchance)
Finding a lexicographically minimum permutation
 
I want to make a program that finds me the lexicographically minimum (basically where all of the num...
[16 replies] Last: Yeah, I had a sh!t-load of memory problems which I've solved but not p... (by againtry)
by Norej
create a human readable output file with char arrays
 
The program must be able to work for an input file that contains following information: # of temp...
[4 replies] Last: It's now up to you to convert what's in the buffer each time to format... (by againtry)
Solved Sudoku Puzzle (Need help)
 
Hey guys I need some help identifying the error in my program, as I'm using nested loops to print ou...
[3 replies] Last: Line 13. What makes arr so special that it doesn't need to be checke... (by dhayden)
Broker Chain
 
Hi, I'm reading Design Patterns in Modern C++ by Dmitri Nesteruk (I'm not sure I can recommend it...
[1 reply] : I might have seen something of this nature with a message filter; the ... (by Repeater)
Using execution file vs debug
 
The git hub for my project is: https://github.com/Doraonroids/Pucker I'm using visual studio 2019...
[2 replies] Last: ^^ The above is a common issue as VS sets up paths for you when you r... (by jonnin)
It is not detecting any syntax errors but it just ends instantly.
 
//******************************************** //File:wk1_change.cpp // //Summary: a program that...
[5 replies] Last: Type: System("pause") or cin.get() This worked for me, so I hop... (by b p t)
by Norej
project dealing with char arrays
 
YYYYMMDDHHMM (e.g. 200708201425) This should be converted to: 08/20/2007 1425 i need to con...
[8 replies] Last: For a one-off timestamp I wouldn't need base, and I could initialise b... (by lastchance)
by bibo
Segmentation fault:11
 
vector<int> solve(vector<int> arr, vector<int> queries) { vector<int> res; int n = arr.size...
[5 replies] Last: Thanks it worked :) Thanks for using code tags. :) And note that dh... (by dutch)
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)
Pages: 1... 7891011... 14
  Archived months: [dec2019]

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