General C++ Programming (Page 7)

by volang
Return only when one of multiple files has data
 
With Unix Epoll and Windows Completion Port we can read from multiple fd's/sockets at the same time ...
[6 replies] Last: epoll is Linux specific, it only works with real files (not streams li... (by kbw)
Inline ASM in G++ (Eclipse)
 
Hello. I want to test my basic knowledge of ASM with a simple add(a, b) function, that adds a and ...
[11 replies] Last: Alright. Thank you! I don't really use VS anymore, I generally use Ecl... (by SirEnder125)
I need to write a program that will find its way in the letter maze
 
Greetings I need to write a program that will find its way in the letter maze. The letters of t...
[4 replies] Last: I don't want to tell you exactly how to change the program because I w... (by dhayden)
C\C++: how compare aspes? (1,2)
 
see these string: text.push_back("var const hell as integer= \" """" \""); now see these string:...
[21 replies] Last: i'm sorry something. ok... i save it.. sorry something and thank so m... (by Cambalinho)
Language manager approach with design patterns
 
Hello fellow programmers! In my current project, i work on a small plugin system, and everything ...
[2 replies] Last: Thanks, that helped me alot! i have read quite a bit from the link you... (by JustShinigami)
JavaScript Calculator
 
I know this is meant for C++ but i think there must be someone who could help me with js :) i hav...
[3 replies] Last: It looks like the only possible to use addition, subtraction, multipli... (by zapshe)
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 ...
[11 replies] Last: These algorithms work very much the same way that you'd solve it by ha... (by dhayden)
Creating dynamic allocated array of pointers
 
how to create array of pointer with dynamic allocation? I want to change this following code: ...
[2 replies] Last: Thanks a lot ! (by dntwk707)
Wrapping a C function pointer as a parameter with std::function<> for an old API
 
I am trying to communicate between applications with NATS.io. In order to asynchronously get a mess...
[2 replies] Last: I am not sure I understand this part static void static_onIdReques... (by kaptsea)
Removing data from file
 
Why does the name I entered wont delete from the file char delUser ; ifstream testing; ...
[10 replies] Last: In C++20 if that can be used, std::string has the method .starts_with(... (by seeplus)
Adder
 
Hi guys, I'm trying to make a basic adder, why? Just for fun. I thought this would be rather t...
[6 replies] Last: And the source of that can be seen at first hand by reading the header... (by againtry)
by volang
No runtime error
 
Hello. Quick question... When I write: string a(&data , data); ...this should exit the progra...
[11 replies] Last: Using at() will cause an exception to be thrown if you attempt to ac... (by MikeyBoy)
Numbers from 1 to 33 are written in 64 cells of the 8 x 8 square. Finished code, need to be redone.
 
Hello everyone, I have an assignment which is as follows: "Write a program that will find a path in ...
[2 replies] Last: I agree with you, but the code isn't mine, I don't understand it a lit... (by sergeyutkin221)
Trying to update some legacy code
 
Hello, I have recently decided to try and get an old project dusted off and see if I can update it t...
[2 replies] Last: Thank you for your speedy reply! Adding typename seems to have fixed t... (by NimrodPSI)
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, ...
[3 replies] Last: double free is fixed in 2 ways. 1) stop doing it. one allocation, on... (by jonnin)
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)
Pages: 1... 56789
  Archived months: [may2021]

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