General C++ Programming (Page 2)

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)
Template metaprogramming to auto-detect race conditions
 
I read a GitHub project description about using template metaprogramming to auto-detect race conditi...
[5 replies] Last: I am going to have to go over that a few times. Yeah it's pretty nea... (by mbozzi)
identifier not found
 
Hi, trying to split a function between a .cpp/.h and accessing it in main by calling that function....
[4 replies] Last: Adjusted. Thank you. main.cpp #include "pch.h" #include <iostream... (by technologist)
sdl configuration problem in vs code
 
im new to vs code, i have been using vs 2019 for so long but now I'm moving towards vscode, I know t...
[no replies]
Valgrind: segmentation fault error (1,2)
 
I have a serial code that is working perfectly and printing out data as expecxted. I rewrote a paral...
[24 replies] Last: ne[j + ny*i] = (a * tanh(b*(XX[j + ny*i] + c)) + d + a2 * tanh(b*(XX... (by doug4)
Dice c++
 
Hello, i'm trying to make a c++ dice, i have to declare all the 10 rolls, lowest, highest and the to...
[2 replies] Last: As a starter, consider: #include <iostream> #include <cstdlib> #inc... (by seeplus)
What is the best way to learn to write pseudocode
 
What is the best way to learn to write very clear pseudo-code (using easy-to-understand statements, ...
[3 replies] Last: There's no definition of what pseudo-code involves. Some programming c... (by seeplus)
Undefined reference error.
 
In this main I have omitted the class Of quiz which Reads Quiz from the File and use it for this app...
[17 replies] Last: I'm kinda curious if it would break if you initialize a container of... (by doug4)
Output not reading correctly for pond simulator:
 
The output should look like: WEEK 20 RESULTS Fish With Weight 20 Plant weight 13.95 Plant weig...
[5 replies] Last: @GroovyJack. This is again quite a complicated exercise. Also you have... (by seeplus)
by zak100
Developing Contraol Flow graph for Solidity Smart Contracts in C/C++ Language
 
Hi, I am interested in developing Control flow graph in C++ language. What are the advantages ava...
[3 replies] Last: It means, you'll probably have to build it yourself from more primitiv... (by kbw)
by Borneq
In my C++ project std::remove refers to stdio.h
 
I have error in my code: void Config::UpdateMRUPageClose(const wxString &path) { mru.erase(st...
[1 reply] : std::remove is in the <algorithm> library for C++ as well in the ... (by Furry Guy)
Accepts and write top scores of game user.
 
/ //My biggest goal is to read the details from the user and write to the file and also be able to ...
[7 replies] Last: Once more I tried to understand the friend and operators seems to be m... (by SITHESH)
undefined reference to `PacketProcessor::SetSeqStart(unsigned char)'|
 
hello I'm getting error undefined reference to `PacketProcessor::SetSeqStart(unsigned char)'| when t...
[1 reply] : https://cboard.cprogramming.com/cplusplus-programming/180376-undefined... (by salem c)
Pages: 1234... 7
  Archived months: [apr2021]

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