• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
require help in solving a problem
hello i am almost new to c++ programming and i am trapped with the solution of this riddle questio...
[7 replies] Last: [quote=pioneer06a]can any one help me with that? Take a look at the ... (by chicofeo)
Trapezoidal map search structure
Hi, I'm trying to implement the trapezoidal map algorithm for point location and I have a dilemma a...
[8 replies] Last: Ouch! "I remember I got scolded once for using the auto keyword and... (by Niccolo)
Making a matrice with a headline.
Hey! I've been struggling to get this done, I can make a normal matrice work, but I can't figure o...
[6 replies] Last: Thanks! But I've tried changing the row and column sizes from constant... (by FilipeGomes12)
by frek
Use of import instead of #include
Hello all, Is it now possible to use import instead of #include in C++ programs? If yes, how ...
[14 replies] Last: In theory, better compile times. (by helios)
A project you might find useful
I recently open sourced a very large project of mine, called CIDLib, on GitHub. I just wanted to mak...
[11 replies] Last: No worries. Good thing I gave your last reply a third read before I hi... (by helios)
by King25
I need help about my code please :)
Hello I'm working on Connect 4 project i have done everything so far but somehow i couldn't make the...
[3 replies] Last: There are two key functions to playing the game: drop() and check(). ... (by dhayden)
Anyone can help me to change it to pseudocode??
#include <iostream> #include <cmath> using namespace std; int main() { double x; int n; ...
[10 replies] Last: line 12 in that code how to change to pseucode or even flowchart will... (by MikeStgt)
by Dee5
finding largest prime number in a file (1,2)
hello guys,Anyone having an idea of creating a programm that is able to find largest prime number i...
[31 replies] Last: I know. But I don't have any good way to know whether a given piece o... (by jonnin)
Urgent Help me!!!!
#include <iostream> using namespace std; int main (int argc, char *argv ) { int x,n; cout<<"Pleas...
[13 replies] Last: #include <iostream> #include <cmath> using namespace std; int main()... (by lastchance)
How To Solve throw std::bad_alloc{};?
Hello Professionals, Good day. I would like to ask if there's any way I can get rid of throw std::...
[10 replies] Last: I also tried to print the max.size of my std vectors, and this is wha... (by coder777)
by jpao
Read/Write .MP4 Files WITHOUT Library
Hi everyone, I need to make a personal library that can read, manipulate, and write .MP4 files. A...
[15 replies] Last: Thanks for taking the time to put forward all your suggestions guys! (by jpao)
Streaming data. NTFS v ext4
I have data files that I use to stream data into vectors for analysis. When using Windows(NTFS), it ...
[15 replies] Last: @salem c The problem isn't moving data off disk, as shown by the raw... (by Niccolo)
Competitive Programming Problem
The problem and my attempted code solution is as follows: Farming is competitive business -- particu...
[6 replies] Last: Thanks soo much! (by afatperson)
Problem!!! Help!!
Hi guys! I have a problem that i hope you give me an advice to solve it. I have writing this code an...
[4 replies] Last: Show a complete example that reproduces your issue, else you're just w... (by Ganado)
Trying to finish my unscrambling project
Hi, I am doing the project ideas that I found on the forum for people wanting to get better at C++ (...
[8 replies] Last: :D Hahaha yeah I just learned it today *facepalm*. I went on to the n... (by Niccolo)
by kitfox
Does C++ have anything like Java's inner classes?
I sometimes come across a situation where I want to create a class manages a list of records. The r...
[5 replies] Last: for what its worth, in my experience, as soon as you block something f... (by jonnin)
by Manga
tons of errors
vs2019 gives me lots of errors. Here is my code... #include <iostream> #include <vector> using na...
[8 replies] Last: Thanks Ganado... adding std:: solved my problem. And yes I will add a... (by Manga)
How to pass pointer by reference in C?
I have the following code in C (not C++): int main(){ double *ptr=0; double x ={1,...
[10 replies] Last: you are correct, C does not have references. The two languages are f... (by jonnin)
I created a class that acts just like a set but uses OpenMP to run in parallel to make everything faster, your thoughts? (1,2)
I created a class that does just about everything a set does in C++, such as insertion, deletion, an...
[24 replies] Last: 1. srandom() and random() are not standard C functions. They're UNIX f... (by helios)
Pages: 123... 15
  Archived months: [mar2019]