General C++ Programming (Page 5)

by ytba
Coverting to C++
 
Hey i need a help to convert a line into C++ format. For n ← Location - 1 to 0 && i - 1 Thanks...
[1 reply] : A c++ for loop looks like this: for (initial, condition, action) ini... (by jonnin)
by frek
C++ strong types
 
Hi all, I encountered such a term "C++ strong type" and have no clue what it is. I also surfed th...
[2 replies] Last: There's two dimensions when it comes to typing in a language. - First... (by Ganado)
by GonlyG
Tic Tac Toe algorithm timing out on long cases
 
I've encountered a programming problem where there are multiple games of tic tac toe being played an...
[14 replies] Last: TTT is sometimes used to explain a concept of 'transposition tables' w... (by jonnin)
Pass enum in a scope to another as function argument
 
How pass enum in a scope to another as function argument ? Why is it fail ? enum class L; struct...
[6 replies] Last: it works fine for me if you just replace the forward decl of L with th... (by jonnin)
by zapshe
CPP Project and Review
 
Make a program that'll cook dinner and give me pick up lines when I need it. Codingame.com has some...
[2 replies] Last: Years ago I wrote a sudoku solver program in C++ and found that it con... (by dhayden)
CppCast: Web Assembly
 
Rob and Jason are joined by Ben Smith from Google, chair of the Web Assembly working group. They fir...
[no replies]
by frek
Code review and Lambdas
 
Hi all, First, how do you find the code below, I mean if you review it, please? #include "std_li...
[14 replies] Last: lambdas have types Some strictness is required when using terminology... (by Ganado)
hospital management system
 
Hi so basically i have a project where i have to create a management system of a hospital. it is not...
[1 reply] : How many threads there will be on the same "hospital"? (Double-posting... (by keskiverto)
Binary Search where the data is ordered in descending order.
 
I got an assignment for my class to modify the Binary Search where the data is ordered in descendin...
[2 replies] Last: (After changing your sample data to be ordered descending) there is on... (by lastchance)
by Odglog
How to design custom characters for the console?
 
Hello! Just wondering, I want to make a text-based game in the console and I want my characters t...
[4 replies] Last: I'm really sorry about the delay, I was really busy, thanks for the re... (by Odglog)
C++ Starter template repo for Bazel and Visual Studio Code with GTest, Glog, and Abseil libraries
 
I put together a C++ starter template repo for Bazel and Visual Studio Code with GTest for unit test...
[no replies]
C++ getting the average from just one line
 
Hey I was playing around with 2d arrays and i im trying to find out how to get the average from just...
[7 replies] Last: jonnin. thank you that makes sense. i will mark this as solved. (by somedude)
Collision problem SDL
 
Hey guys, so the problem... well watching the 1 minute short video I uploaded to explain the probl...
[12 replies] Last: I'm kind of not sure about point one You're doing it already. :) Yo... (by dhayden)
Can anyone explain me Read/Write structure objects to file
 
I am BSSE student of First semestor my teacher write like that code but it does not make any sense t...
[3 replies] Last: okay, thanks to all. (by lablnet)
by zeelia
How to prevent the system using the same account and IC number
 
Hi My only problem here is to not make a duplicate account number with different detail. How can i...
[1 reply] : Hi My only problem here is to not make a duplicate account number wit... (by kbw)
Trying to convert data to an image
 
Good Afternoon. I've been trying to convert a hex string to a image for a while now. I found most of...
[1 reply] : first try saving it as a raw file (just an array of RGB pixels, one by... (by jonnin)
move assignment
 
template <typename Type> my_unique_ptr<Type>& my_unique_ptr<Type>::operator=(my_unique_ptr &&target...
[9 replies] Last: How to use code tags: http://www.cplusplus.com/articles/jEywvCM9/ No... (by Furry Guy)
Hiring a C++ Programmer
 
I don't know where to post this but I'll post it here since everyone here must be a subject expert i...
[4 replies] Last: There's no mods here. You can repost in the job section. (by zapshe)
Question regarding boost::serialization and placement new
 
Hey guys, The TL;DR is: How does load_construct_data from boost::serialization know how much memo...
[2 replies] Last: For posterity, I have the answer: Detailed within the boost documenta... (by Aaron Vienneau)
Delete//Update row in csv file without rewriting it by using C++?
 
I am student of BSSE first year and we have project and am doing that. but our requirement that mani...
[3 replies] Last: databases under the hood use all kinds of different approaches. The ... (by jonnin)
Pages: 1... 345678
  Archived months: [may2020]

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