General C++ Programming (Page 3)

by hikhok
Palindrome
 
Hello everyone!! For some reason whenever I enter the word "Rotor" on the first time it detects it ...
[7 replies] Last: if you want to do phrases, here are some test cases https://www.youtub... (by jonnin)
Resume built with C++
 
I'm trying to compile and output my code into an external text file. Using the servers provided by m...
[5 replies] Last: @chickentheplay - why are you mixing c++ std::string and c-style strin... (by seeplus)
Best compiler for c++
 
which is best compiler for c++ i have listen from people it is visual studio i saw a video on youtub...
[7 replies] Last: thanks you seeplus yes i had not installed c++ thank once again (by orthoimplants)
3rd parameter of function, as functor
 
about this code: class ComplexComparer { public: bool operator()(const Complex& a, const Complex& ...
[2 replies] Last: [also asked and answered here https://forums.codeguru.com/showthread.p... (by seeplus)
by SM1234
C++ SSE and SSE2 compiler settings, and their Floating Point effects.
 
I have been running C++ floating point tests using the Twilight Dragon Media C++ compiler for 64 bit...
[11 replies] Last: The default switches are conservative and cause the compiler to genera... (by helios)
Copy and Move Constructor causes failure
 
Hi everybody, i've trained to write a std::string clone [whole code at the bottom] Then, i wanted...
[7 replies] Last: copy constructor can also be coded in terms of constructor(const char... (by kbw)
bit graphics in DevC++
 
I have many large programs written in DevC++ using Borland graphics. With Windows 10 they do not al...
[4 replies] Last: You could investigate Windows GDI. If you ignore most of its functiona... (by mbozzi)
General Advice For Newbie!
 
Just started learning C++, I have experience in Python and Java. I created this small calculator pro...
[5 replies] Last: #include <iostream> /* Input 2 decimal numbers, specify arithmetic ... (by againtry)
how to C++ output overlay
 
So I am currently creating a c++ monopoly and wanted to give the center of the screen some purpose. ...
[8 replies] Last: You don't have to dump a logo thru the center of the board. This game... (by jonnin)
Memory reallocation problem
 
Hello guys, ive just wrote some lines to reallocate a string for expansion, but i got nothin but an...
[7 replies] Last: I think I'll stick with C/C++ functions that cppreference has document... (by George P)
Help Designing An API
 
Would anyone be willing to help me design an API using modern C++ techniques to load and display dat...
[5 replies] Last: consistency. If its like the standard library (eg, you expose a conta... (by jonnin)
Problemas al realizar el juego del ahorcado
 
Al realizar el codigo, me permite compilar correctamente, sin embargo hay dos cuestiones que no logr...
[3 replies] Last: Please learn to use code tags, they make reading and commenting... (by George P)
by Cplusc
Stl to .mesh (1,2)
 
I'm looking for some code to convert the stl file to .mesh or ascii. I would be grateful if someone ...
[20 replies] Last: @lastchance in my last comment I meant the voulme mesh,not surface. I'... (by Cplusc)
SortableVector Class Template
 
Good morning, I was asked to make a child class called SortableVector attached with the SimpleVector...
[4 replies] Last: If I am understanding you correctly is that SimpleVector.h is the bas... (by kbw)
Comparing unique_ptrs
 
I have 2 unique_ptr and need to compare whether they contain the same value or are empty This is t...
[9 replies] Last: I think that's one way to look at it, but device could be a third-pa... (by mbozzi)
by maifs
How to initialize object in a polymorphic way ?
 
Hi I need to create polymorphism and initialize the data in the following way: I need to save new cu...
[14 replies] Last: The Service class has several member variables apart from source and d... (by seeplus)
Function Overloading
 
How can I create two functions that has the same name GetAve. The first function should have 3 param...
[10 replies] Last: #include <iostream> #include <concepts> // https://en.cppreference.co... (by JLBorges)
by frek
Getting started learning how to use GTest in Visual Studio 2022 (1,2)
 
Hi all, I'm starting to learn how to use Google Test ( GTest ) on my VS 2022 IDE for a simple proje...
[37 replies] Last: C/C++ still is a statically typed language. You can use auto only... (by kigar64551)
Library creating
 
Hi, i am having trouble with code, i have a raw code to test my connection between c2000 controller ...
[6 replies] Last: Another meta-search that MIGHT be helpful: https://duckduckgo.com/?q=c... (by George P)
ROUND OFF
 
How to create a program using user-defined function that converts a number with decimal points that ...
[3 replies] Last: Try it with -0.9 (by lastchance)
Pages: 123456
  Archived months: [apr2022]

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