[try Beta version]
Not logged in

Beginners - November 2020

BlockOut2 to an online editer/compiler?
 
-- Hi. Can this open source BlockOut2 code, be set up in an online editor/compiler? https://s...
Nov 30, 2020 at 11:37pm
[13 replies] Last: Hello. I need help to set up this open source code , on Visual Studio... (by jlivingstonsg)
Is there a limit of array size?
 
Write your question here. This sample of code works fine. int main() { const int m = 10...
Nov 30, 2020 at 4:44pm
[6 replies] Last: some compilers also have flags to make the stack size larger. It still... (by jonnin)
by Enrike
make files and linking: empty objs
 
Hello there! I'm writting a make file to create a static lib.a then an upper level make file links t...
Nov 30, 2020 at 1:33pm
[1 reply] : Bump. (by Handy Andy)
by Borneq
How use/store lambdas?
 
Is many examples how to pass lambda to standards methods like std::sort: #include <algorithm...
Nov 30, 2020 at 10:41am
[3 replies] Last: Re lambdas, see https://leanpub.com/cpplambda (by seeplus)
ADT and Linked List implementation using C++
 
hey, can someone help me with add a code on show all the carrymarks and show the highest carrymarks....
Nov 30, 2020 at 9:53am
[2 replies] Last: Apart from syntax issues, the first main issue is: void push_quiz(S... (by seeplus)
by ronnn
C Programming - Mutex Ignored?
 
Hey all! This program I have been working on is supposed to spit out a 16-bit circuit checker over m...
Nov 30, 2020 at 9:34am
[1 reply] : I'm not sure what you are trying to do there, but take a closer look a... (by coder777)
the console/cmd has no response
 
Hi,i am a beginner to C++ and have just written a program to get the lowest common multiple. It work...
Nov 30, 2020 at 8:33am
[7 replies] Last: Hello seeplus, thank you,too. You and Andy let me learn a lot. king... (by kingdom)
Trying to find the difference between two vectors
 
What I'm attempting to do is to get two files, the 'raw data' txt file and the 'excel' txt file. I...
Nov 29, 2020 at 10:15pm
[2 replies] Last: Yep, that was it! Thank you so much. (by KittyIchigo1)
C++ try/catch/throw
 
Hi, I have tried to understand try/catch/throw principle but right now i think i need someone to tw...
Nov 29, 2020 at 4:13pm
[11 replies] Last: If you want to use try/catch, note that the try/catch argument can be ... (by seeplus)
Editing a big file in C++
 
I would like to know if there is a simple way to edit a binary file without rewriting it all or load...
Nov 29, 2020 at 1:39pm
[4 replies] Last: I found the solution, opening file with: std::ofstream f{ _fname, s... (by ArtigoOne)
C++ main and sub programs
 
Hi, My problem is that the data requested in the main program is not passed correctly to the sub pr...
Nov 29, 2020 at 12:57pm
[2 replies] Last: I understand, i will explain better next time. This problem solved. :)... (by Scorpia)
half dia pattern c++ reverse
 
How can I like reverse this pattern? to look like this? https://imgur.com/a/TGlvIvK #include <...
Nov 29, 2020 at 11:32am
[2 replies] Last: #include <iostream> #include <iomanip> int main() { size_t col {};... (by seeplus)
Trying to remove certain parts of the line, but I keep getting errors
 
I have a file that contains lines that look like this: uniquemember: uid=vojk,ou=people,dc=cms,d...
Nov 29, 2020 at 11:24am
[3 replies] Last: Hello KittyIchigo1, You could try this: while (getline(infile, data... (by Handy Andy)
by chipp
-nan(ind) error message
 
i was just trynna make a test prog that accepts parameters from main() , but when i run the prog, t...
Nov 29, 2020 at 5:36am
[2 replies] Last: [quote=seeplus]std::cout << calc(atof(argv ), (char)argv , atof(argv ... (by chipp)
2d array and stack
 
Hello. I just need some advice/tips/helps . I wanna create an 2d array (in servedCustomers fuction...
Nov 29, 2020 at 2:16am
[4 replies] Last: A stack is a 1D container, so what is the advantage of transferring yo... (by deleted account xyzzy)
Pig Latin Strings
 
Hi coders. hope you're having a safe thanksgiving everyone. I got another good one. Here is my code ...
Nov 28, 2020 at 2:03pm
[4 replies] Last: Thank you everyone, everything is working great! (by Frank5093)
by PCD
Given an integer, disclude a digit to get the maximum value of the difference.
 
Problem. Given an integer, disclude a digit to get the maximum value of the difference. eg. input/...
Nov 28, 2020 at 2:01pm
[1 reply] : For an n-digit number, you only have n possibilities of which digit be... (by Ganado)
by yvez
Random array picker not working the way I wanted, send help
 
I made a "Guess the secret word game" in a do-while loop but every time you try again the secret wor...
Nov 28, 2020 at 1:06pm
[4 replies] Last: It is solved now, thanks to Handy Andy now I know I need to seed the r... (by yvez)
How to skip over a few words to reach the last part of a string line?
 
Hello! Thank you in advance. I'm a bit stuck right now - I have a file that reads like this: b23p...
Nov 28, 2020 at 10:58am
[3 replies] Last: bool readData(List& L) { ifstream fin ("dadexcel.txt"); if (fin.i... (by seeplus)
Error with vector and calling function
 
Hello, I am trying to complete a problem from the programming principles and practice book, in which...
Nov 28, 2020 at 10:39am
[11 replies] Last: bool checkLegalUnits(std::string unit, std::vector<string> legalUnit... (by seeplus)
November 2020 Pages: 123... 14
  Archived months: [oct2020] [dec2020]

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