
please wait
by copypasta
Windows Application - WNDCLASS etc.
|
Hi, I am new and been learning to make a basic Window but have a question I like to ask related to function oriented programming. 1) The below code is me tryin... |
Jun 30, 2022 at 4:25pm
[14 replies] Last: @Geckoo (and @copypasta), why do you use WinAPI functions that have be... (by deleted account xyzzy)
|
by numba1sonman
Objects and Binary files (RPG game)
|
For my school project we are working through building a basic RPG style game with custom classes and reading/writing to a binary file. I believe I have all of m... |
Jun 29, 2022 at 3:12pm
[8 replies] Last: a fixed sized c-string makes it easy if at all possible. Most real da... (by jonnin)
|
by anonomyss
Need help with code.
|
Write a C++ program that includes a function to calculate the discount applicable on the price of an item. Your function should have three arguments: the price ... |
Jun 29, 2022 at 8:41am
[3 replies] Last: Perhaps something like: #include <iostream> #include <cassert> voi... (by seeplus)
|
search inside files inside file |
hello i am trying to make a program for specify extension finder but i have some issue how can i search inside files inside file like i have a A folder in this ... |
Jun 29, 2022 at 5:00am
[5 replies] Last: [quote=baduymus]#include<filesystem> doesn't work This isn't your fi... (by deleted account xyzzy)
|
by AlanHudik
how to do this?
|
how do i make a c++ file that will print the entered number like a number string on the screen? Example: I entered 123, And it has shown 1 2 3 |
Jun 28, 2022 at 5:38pm
[3 replies] Last: Another way to do this, keeping the entered integer value as a number ... (by deleted account xyzzy)
|
by H00G0
Is it Possible to write and read a struct from a vector to a file?
|
Hi guys, I'm slowly getting back into programming and I'm getting stuck on a small project of mine. I would like to have a text file from which I can read an... |
Jun 28, 2022 at 2:28pm
[11 replies] Last: Thank you very much for all of your feedback, I have it working now! H... (by H00G0)
|
Input and output from file |
I have a input file named BabyNames.dat The data are 1 James Ellen 2 Peter Eleanor 3 Rodger Mary 4 John Elise 5 Mpho Anne 6 Molefe Ella 7 Zaheer Petun... |
Jun 28, 2022 at 9:45am
[2 replies] Last: Currently search_boy(...)/search_girl(...) are returning a single inde... (by coder777)
|
by castlyvania
Pearson Chapter 7 - 2 Programming Question
|
Hi there! My code seems to run fine with the one exception of not showing January as the month with least rainfall. Here are what the challenge specifies: Wr... |
Jun 28, 2022 at 8:44am
[3 replies] Last: You just need an index to the months with the least and most rainfall.... (by seeplus)
|
by sandbox007
No idea whats wrong
|
I have an issue with code output being not what i want it to be and its different in different IDEs. #include <iostream> using namespace std; int ma... |
Jun 28, 2022 at 7:25am
[2 replies] Last: If you don't initialize a variable it has random value. On your PC it ... (by thmm)
|
by copypasta
GetConsoleOriginalTitle() - Returning Blank Chars
|
I want to get the window handle of a game console application by name. I have tried researching and found on MSDN if I want to get the title of the console ap... |
Jun 27, 2022 at 10:58pm
[17 replies] Last: From https://www.programmerall.com/article/1575496459/ ("Multibyte and... (by deleted account xyzzy)
|
by abbas1364
Vector<int,2> origin;
|
Write your question here. The syntax for vector is Vector<int> vector name. Here what does 2 do in the following command. Vector<T,2> origin; Vector<T,... |
Jun 27, 2022 at 10:31am
[5 replies] Last: Do you have any recommendation? Learn C++ with the standard library... (by lastchance)
|
by Daniel Steel
Is this a compiler issue or is my code incorrect?
|
I was told to make a c++ code where, a user can choose a txt file of their choice for a dynamic 2d array. The file syntax is sort of like this: 2 3 43.3 44.... |
Jun 26, 2022 at 3:42pm
[6 replies] Last: MatrixColumns contains the number of cols for that row (L75). Hence L1... (by seeplus)
|
by JFJ
strange behavior with cout and strings
|
I was beginner to c++ working on a simple string rotation program that would take a number and a string and rotate it about that index in the string. I split th... |
Jun 26, 2022 at 4:13am
[5 replies] Last: thanks I got it working on my end, I unfortunately have a tendency to ... (by JFJ)
|
by klebermo
Programming OpenGL in Linux with GLX, Xlib and GLEW
|
What I need to modify in this code (found here: https://www.khronos.org/opengl/wiki/Programming_OpenGL_in_Linux:_GLX_and_Xlib) to make work with GLEW, besides a... |
Jun 25, 2022 at 10:52pm
[1 reply] : Maybe it could be better to post your question in the section which is... (by Geckoo)
|
C++ Program to Convert Number in Character |
C++ Program to Convert Number in Character // Numbers As Words.cpp : main project file. #include <iostream> #include <cmath> using namespace std; int m... |
Jun 25, 2022 at 7:39pm
[18 replies] Last: I prefer the Microsoft documentation: https://docs.microsoft.com/en-u... (by seeplus)
|
by NEIGHT
char pointer manipulation
|
I am using an old directX game engine that uses char* to load file paths. How do I iterate through files like a counter to load multiple files EX. char* sFi... |
Jun 25, 2022 at 12:03pm
[5 replies] Last: Because using std::string is better for string concatenation than char... (by kbw)
|
Freezing and Boiling Points |
Write your question here. Hello. I am having a bit of a logic error with my code. This is challenge 16 from chapter 13 from starting out with c++ 9th edition. ... |
Jun 24, 2022 at 5:34pm
[13 replies] Last: ... or alternatively then: #include <iostream> class Temp { public... (by seeplus)
|
by Daniel Steel
Creating a jagged array using a txt file?
|
I wanted to make a C++ code where, a txt file has a number in the beginning with the amount of rows in the column, and then there would be data in the bottom th... |
Jun 24, 2022 at 5:26pm
[2 replies] Last: With a test data file as follows (no need to specify the number of row... (by deleted account xyzzy)
|
by afduggirala
Declaring interdependent classes
|
hello everyone, I have found similar questions in the forum but really cant understand the answers. I am declaring two classes, each one of these classes needs ... |
Jun 24, 2022 at 10:28am
[12 replies] Last: No problem - glad I could help! (by MikeyBoy)
|
by linaya
不懂错在哪里
|
... |
Jun 24, 2022 at 12:09am
[7 replies] Last: It is wrong to not include the required header and expect the compil... (by Duthomhas)
|