General C++ Programming - October 2019 (Page 9)

AMMUNATION
 
How to create an online gun store...And the billing system with it?
[8 replies] Last: Sorry for the late reply.Thank you for your idea ,Jonnin. Well, the pr... (by DNA WARLOCK)
by TerryG
C4430 error building DLL
 
I'm trying out DLLs for the first time and have a previously written text function program I'm conve...
[4 replies] Last: Sorry, it didn't. It had: using std::string (by TerryG)
Vehicle Control Software
 
Rob and Jason are joined by Philipp Schrader. They first discuss some post CppCon news and the LLVM ...
[1 reply] : Relevant and interesting site, but this ought to be posted in Lounge. (by kbw)
Help! Fixing missing ")"
 
My professor gave me the following lines to work with in a CPP for a header file: bool operator< (...
[3 replies] Last: @coder777: see https://en.cppreference.com/w/cpp/language/if (If State... (by ne555)
how print enums?
 
see these enum: enum TokenType { ID=0, KeyWord=1, Operator=2, ...
[5 replies] Last: thank you so much for all you make work contracts("Disclaimer: ...." w... (by Cambalinho)
by Ganado
How does a debugger break code?
 
I'm wondering what the mechanism is that actually lets the debugger stop the program being debugged ...
[4 replies] Last: Ah, that must be what the "Debug programs" privilege in User Rights Ma... (by Ganado)
Appending a dynamic array
 
Create a dynamic array of int with a initial space of 4. Write a function ‘append’ that appends ...
[6 replies] Last: and then you need to work with two vectors and the global code crumble... (by ne555)
by Jdog17
Error Reading Characters of String
 
I am currently using command line inputs in conjunction with several hardware inputs from my io ousb...
[3 replies] Last: Each operator, like ==, has to be defined for its operands and no such... (by lastchance)
Adding vectors and applying rotation matrix using quaternion
 
I am unsure about your data structures, because choice of structure makes a huge difference when...
[2 replies] Last: Spam cross posting: https://gamedev.stackexchange.com/questions/17610... (by deleted account xyzzy)
2d Vector with text file
 
Hello All, I have text file which has only number as below, i'm not able to read the floating poi...
[1 reply] : show us what isn't working? (by jonnin)
Create a program that prints a 20 by 20 block. Print "[ ]" for an open space. Print [X] for closed space
 
Hi, I am very new to C++ and for our homework we have gotten this as a problem. I would usually assu...
[2 replies] Last: Flatten your array to 20x20=400 positions. Choose, by random selection... (by lastchance)
Picking random chars from char array?
 
Hello! I'm very new to C++ and have a pretty daunting assignment due this week. I won't get into...
[8 replies] Last: It looks to me like you trying to simulate the game Boggle . The sug... (by doug4)
by HSafy
is there a built in method for detecting outliers ? (1,2)
 
Hello everyone, I am new to c++ and I need your help :) When I was using a matlab, I was using ...
[37 replies] Last: Right, don't do anything until you fill the buffer is one approach. I... (by jonnin)
by dbdcd
Expected unqualified-id error on "for" loop line
 
//Function Declarations void placeMarker(); void checkWin(); void board(); ...
[5 replies] Last: I clicked on the code thing in the format section but it did nothing... (by Ganado)
1d and 2d dynamic arrays
 
hey everyone, I was wondering if I can add fixed values to a 1d or 2d dynamic array like static on...
[8 replies] Last: Ah, thank-you for the explanation, @coder777. (by lastchance)
My application stopps working beacuse map loader.
 
I have problems with my game engine. I made a basic map loader that loads maps. But its not load...
[1 reply] : You allocated space for a 30x30 array, but you're trying to access map... (by Ganado)
I have the following error.
 
#include <iostream> #include <cstddef> void doAnything(std::nullptr_t ptr)// variable or field ...
[1 reply] : PLEASE, do not double post. http://www.cplusplus.com/forum/general/26... (by deleted account xyzzy)
I have the following error.
 
#include <iostream> void doAnything(int *ptr) { if (ptr) std::cout << "You passed ...
[3 replies] Last: PLEASE, do not double-post. http://www.cplusplus.com/forum/general/26... (by deleted account xyzzy)
If dynamic memory is deallocated when program terminates, what is the point of destructors?
 
Destructors, in my understanding, are used to de-allocate any dynamic memory once an object is destr...
[12 replies] Last: @Niccolo- Actually you answered my question quite well by essentially ... (by vaderboi)
Advice on IPC
 
I've created a server program that scrounges data from various web sources and stores the data inter...
[3 replies] Last: I decided to use UNIX Domain Sockets to send messages across two progr... (by VMsrVT2Tyc)
October 2019 Pages: 1... 78910
  Archived months: [sep2019] [nov2019]

This is an archived page. To post a new message, go to the current page.