• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
Why is this not constexpr?
 
Hi, I have a native array at global scope whose size is known at compile time: const st...
[5 replies] Last: > I got tons of error messages from the included files (type_traits an... (by JLBorges)
by eulmer
Issue with opening EXE in C++
 
I'm attempting to replace some super-old code embedded in our program with our own On-Screen Keyboar...
[2 replies] Last: Seems this is a semi common problem. I've found a few topics on it aft... (by eulmer)
Thread pool questions and advice.
 
Hey I made a simple thread pool and well "it works" but I was wondering if there were things I shoul...
[1 reply] : I was wondering if there were things I should do or add to make it be... (by Cubbi)
Sound in c++
 
Hello everyone, how can i play sound in c++ and can you give me a library ? Thanks you
[2 replies] Last: If you're on visual C++, go project properties -> Linker -> Input -> A... (by Uk Marine)
by Liger
Quick question about c++ versions
 
Hi, I'm a beginner programmer and I'm having difficulty understand what c++98 and c++11 is. I can't ...
[9 replies] Last: Yep, that sounds about right. (by LB)
Where to start when learning to code?
 
So I have been programming in C++ for little under a year since I started having a course at univers...
[3 replies] Last: Normally, when someone ask me about a good place to start learning C++... (by Uk Marine)
Pointer strlen
 
#include <iostream> #include <string> #include <stdio.h> using namespace std; char s = "Some te...
[2 replies] Last: strlen() He needs a char* instead of char** Here's a possibility... (by MeteorCat)
by Reiv63
Wheel of fortune
 
Im making a wheel of fortune game in Dev C++ and I would just like to ask if its possible to create ...
[6 replies] Last: thank you good sir! (by Reiv63)
which c++ compiler or ide should i start with for windows programming?
 
I have a good knowledge of programming and am familiar with languages like Turbo C++, Turbo Pascal, ...
[12 replies] Last: Thanx, setup is now working! (by thomasb)
Look for numbers after text and replace
 
So as the title says I want to find a number, called "value" in a .txt file and replace it with anot...
[2 replies] Last: Yea I did use a json parser and it looks so organized lol. Anyways, I ... (by olsarets7)
by prako2
Close errors
 
383: error: too many arguments to function `void close()' 384: error: at this point in file ...
[5 replies] Last: #ifdef WIN64 closesocket(sockfd); WSACleanup(); #else int close(sock... (by coder777)
Modyfing a char table within a loop to display "x = i"
 
Hello, I need help writing a simple loop that would change the size of char table (I need it to be ...
[2 replies] Last: The array is too small, "x=0.0" requires six characters, "x=50.0" woul... (by Chervil)
Waiting for a variable
 
I am working on a program that should be able to monitor another process. I do not have the code of ...
[6 replies] Last: Then it looks like that will be the final solution. Thank you all for ... (by Shadowwolf)
by AcarX
Locking a code block with an object
 
I do have couple of functions which I want to be executed by a single thread at one time. I could th...
[1 reply] : Yes, that's a very common usage of RAII, and is in fact the preferred ... (by helios)
Self-Coding Program
 
Is it possible to write a code that when you type into it a piece of code (e.g. cout << "Hi!" << end...
[1 reply] : Yes, you need an interpreter. Or a more sophisticated approach: the c... (by Necip)
Professional c++ projects&Tutor
 
Hi!i am Daisy May and i am from United kingdom.I can make expert level c++ codes for your school ,co...
[no replies]
Writing out numbers in spelled out format
 
I have to write a program that takes a number from 0 to 4 in spelled out format and converts it into...
[9 replies] Last: I did it like how Bingocat4 suggested (for the "Three" or "THREE" case... (by DragonOsman)
Determining no. coins from counting each type of coin
 
As the name says, I have to write a program that tells you how many coins there are by taking the nu...
[no replies]
by lin123
pointers
 
Assume you have the following layout of the memory. What is the output? Write your answer within the...
[5 replies] Last: Could be? Do you know what post-incrementing a pointer does? Take a lo... (by Zhuge)
Pages: 123... 38
  Archived months: [mar2016]