by admin
Welcome -- read before posting!
Welcome to the beginner's forum in! In this forum, users can to talk about any topic related to C++ for non-expert audiences. Feel free to participate...
[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 console/cmd closes down instantly. If you tell me why it is clos...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duthomhas)
User input with class methods
I've come to the point where I need to collect user input and create the instance of a matrix. I've tried but I'm not sure how to do this, given all of my metho...
[3 replies] Last: same as you would your first programs that talked to the user... pseud... (by jonnin)
Sequential Search
there's an error on this program supposedly how can I utilize it to become a linked list and array and to identify how many comparisons would be necessary to fi...
[7 replies] Last: Thank you guys for the help! (by vonits23)
Testing Strings
Hi, I put together a program that is supposed to print an alien word called a "blurb." A blurb consists of an whoozit which is an x followed by one or more y. T...
[9 replies] Last: Okay, I had to come back to it with a fresh set of eyes and rethink it... (by stoneJax)
How to improve C++ Program? (1,2)
Following C++ program compiled and ran using MS VS2022 Community edition. Please help improve this program (main, power function, #defines etc) using C++20 fea...
[21 replies] Last: Is there a way to make changes to this program using C++ 17 features?... (by seeplus)
Calculating the Duration of a Factorial Calculation
Hi, I'm trying the calculate a factorial calculation's duration. But the code that I wrote is giving me the zeros all the time. If it's 1! giving me 0 even whil...
[2 replies] Last: try nanoseconds instead? your computer is very, very fast. factoria... (by jonnin)
About compiler (1,2)
g++ -wall -g .... What those called: -wall -g Where can I find the full list of them, with usage description of them. Thanks)
[25 replies] Last: Thanks @it worked) Thank you everyone else (by ninja01)
by dvdlly
building a multilayer perceptron
I want to build a multilayer perceptron and am almost done. I cannot initialize a test object though. I have written a basic linear algebra library "Matrix.h" t...
[12 replies] Last: sorry I went for a run, thats why I'm replying so late. I wanted to pu... (by dvdlly)
by Bumzag
Build and modify a project from existing source code
Sorry for the dumb question but can someone give me a roadmap to build a project from an existing source code so I can make modifications to it? The project in...
[2 replies] Last: Note that the project uses 3rd party libraries - which you'll need to ... (by seeplus)
Hi I'm working with Xcode and I am having problems with the dylib. I'm trying to add two dylibs to XCODE 11, glfw is one of them The other is glm_shared. They...
[no replies]
by acprog
swith into while
Hello, you knows why is happenig this. I mean, when I run the code and introduce a mistake the default in the switch supposed to capture the mistakeand restart ...
[1 reply] : you compiler settings are unable to handle the non-english characters ... (by jonnin)
About character sets
I looped through 512 characters and I realized that: my character set is 256. so it is not an 7-bit ascii. Instead, it is variant. My question is: Is there a...
[11 replies] Last: [quote=ninja01]Did you copy-past the hand, or write it using your keyb... (by Peter87)
About files, little bit related to c++
I am experimenting a thing here, Well some files are encrypted, others are not. Two of the last category are: text(.txt) files and cpp files. Every time I add ...
[2 replies] Last: Thanks @JLBorges (by ninja01)
by dvdlly
building a multilayer perceptron
Hello, I am trying to build a MLP to learn C++. So far I have implemented a small linear algebra library "Matrix.h" and "Matrix.cpp". Now, I want to implement ...
[2 replies] Last: thanks, it works now. (by dvdlly)
C++20 VS2022 program to count lines please
I need help in writing C++20 program using VS2022 please. Program has to read any cpp/cc or hpp/h source file as input and count blank lines, comment lines an...
[7 replies] Last: If there is already an existing such a C++20 program, may I have its ... (by seeplus)
by dvdlly
trying to build a basic linear algebra library
I am trying to implement a function to generate a Matrix as it is defined in my Matrix.h file initialized with random values drawn from a gaussian distribution....
[3 replies] Last: @seeplus thanks I didnt see that as usual... @JLBorges maybe - I am 3... (by dvdlly)
About conio.h
I know that conio.h is not c++ standard library nor a c standard library. Do you know any information about the library like where it comes from and why it i...
[16 replies] Last: I am still using the conio.h, and I guess it is considered a third pa... (by seeplus)
by dvdlly
trying to build a basic linear algebra library
I am trying to learn C++ and want to build a Matrix library. So far I have a Matrix.h file: //Matrix.h #pragma once #include <vector> template<typena...
[13 replies] Last: also try to find the first error that relates to your code. You might ... (by seeplus)
About ASCII extended code
I just found two different ASCII code table, I am asking the following: 1: How many ASCII extended table are there? 2: Where can I find them? Thanks)
[11 replies] Last: This is my output in both cmd with @seeplus command and my code to out... (by ninja01)
Pages: 123... 5
  Archived months: [aug2022]