
please wait
BlockOut2 to an online editer/compiler? |
-- Hi. Can this open source BlockOut2 code, be set up in an online editor/compiler? https://sourceforge.net/projects/blockout/files/blockout/BlockOut%202... |
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)
|
by Alex12361
Is there a limit of array size?
|
Write your question here. This sample of code works fine. int main() { const int m = 10000000; int n = 10; int arr ; return 0; } ... |
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 together all the static libs. The project is structured in se... |
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> #include <cmath> void abssort(float*... |
Nov 30, 2020 at 10:41am
[3 replies] Last: Re lambdas, see https://leanpub.com/cpplambda (by seeplus)
|
by hakmaabdul
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. and also, it got lots of error on it. #include <fstrea... |
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 multiple threads. However, whenever I run the program it only... |
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)
|
by kingdom
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 worked all right but the console/cmd has no response if you inpu... |
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)
|
by KittyIchigo1
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'm trying to compare all the unique IDs from the raw data fi... |
Nov 29, 2020 at 10:15pm
[2 replies] Last: Yep, that was it! Thank you so much. (by KittyIchigo1)
|
by Scorpia
C++ try/catch/throw
|
Hi, I have tried to understand try/catch/throw principle but right now i think i need someone to twist the iron wire with me. Here is the code: start: ... |
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)
|
by ArtigoOne
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 loading it in memory. For example if I want to modify from by... |
Nov 29, 2020 at 1:39pm
[4 replies] Last: I found the solution, opening file with: std::ofstream f{ _fname, s... (by ArtigoOne)
|
by Scorpia
C++ main and sub programs
|
Hi, My problem is that the data requested in the main program is not passed correctly to the sub program where the data is printed. The whole code is one bi... |
Nov 29, 2020 at 12:57pm
[2 replies] Last: I understand, i will explain better next time. This problem solved. :)... (by Scorpia)
|
by seghrein2300
half dia pattern c++ reverse
|
How can I like reverse this pattern? to look like this? https://imgur.com/a/TGlvIvK #include <iostream> using namespace std; int main() { int trev... |
Nov 29, 2020 at 11:32am
[2 replies] Last: #include <iostream> #include <iomanip> int main() { size_t col {};... (by seeplus)
|
by KittyIchigo1
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,dc=gov uniquemember: uid=p2o9,ou=people,dc=cms,dc=gov etc. ... |
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, test with below input: test_cpp calc 4 * 3 it display err... |
Nov 29, 2020 at 5:36am
[2 replies] Last: [quote=seeplus]std::cout << calc(atof(argv ), (char)argv , atof(argv ... (by chipp)
|
by ldrgrim
2d array and stack
|
Hello. I just need some advice/tips/helps . I wanna create an 2d array (in servedCustomers fuction) that will store the value of stack(customerServed)and prin... |
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)
|
by Frank5093
Pig Latin Strings
|
Hi coders. hope you're having a safe thanksgiving everyone. I got another good one. Here is my code so far (down below). It's having an issue with "searching yo... |
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/output 12345/1234 12398/1238 Hi, from input, I solved outp... |
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 word changes. It worked but, My problem is that every time I st... |
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)
|
by KittyIchigo1
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 James Bond 2/19/17 5/20/20 5/21/20 11/27/20 FALSE Ad... |
Nov 28, 2020 at 10:58am
[3 replies] Last: bool readData(List& L) { ifstream fin ("dadexcel.txt"); if (fin.i... (by seeplus)
|
by DonnaPin
Error with vector and calling function
|
Hello, I am trying to complete a problem from the programming principles and practice book, in which i need to accept different numbers and different unit measu... |
Nov 28, 2020 at 10:39am
[11 replies] Last: bool checkLegalUnits(std::string unit, std::vector<string> legalUnit... (by seeplus)
|