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)
by Dazzer
How to start with audio plugin GUI design?
 
Hi folks, I'm interested in learning C++ for audio plugin design, but I'm a bit unusual in that i...
[1 reply] : we used to call it RAD (rapid application development) and I am not su... (by jonnin)
How to get program to distribute input by alternating between two, multi-line string inputs
 
Hello I need to get this output: 1) type a: 1a type b: 1b 2) type a: 2a type b...
[5 replies] Last: You can do it with just 1 loop to read the data. Consider: #include... (by seeplus)
zero dynamic memory allocation
 
So today I was reviewing teacher code that lets student input the number of blocks of memory to allo...
[4 replies] Last: Well it was written by a teacher. I need say no more..... (by seeplus)
Why its showing wrong ?
 
Hi there, I am trying to run a code what school going student can do ! But not sure what kind of m...
[6 replies] Last: Just because you can doesn't mean you should. :) do-while without... (by seeplus)
Lambda Expression: Specifying "this" in the capture clause
 
I'm reading an article on how to use lambda expressions and have some questions: 1. What is mean...
[6 replies] Last: @Peter87, I am cognizant of the how and why of the differences in lamb... (by deleted account xyzzy)
Specifying a file address?
 
Hi, I am getting an error when trying to specify a file path for my program. It says "failed to ope...
[8 replies] Last: seeplus already mentioned about the <format> library in C++20, a maj... (by deleted account xyzzy)
by zzzhhh
Why const literal class is not a constexpr even if initialized from a constexpr?
 
class test{ public: constexpr test(){} constexpr int operator+(const test& rhs) const...
[4 replies] Last: Good point. I suppose you could remove x. I'm not sure what the point ... (by DizzyDon)
Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is... (1,2)
 
Hi, I am getting an error when I run my program. the error is... Unhandled Exception: Syste...
[26 replies] Last: you can choose to hunt down some of the offending memory hogs and mov... (by seeplus)
Bit set function not working correctly?
 
Good day, I don't know how to ask this as I don't totally understand things but I'm having an iss...
[12 replies] Last: [quote=Cyclone]My code is messy and had left over variables from testi... (by TheIdeasMan)
Git problem
 
Hi. I am trying to get out a confused git situation. I can't really remember how I got there, but I...
[7 replies] Last: Thanks for the replays I kind of solved the issue (by Jonathan100)
by Mif
C programming. Using uninitialized memory warning.
 
I keep getting this warning even I initialize the memory, then I double-check the code paths to ensu...
[17 replies] Last: I found a lot of info and a few C implementations for the A* Search al... (by deleted account xyzzy)
by cgm2k7
Reading files with fread() in chunks.
 
Good morning everyone! I would like to ask for a little help here on the forum. It's like this. I ...
[18 replies] Last: Just wait for when you have EVERY post reported, including ones that p... (by deleted account xyzzy)
by demhat
function declaration with MACROs
 
hi guys as I know function declarations are like this: void ClearBackground(Color color); ...
[7 replies] Last: And, for one question within the OP: Yes, there can be more than just ... (by keskiverto)
MPI runtime weird example
 
Hi guys, I have a weird mpi example where I don't understand the used runtimes. #include <iostrea...
[1 reply] : its hard to know what is really going on with caches, other processes,... (by jonnin)
by zzzhhh
Why do I have to surround parentheses in this fold expression?
 
template<typename... Args> void printVariadic(Args... args) { (... , (std::cout << args << ' '));...
[1 reply] : Because the standard defines a unary left fold expression as: ( ...... (by Peter87)
need some help
 
That seems pretty close to being right, why don't you post the whole program? In case anyone stumbl...
[11 replies] Last: George, I would avoid directly hyperlinking the profile, if you don't ... (by Ganado)
by colt
Simple tga writer not working correctly.
 
Hi. I did write code to write a simple tga file format file. Unfortunately, it does not seem to w...
[3 replies] Last: You might consider finding an already existing 3rd party library and u... (by deleted account xyzzy)
Namespace std not recognized in public API.h for shared library (1,2)
 
It has been quite a while since I was working intermittently on my project to write a C++ shared lib...
[21 replies] Last: smart pointers are used as an 'owning' pointer. They 'own' the allocat... (by seeplus)
  Archived months: [sep2024]