[try Beta version]
Not logged in

Beginners - December 2021 (Page 6)

Having trouble with getting a correct value from my return function
 
Hi, I am having trouble with getting the correct return value from the function I have typed. The va...
Dec 6, 2021 at 3:32am
[3 replies] Last: that makes so much more sense! I can't believe i didn't notice that i ... (by ssha422)
by jannin
String
 
Where is my mistake? #include<bits/stdc++.h> using namespace std; int main(){ string...
Dec 5, 2021 at 9:47pm
[3 replies] Last: [quote=jannin]Where is my mistake? (1) You haven't put your code in c... (by lastchance)
WinInet HTTPS Post Request?
 
I need to send data with POST method to a php page. The site has SSL (Let's Encrypt) Here's my ...
Dec 5, 2021 at 9:10pm
[9 replies] Last: I'm not sure, but it's possible that "HTTP Debugger" intercepts the HT... (by kigar64551)
.
 
...
Dec 5, 2021 at 4:51pm
[2 replies] Last: Perhaps as a starter, something like: #include <iostream> #include ... (by seeplus)
by rin103
vector<> function whale_talk
 
I think I do not fully understand vector function. I don't know what's going on during for loops par...
Dec 5, 2021 at 9:02am
[6 replies] Last: Thank you so much! (by rin103)
Simple stuff... for the life of me can't see where I went wrong
 
Hi, Trying to do the simplest of simple c++ project importing from a file, and loading the contents...
Dec 5, 2021 at 7:08am
[7 replies] Last: Okay, I'll give that a try. Many thanks. (by Thunderchook)
Across Apps and Sites.
 
For my class work assignment, I had to write a code that has two functions and an array that does th...
Dec 5, 2021 at 1:45am
[3 replies] Last: good eyes. ^^ (by jonnin)
Question about memory management and pointer owernship
 
Hello everyone, I am trying to comprehend the concept of how pointers know who they are pointing a...
Dec 5, 2021 at 1:13am
[5 replies] Last: I am trying to comprehend the concept of how pointers know who they a... (by jonnin)
Code completely ignoring my if statements
 
My aim with this program is for votes to only be recorded if the value is any number from 0 to 4 and...
Dec 4, 2021 at 10:25pm
[1 reply] : Be aware that, for a "while" loop, you need either: while(condition) ... (by kigar64551)
by sito20
Displaying an error message using IF statement
 
Good Day, I'm writing a program that prompts the user for two integers, and then proceeds to print ...
Dec 4, 2021 at 8:10pm
[7 replies] Last: Salem C, Alright, thank you. I'll work on these conventions now, early... (by sito20)
by Durin
Competitive mathematics C++ sources
 
Hi everyone, I am preparing for a C++ exam which will include tasks like: How to check if any nu...
Dec 4, 2021 at 7:52pm
[5 replies] Last: bool isDiv16( int n ) { return !( n & 15 ); } (by lastchance)
by jlb
Isstream & ofstream.
 
Are you sure the input file contains the correct data? Have you checked if the input file is even b...
Dec 4, 2021 at 5:26pm
[2 replies] Last: After ifstream(), add something like: if (!fin) return (std::co... (by seeplus)
Multiple input/outputs.
 
Hello, with me is an assignment where am to create a code that can receive 10 grades and then give a...
Dec 4, 2021 at 5:21pm
[2 replies] Last: Do you mean something like this: #include <iostream> constexpr siz... (by seeplus)
Void * func(void* arg)
 
I need to understand the meaning of the following function. To me I think I think It means that the ...
Dec 4, 2021 at 4:14pm
[4 replies] Last: Passing arguments as void* is used in MPI all the time - but you have ... (by lastchance)
I can't solve make a sort of strings
 
#include<bits/stdc++.h> using namespace std; int main(){ string s,t; cin>>s>>t; ...
Dec 4, 2021 at 2:36pm
[3 replies] Last: I think I'm with @ne555 here. @nurrun1, please state your ORIGINAL pro... (by lastchance)
Recursion
 
Hello, I have been disturbed by the fact that I can’t make my program do a reading of the recursiv...
Dec 4, 2021 at 1:54pm
[1 reply] : Please use code tags when posting code so that the code is readable! ... (by seeplus)
Error codes.
 
Hey guys, am currently being kept busy by a specific problem that has been so hard to solve. My ques...
Dec 4, 2021 at 1:51pm
[2 replies] Last: > C2676 - binary '>>': 'std::ostream' is the error code that am receiv... (by ne555)
using additional header and implementation files in a project with ‘header-imp-class’ configuration.
 
My project is making use of a C++ file in the main function. I also have a header that am using in d...
Dec 4, 2021 at 1:48pm
[1 reply] : > Header.h 5 Since line 4 would seem to be #include "House.h" havin... (by salem c)
Visual Studio very strange "hello world" error (1,2)
 
Hi! I've just installed Visual Studio Community 2022 witch C++ package (not everything, just 4GB)....
Dec 4, 2021 at 11:02am
[33 replies] Last: TEST1 (as a global variable known at compile time) and TEST3 (by manda... (by lastchance)
Formatting a 2d array output
 
Hey yall, so this is one of the last things I should do for my project and I can't seem to come up w...
Dec 3, 2021 at 11:27pm
[3 replies] Last: Thank you AbstractionAnon, your idea worked, I also had to remove the ... (by dorito200)
December 2021 Pages: 1... 4567
  Archived months: [nov2021] [jan2022]

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