Beginners (Page 3)

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...
[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...
[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....
[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...
[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...
[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...
[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...
[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...
[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...
[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 <...
[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...
[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...
[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...
[4 replies] Last: A stack is a 1D container, so what is the advantage of transferring yo... (by Furry Guy)
Pig Latin Strings
 
Hi coders. hope you're having a safe thanksgiving everyone. I got another good one. Here is my code ...
[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/...
[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...
[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...
[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...
[11 replies] Last: bool checkLegalUnits(std::string unit, std::vector<string> legalUnit... (by seeplus)
Keeps saying the function I'm trying to call is not declared in scope.
 
Hello. I'm trying to use some old code for a new project I'm working on, and I'm trying to test if i...
[2 replies] Last: readData is inside the class. so you either need R.readData(R); //thi... (by jonnin)
Нow can i insert the desired character
 
I have such code of definition of the set character but I do not understand how to insert a comma ov...
[3 replies] Last: Thank you for your help. (by chebyrek)
Pages: 12345... 16
  Archived months: [oct2020]

Cannot post in this page. To post a new message, go to the first page.