by admin
Welcome -- read before posting!
Welcome to the beginner's forum in! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duthomhas)
by mnm71
How can I improve this code?
I wrote this code but how can I improve it without using at least two while auto _Length = Data...
[7 replies] Last: How to Measure Code Quality? (by Kellyy)
Library files for electronic components
Hi, I am new here and I am looking for guidance, not the code itself. I am an embedded enginee...
[1 reply] : > So, my question is, do I need to design that DLL file in C++ or we c... (by JLBorges)
by L67GS
Display vector contents
When displaying the contents of a vector is there a reason why print Works and cout does not work? ...
[4 replies] Last: Print generic sequences (C++20): #include <iostream> #include <itera... (by JLBorges)
Need C++ implementation of KMP algorithm
I am looking for a simple C++ implementation of KMP (Knuth-Morris-Pratt) algorithm. I was able to un...
[1 reply] : Duck found this very simple implementation; (test it thoroughly before... (by JLBorges)
Printing PDF to paper from command line and get print job ID
I need to make a command line program that can be passed a path and it will silently print the PDF w...
[4 replies] Last: I sidestepped my original problem by scraping the data I needed into a... (by mbozzi)
How to extract only the data I required from different lines within a text file?
Here is the problem: I was asked to extract some data from a text file and insert them into a struct...
[15 replies] Last: Andy: Thanks for the correction once again seeplus: your concept... (by ThisAintMeDude)
Help with Visual Studio
Hello friends, I'm trying to compile a simple dll to be called from a C# program, but I can't com...
[1 reply] : (by Furry Guy)
Function being called without declaration
New to c++ and tried writing a login program. When running, you need to answer login or register to ...
[12 replies] Last: Your functions called logFunction() and regFunction() are of type bool... (by Manga)
C++ function to Interpolate 2D Scattered Data on to 2D grid
I am looking for a C++ program/function for Interpolation for 2-D gridded data in meshgrid format si...
[4 replies] Last: C++ does not have a built in one, you can find a library or, since thi... (by jonnin)
How to send data to file
i have a quaetion regarding file in c++. if i want to send a data to file , i will do cout <<...
[9 replies] Last: Hello kseokjk, To go along with what seeplus said a complete progra... (by Handy Andy)
knight moves: How to print the path
Hello Everyone: I am working on the knight moves problem and managed to print the number of moves...
[1 reply] : Well, for your visit array you can store a previous-point array prev... (by lastchance)
Class destructors, and when to use them
1. Different sites seem to say different things about when a destructor should be created. I've rea...
[3 replies] Last: > Say I write an app that has a class, and I don't write a destructor,... (by JLBorges)
How allow the graph to be either weighted or unweighted and either directed or undirected?
I have code for an adjacency matrix which is use to represent a graph. How would I get this code to ...
[2 replies] Last: Okay that helps. Thank you @ne555. (by Lacy9265)
Represent a graph using adjacent list
Write a C++ class derived from GraphInterface file. Use an adjacent list to represent the graph I ha...
[12 replies] Last: So you don't know if the code you written is considered an adjacency l... (by Lacy9265)
by vboro
Getline skipping third line?
Hi! I have a task where I must get the data from a simple .txt file. It works perfectly until...
[2 replies] Last: Hello vboro, It works perfectly until the third line must be used. ... (by Handy Andy)
Splitting code into separate files
Hello I've just started using c++ so I'm learning as I go and doing lots of web searches. I'm tryin...
[3 replies] Last: Pass by reference . See (by keskiverto)
Compiler error: no matching member function for call to 'assign'
Hi everyone, I got the following compile error msgs and I cannot locate which code triggered this...
[5 replies] Last: thanks for all the replies. due to the size of the project, I cannot ... (by chuuuing)
Trying to get my bearings with *pointers and &references, and how they work together
New member, and new to C++! 1. Do pointers always point to a reference? int b = 1; int *a = &b;...
[3 replies] Last: int b = 1; int *a = b; this is a subtle error. if it works (it should... (by jonnin)
Pages: 123... 15
  Archived months: [may2021]