[try Beta version]
Not logged in

Beginners - September 2021 (Page 2)

by Rongo
iterating through a linked list
 
I am creating a spell checker that uses a dictionary in a linked list. I also have a book fin anothe...
Sep 27, 2021 at 6:11am
[2 replies] Last: Read the words in the dictionary file into a list (std::list), if you ... (by JLBorges)
c++ beginner - input name using struct
 
This is the description of the practise im doing. Write a program that reads peoples’ names and a...
Sep 27, 2021 at 4:17am
[4 replies] Last: ah, its a political survey! (by jonnin)
for triangle
 
I want to put the square in between the triangles to create a star, I don't know where to put my cod...
Sep 27, 2021 at 2:59am
[1 reply] : These kinds of homework work best when you get yourself some graph pap... (by Duthomhas)
Error when iterating through template function with char
 
The for loop I'm using in the header file of a school project doesn't seem to be working. There seem...
Sep 26, 2021 at 7:41pm
[1 reply] : Show the code that called it. Your error message is clear as it stand... (by lastchance)
swap c++/ reference
 
Is really necessary to use reference variable when create function to swap elements like below! ...
Sep 26, 2021 at 7:34pm
[6 replies] Last: a pointer is a lot like a reference, but a pointer is NOT a reference.... (by jonnin)
How to store something in a string without user input?
 
Hi! I am working on another project, and got stuck...again. This time, my problem is that I want to ...
Sep 26, 2021 at 4:18pm
[6 replies] Last: Thank you so much guys, this was super helpful. (by BeginnerCoder123)
Sentinel Value and If statements
 
Hello! I am a beginner coder and I am stuck on sentinel values. The problem is that I cannot get the...
Sep 26, 2021 at 1:39pm
[3 replies] Last: Thank you so much guys, this was very helpful! (by BeginnerCoder123)
by nvadam
If within for loop, 'if' not activating
 
I have an input of one integer from 1 up to 100(lets call this N). Then another N number of boolean ...
Sep 26, 2021 at 1:31pm
[3 replies] Last: yepp seems like it was nothing to do with this loop.. thanks i worked ... (by nvadam)
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) { ...
Sep 26, 2021 at 9:09am
[6 replies] Last: It would be more usual for Quit to be an option on the menu - rather t... (by seeplus)
HTTP GET winsock
 
Small HTTP client console app trying to understand GET requests. It always connects every single tim...
Sep 25, 2021 at 8:18pm
[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...
Sep 25, 2021 at 4:12pm
[2 replies] Last: but is it that you don't know how to code the c++ stuff - or don't und... (by seeplus)
BMR Calculator for chocolates
 
I'm somewhat new to programming and have been assigned to see how many chocolate bars it would take ...
Sep 25, 2021 at 3:40am
[2 replies] Last: A bit of helpful advice.... PLEASE learn to use code tags, they make... (by deleted account xyzzy)
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...
Sep 25, 2021 at 1:19am
[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...
Sep 24, 2021 at 11:30pm
[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...
Sep 24, 2021 at 8:30pm
[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...
Sep 24, 2021 at 5:12pm
[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??
Sep 24, 2021 at 3:46pm
[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...
Sep 24, 2021 at 2:30pm
[4 replies] Last: It can do something that surprises us; the program may engender undefi... (by JLBorges)
by Milnk
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 ...
Sep 24, 2021 at 2:30pm
[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...
Sep 24, 2021 at 11:57am
[3 replies] Last: It could be just the implementation, and nothing to do with your envir... (by kbw)
September 2021 Pages: 1234... 7
  Archived months: [aug2021] [oct2021]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.