Beginners - June 2022

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 f...
[14 replies] Last: @Geckoo (and @copypasta), why do you use WinAPI functions that have be... (by George P)
Objects and Binary files (RPG game)
 
For my school project we are working through building a basic RPG style game with custom classes and...
[8 replies] Last: a fixed sized c-string makes it easy if at all possible. Most real da... (by jonnin)
Need help with code.
 
Write a C++ program that includes a function to calculate the discount applicable on the price of an...
[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 sea...
[5 replies] Last: [quote=baduymus]#include<filesystem> doesn't work This isn't your fi... (by George P)
how to do this?
 
how do i make a c++ file that will print the entered number like a number string on the screen? Exa...
[3 replies] Last: Another way to do this, keeping the entered integer value as a number ... (by George P)
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. ...
[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 Ma...
[2 replies] Last: Currently search_boy(...)/search_girl(...) are returning a single inde... (by coder777)
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 ...
[3 replies] Last: You just need an index to the months with the least and most rainfall.... (by seeplus)
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....
[2 replies] Last: If you don't initialize a variable it has random value. On your PC it ... (by thmm)
GetConsoleOriginalTitle() - Returning Blank Chars
 
I want to get the window handle of a game console application by name. I have tried researching an...
[17 replies] Last: From https://www.programmerall.com/article/1575496459/ ("Multibyte and... (by George P)
Vector<int,2> origin;
 
Write your question here. The syntax for vector is Vector<int> vector name. Here what does 2 do i...
[5 replies] Last: Do you have any recommendation? Learn C++ with the standard library... (by lastchance)
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 a...
[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 str...
[5 replies] Last: thanks I got it working on my end, I unfortunately have a tendency to ... (by JFJ)
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_Open...
[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 <...
[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 f...
[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...
[13 replies] Last: ... or alternatively then: #include <iostream> class Temp { public... (by seeplus)
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 ...
[2 replies] Last: With a test data file as follows (no need to specify the number of row... (by George P)
Declaring interdependent classes
 
hello everyone, I have found similar questions in the forum but really cant understand the answers. ...
[12 replies] Last: No problem - glad I could help! (by MikeyBoy)
by linaya
不懂错在哪里
 
题目:声明两个int型变量或赋值,判断两数之和,,如果大于等于50,输出he...
[7 replies] Last: It is wrong to not include the required header and expect the compil... (by Duthomhas)
June 2022 Pages: 123... 5
  Archived months: [may2022]

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