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)
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...
[9 replies] Last: so it would be like C:___/____/____/ the __ are blanks fyi not an act... (by Grust697)
delay-loaded dll
 
I have a debug .dll build that uses libcurl to send HTTP requests, all working fine. With the rel...
[3 replies] Last: If it's a Debug vs. Release problem, then one possibility is it's diff... (by Ganado)
BMR Calculator for chocolates
 
I'm somewhat new to programming and have been assigned to see how many chocolate bars it would take ...
[no replies]
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)
Intermittent ifstream::read()
 
I am creating a little project to help distribute a language as a standalone exe. It works by having...
[10 replies] Last: In most cases probably not, but since if it doesn't read exactly the n... (by DreamingInsanity)
memcpy
 
Hello, does this function memcpy only copy from src to destination. For instance if the src is an ar...
[3 replies] Last: note also that it has the 'pointer issue'. consider struct foo { s... (by jonnin)
by scaar
Shared pointer and copy constructor
 
Hello to everyone. I would like to create a general function that is able to print some info that co...
[7 replies] Last: You could use multiple inheritance. Something like this with my origin... (by dhayden)
Rearranging words in a string?
 
I'm just wondering if it's possible to use getline(cin, string) in some way so if the user were to i...
[2 replies] Last: #include <iostream> #include <string> #include <vector> #include <sst... (by lastchance)
by Deng
How to wait in C++?
 
Is there a simple way to code a one-second "pause"? Just like time.sleep(1) in Python: import tim...
[9 replies] Last: Try this, it's a slight adaptation from https://stackoverflow.com/ques... (by againtry)
HELP WITH SWITCH STATEMENT c++
 
Can anyone help me with this? I would first like to say I don't just want the answer so please at...
[3 replies] Last: You have an enum which means you can use Burger and Fries as numbers. ... (by zapshe)
HTTP client GET request
 
I'm trying to make a HTTP client, to send commands to a radio software over HTTP via localhost if ...
[12 replies] Last: @kbw thanks for the help, I had a manic moment with libcURL trying thi... (by lostdog)
by Shizzy
simple calculator crash fix?
 
Hello and sorry in advance if this isn't the correct place for this. I'm very new to C++, I'm in col...
[3 replies] Last: Thanks for the help! The cin.get was exactly what I was missing. Sorry... (by Shizzy)
How exactly would you make a wordcount program?
 
This is proving to be much more difficult than I thought. It has to count words by spaces and senten...
[6 replies] Last: As your "words" are meant to be separated by whitespace, why not just ... (by Duthomhas)
trying to make a simple console text editor
 
hi, i'm new here, and i have been trying to make a text editor on c++ since yesterday, because i'm h...
[11 replies] Last: What I was alluding to earlier was that if you're writing your own OS,... (by AbstractionAnon)
program c++ with two function to check if the tree (semtrical +identical)
 
I just created program with two functions to check if the tree is symmetric or the trees are identic...
[4 replies] Last: Don't you know what the result should be? (by seeplus)
exec + fork
 
What will be the result of this code? Explain this line (exec ("/usr/bin/gedit")) int main ...
[5 replies] Last: That line executes the program /usr/bin/gedit. What does gedit do? I ... (by dhayden)
Can anyone help create a limit of guesses for my code?
 
I am trying to limit the number of guesses in this random number guessing program to 5. I have every...
[3 replies] Last: Oh I see how to fix it now. Thanks for the help! (by coder3124)
Pages: 123... 9
  Archived months: [jul2021]