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 Naqq
Asking a User for Addresses in Arrays
 
I am trying to create an array called block that holds 3 addresses. I need to ask the user for the t...
[9 replies] Last: @Furry, thanks! I didn't know I could do that. And yes, I was about to... (by Naqq)
hi all I am a beginner to C++ and I need some advice for my programme
 
#include <iostream> #include<string> using namespace std; int main(int argc, char** argv) { ...
[2 replies] Last: Learn to use code tags. Here is your code with some changes, I left so... (by zapshe)
HTTP GET winsock
 
Small HTTP client console app trying to understand GET requests. It always connects every single tim...
[8 replies] Last: > thanks, I just didn't understand that recv() could return data in pi... (by salem c)
Begginer need help at homework
 
Hello, this week we just started at school learning basic c++ operations, the theacher is an older m...
[2 replies] Last: but is it that you don't know how to code the c++ stuff - or don't und... (by seeplus)
As someone who never learned a coding language before how do you recommend learning C++? (1,2)
 
Is it possible to learn a low-level machine language like C++ as a first language? Been going at it...
[22 replies] Last: Simple data structures (linked list etc) were covered in year 1. The ... (by zapshe)
BMR Calculator for chocolates
 
I'm somewhat new to programming and have been assigned to see how many chocolate bars it would take ...
[2 replies] Last: A bit of helpful advice.... PLEASE learn to use code tags, they make... (by Furry Guy)
Visual Studio: Opening Windows
 
OK. Weird question. I want to make a program in C++ that can open a exe that the user probably alre...
[15 replies] Last: oops copied the wrong directory haha (by Grust697)
Populating a linked list
 
Hi, Basic question. I'm trying to rekindle my C++ skills and I'm working through online problems. I...
[3 replies] Last: Thanks, I'll give those a try. (by Thunderchook)
int *y = malloc(100);
 
Can someone explain line Nr (9) and what is malloc function? #include <stdio.h> #include <stdl...
[5 replies] Last: if you care, this is C code. C++ usually uses new instead of malloc. ... (by jonnin)
namespace issue with scope
 
Hello, I am a beginner at writing c++. In the code below, I am trying to include this namespace b...
[6 replies] Last: @seeplus ahh, I see, I will add that to the code instead of the int th... (by SemogEnaz)
Inverting modulas???
 
In equaltion, x%3=2 how can i calculate x??
[6 replies] Last: I think its a "remainder operator" not a "modulo operator". Restrict t... (by lastchance)
memory-user.c
 
Can someone write comments on this code to be more understandable #include <stdio.h> #include...
[4 replies] Last: It can do something that surprises us; the program may engender undefi... (by JLBorges)
How to write this as a forloop program?
 
It goes like this, If the input is 5 it should output this. 1.2.3.4.5 2.4.6.8 3.6.9 4.8 5 Any ...
[5 replies] Last: ah, the single loop was not so bad with the extra variable. I was thi... (by jonnin)
by jhw
Attempting multithreading in Windows under MingGW64
 
Hi ya'll I'm' attempting to run a multithreaded process by using std::for_each(std::execution...
[3 replies] Last: It could be just the implementation, and nothing to do with your envir... (by kbw)
delay-loaded dll
 
I have a debug .dll build that uses libcurl to send HTTP requests, all working fine. With the rel...
[5 replies] Last: Thanks all, I'll look into it. (by lostdog)
by T55
Why won't this switch statement work
 
So I've just started making a text based snakes and ladders game in C++ but this switch statement ju...
[2 replies] Last: Holy crap I feel so stupid I was stuck with this for like an hour and ... (by T55)
Debugging A Release
 
Should be a quick one, how do I debug a release? I followed the instructions here https://docs.m...
[3 replies] Last: you can add instrumentation ... that is, put in a global variable(keep... (by jonnin)
HTTP PUT winsock
 
I have this sending a HTTP PUT, it works great as a one time thing WSAData wsaData; WORD DllVer...
[1 reply] : found it I wasn't closing the socket. closesocket(connection); ... (by lostdog)
Pages: 123... 10
  Archived months: [jul2021]