General C++ Programming (Page 4)

by terms1
I need help with a program
Hi guys can you help me with this program, please Consider the two-dimensional array A [1..n, 1..m]...
[14 replies] Last: @seeplus: You make them too fancy for the apparent skill level of the ... (by keskiverto)
by jonnin
Visual Studio compiled program runs faster in x86 than x64?
yes, things like this can happen. It can go the other way too. Depends on the code. 50% faster i...
[7 replies] Last: That's the usual M.O. (by Ganado)
Design a program to play the LoShuSquare Game.
Hello, I will leave the instructions for this program. I did it in three different files and just ca...
[1 reply] : "LoShuSquare.h" is not a library. It is a header file shared by two s... (by AbstractionAnon)
Embedded C++ classes
Hi, what are the best practices when designing classes in embedded systems? For example I the mi...
[1 reply] : I would make an I2C class that can be used by both your sensor and dis... (by AbstractionAnon)
find the exclamation mark in the array
Given a two-dimensional array that is not a set of rows. Display lines that do not contain exclamati...
[11 replies] Last: I vaguely remembered it being the opposite, default was accepting new... (by dutch)
by opfabi
generating a matrix based on 2 numbers from a file
hi, im new to programming and i find this problem difficult, I hope you can help me with it. genera...
[3 replies] Last: thank you very much (by opfabi)
by frek
bitset example
I get this error for the following code: Error C2398 Element '1': conversion from 'int' to 'unsigne...
[1 reply] : list-initialisation does not allow implicit narrowing conversions. h... (by JLBorges)
input integer from text file and output text file
I want to input my integer data from a text file and then my program will run and the final result o...
[9 replies] Last: Thank you code is perfectly running. I solved my ide problem (by shmilon)
by Zenzei
please fix the HEAP CORRUPTION DETECTED error
I run a growtopia private server and have been recently getting server crashes due to HEAP CORRUPT...
[4 replies] Last: It looks like data is the data portion of a packet of some sort. Do yo... (by dhayden)
Recursion return difficulties
So the goal of the program is to solve a sudoku puzzle using recursion, but I put a file(starting su...
[2 replies] Last: If array is not zero, solve() returns an undefined value to the call... (by helios)
i have a small question
//question is in main >>> #include <iostream> using namespace std; class Department { privat...
[3 replies] Last: Just to point out what might be obvious... The following functions ha... (by doug4)
by VoB
Constant iterator and code duplication
Implementing a binary search tree, I need to write a iterator and a constant_iterator . My ite...
[7 replies] Last: In that case neither the children nor the parent are const. Only the p... (by coder777)
Advice on creating a regex like tool
Hi guys, So Regular expressions are normally written using Deterministic finite automata(DFAs) and ...
[7 replies] Last: Thanks, will do :) (by adam2016)
by mxkxx
cant open the exe file
i cant open the exe file in the folder. It says System error and " The code execution cannot proceed...
[3 replies] Last: set the path works too. add the folder where the dlls you need live t... (by jonnin)
by mxkxx
cant run the file
I am running code blocks and I have a header file "Studnets.h" that I am trying to have another file...
[1 reply] : We would need to see the file tree of your project to really know how ... (by Ganado)
Random binary numbers matrix
Hi guys, I got a matrix and I want to fill it with random binary numbers (0,1) but I want a specifie...
[6 replies] Last: THANKS!!!! (by ZAlexN1)
Why is my int value not changing to end the while loop?
So I'm making a C++ program for college. And my program is supposed to keep looping unless the user ...
[4 replies] Last: Posix specifies M_PI , but it is not part of standard C or C++ . (and... (by JLBorges)
Uninitialized char* generates error
Hello. This is my code: #include <iostream> int main() { char* fileName; std::cout << "File: "; ...
[7 replies] Last: Okay, thanks! :P (by SirEnder125)
register values
Ok so, I want to access this within C++: R0xAF = 0. I can set it to 0xAF with no but the...
[3 replies] Last: Did you really expect people to understand what you were talking about... (by dutch)
I never use pointers in my C++ code. Am I coding C++ wrong?
It's hard to tell whether you code wrong or not... When you use the standard library you can actual...
[11 replies] Last: iterators still feel like holding a hammer and seeing nails everywhere... (by jonnin)
Pages: 123456... 11
  Archived months: [dec2020]

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