Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
 
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duthomhas)
How to map/copy complex array of pointers to Eigen matrix?
 
I am able to both copy and map array of pointers to an Eigen vector/matrix and vice versa as the fol...
[no replies]
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...
[9 replies] Last: If you choose a dialog based MFC from the wizard and use CFormView you... (by thmm)
Struggling to fill then print vector of structs
 
Howdy y'all, I am trying to take a .csv file, read it into a vector of struct. and then print out th...
[4 replies] Last: Apologies, this is my input file: abc,male,21 xyz,female,18 pqr,male,... (by pnwdino)
Objects and Binary files (RPG game)
 
For my school project we are working through building a basic RPG style game with custom classes and...
[9 replies] Last: a fixed sized c-string makes it easy if at all possible. Most real da... (by jonnin)
C++ Review Questions (1,2)
 
Restarting my review question list with hopefully shorter & simpler questions that I had when readin...
[21 replies] Last: To go along with what jonnin said, most C++ formal classroom and video... (by George P)
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)
Need some editing on code
 
So basiclly I need to ask user what book he is reading. and then when he types it , it must display...
[1 reply] : It's easier using std::stringstream: #include <string> #include <ss... (by seeplus)
Palindrome program
 
Write a program that reads a word into a C-string (a character array). The program should then deter...
[6 replies] Last: [quote=George P]ananaB is still not a palindrome, a word or phrase tha... (by coder777)
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. ...
[12 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)
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...
[2 replies] Last: Linux. Graphics on Linux is almost exclusively implemented using the X... (by Alfie696)
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)
Pages: 123... 11
  Archived months: [apr2022]