• 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]
C\C++: how compare aspes?
 
see these string: text.push_back("var const hell as integer= \" """" \""); now see these string:...
[2 replies] Last: and more: what is '""' and '\"'? how can i compare both? or the '""' i... (by Cambalinho)
Preprocessing an array of Python images OpenCV
 
I have a Python array of images called args that is fed into a preprocessing function. In addition, ...
[2 replies] Last: ne555 I have little experience in C++. Yes, you are right to use r_1... (by AndrewD46)
Numbers from 1 to 33 are written in 64 cells of the 8 x 8 square. Almost finished code, need to add it.
 
Hello everyone, I have an assignment which is as follows: "Write a program that will find a path in ...
[4 replies] Last: Here's another one. This reads the input from cin. To indicate that a ... (by dhayden)
std::function wont print out trapezoidal integral, lamda won't take function parameter.
 
I need help with implementing the trapezoidal method in std::function and using the lambda function....
[9 replies] Last: It's a good thing that you are keeping an eye on my bad code, Albatro... (by lastchance)
Need HELPP with my assignment
 
The structures to be implemented in the context of work are 1) Unacceptable table, 2) Classified Tab...
[4 replies] Last: Oh, and welcome to the forum. Looks like we frightened the skittish ... (by Furry Guy)
Need help commenting out the code
 
Hello, so i have a task: I have a sequence which contains from 3 to 30 words, in each of which fro...
[7 replies] Last: It helps if you format the code so that it's readable and use code tag... (by seeplus)
syntax error in code, do not understand why
 
```++// Computation.cpp - This program calculates sum, difference, and product of two values. // In...
[3 replies] Last: nevermind, figured it out! thank you! completed code: ``` // Computat... (by yellowslotcar)
Remove prefix and suffix from char array
 
Hello! I am working on getting back into school after a year off. I am doing all of my assignment...
[14 replies] Last: #include <array> #include <string_view> #include <iostream> #include ... (by mbozzi)
Using std::move on std::shared_ptr<SomeClass> correctly
 
I am working on a project and dealing with shared_ptr's. The program is working and giving the corre...
[4 replies] Last: 1. Moving temp_vector into an element in temp_2d_vector will indeed no... (by helios)
by volang
No runtime error
 
Hello. Quick question... When I write: string a(&data , data); ...this should exit the progra...
[10 replies] Last: doesn't do a range check. at() does. (by kbw)
rounding between C++ and java
 
I have a Dell desktop with an Intel CPU running Linux. When I write a C++ program with this line: ...
[3 replies] Last: @jonnin, you need to also use "fixed" mode to duplicate the printf out... (by dutch)
fx call prototype errors
 
Errors below. How do I call this function below separated .cpp/.h ? main { ... set_intrinsi...
[7 replies] Last: Also useful to provide: http://www.sscce.org/ (by Ganado)
finite element matrix assembly in csr format using MPI
 
I am trying to assemble the global stiffness matrix in finite element in csr format. with one proces...
[2 replies] Last: @resabzr, Please learn to debug - all you have to do is print out some... (by lastchance)
Please assist or show me how to finish one of the .cpp files in a Banking program with header files (1,2)
 
Problem Description: This program covers the above concepts with an example that is dealing with ban...
[23 replies] Last: The large number of compiler errors are caused by a very small number ... (by dhayden)
I/O from cin or ifstream
 
I want to do input from std::cin, or from the file specified in argv . How do I do this in idiomat...
[10 replies] Last: Thank you everyone for your replies. They have given me much food for... (by tshemphill)
Matrix assembly in fem using mpi
 
following my previous question regarding using MPI for finite element http://www.cplusplus.com/forum...
[19 replies] Last: @lastchance could you please take a look at this, https://www.cplusplu... (by resabzr)
linker errors, already defined in an another object
 
so i creadted this 2d game using sdl it worked fine, but then when i started optimizing it, seperati...
[17 replies] Last: The problem with multiple definitions is with the contents of the incl... (by seeplus)
cout << endlines(x); operator overload for a function
 
Hi, i wanted to make a function which makes a spacing for a line every time I call cout. but I am s...
[8 replies] Last: I have sometimes used std::array<char, n> to return strings from funct... (by helios)
containing loop
 
when I compiling this program it gives me this error /////////////////////////////////////////////...
[9 replies] Last: @againtry thank you, my dear friend. the program works well. I will co... (by abdelrx01)
Pages: 123... 7
  Archived months: [apr2021]