Beginners - May 2019

c# code understanding(or c++ translation)
 
public class Pair { public int Count; public int Length; } public...
[1 reply] : 1 I will illustrate the algorithm with an example. Assume we have m ... (by iamnone12)
Failing to build leptonica for ARM
 
So I wanted to start working on application for my android. The application includes tesseract-ocr. ...
[5 replies] Last: It appears there is a specific fork of Tesseract for Android https:/... (by Niccolo)
Identify multiple generated buttons
 
I am creating static fields 'Page' and buttons 'G' on click of a button '+'. So the fields 'Page' an...
[2 replies] Last: @bchinfosieeuw, your question is basically why everyone will tell you ... (by Niccolo)
by cba
Weighted edges of a graph
 
You are given a weighted tree T and an integer MAXW . You have to count the number of weighted graph...
[3 replies] Last: > I have tried making mst from given tree the mst of a tree is the tre... (by ne555)
Sorting Algorithms and Visual
 
Hello. I need a visualization program for sorting algorithms (bubble sort, quick sort and selection ...
[1 reply] : Youtube has plenty of sorting visualizations: https://www.youtube.com/... (by Ganado)
Finding if binary matrix exists given the row and column sums
 
How to find out if it is possible to contruct a binary matrix with given row and column sums. Inp...
[1 reply] : Well that didn't take long to find. https://stackoverflow.com/question... (by salem c)
by ashwyn
Adding Nodes to an AVL Tree in C
 
I'm programming in C and I'm having some big problems in my program that leads me to believe that my...
[5 replies] Last: @ashwyn, In your procedure _balance() , what, if anything, are you do... (by lastchance)
by Bopaki
Learning to use eclipse C++
 
My codeblock IDE have stopped working. When I compile a program it raises the CPU usage to 99% and ...
[5 replies] Last: Thank you all !!!! everything works fine today (by Bopaki)
by qann23
Exact function and Big-O of a segment of code.
 
What is the function class of these 2 codes? I'm thinking O(N^2) for both of them. int mystery3(int...
[1 reply] : O(f(n)) counts worst case behavior; assume n = ∞. All you need to c... (by Duthomhas)
error while compiling.
 
It is Caesar cipher code. I don't know where the problem is. #include<iostream> #include<string> ...
[5 replies] Last: What do the errors say, exactly? Do they look like: In member funct... (by keskiverto)
Banking system
 
So, this is going to get a little complex. I've slowly been building up my banking system and need h...
[9 replies] Last: Make sure the function and its declaration are BELOW the struct: st... (by zapshe)
Return multiple value (1,2)
 
hi there i want to return 2 or more value in function but it's not allowed ! i saw a lot of ways t...
[22 replies] Last: Thank you for your answer, lastchance. (BboyCico, sorry for exploitin... (by Enoizat)
by suprax
Random Numbers won't sorted correctly
 
Hello guys, thats my program source code. The program works with random numbers. You have 3 v...
[6 replies] Last: Thanks a lot @nuderobmonkey! I'll deal with the code to understand ho... (by suprax)
i am at the very very begginning of programming
 
i just wanna know how to use the graphics and all i just learned about sound i need to make a simple...
[16 replies] Last: thanks guys it really means a lot to me thanks for the gaming advice m... (by coderking)
position of struct variable declaration and list initializer
 
Hi, when learning struct, I found that the position of the variable declaration and list initializer...
[2 replies] Last: Code (1) is illegal simply because you can't do logic like making assi... (by Ganado)
by olyaMi
2d vector of different data types
 
Hello! I'm new to c++ and have encountered a problem. Is it possible to create a multidimensional ve...
[7 replies] Last: @lastchance, thank you for the idea! I might go for it. As to my init... (by olyaMi)
Hi. OOP principles !
 
I am struggling to implement a C++ or C# program which contain the 4 principles of Oriented Object P...
[2 replies] Last: I solve it thank you. I decided to only not put encapsulation in the p... (by WalterCC)
not able to link two programs
 
so guys i am trying a lot to link a sound program and a calculating program but i does not work at a...
[7 replies] Last: the answer is in your reply (by coderking)
by GonlyG
while(true) break executing but not other code
 
I have a testing code where I try to cout "got here" when I have a condition and then break out of a...
[1 reply] : In function 'int main()': 11:3: error: 'class std::vector<int>' has ... (by Ganado)
WM_LBUTTONDBLCLK strange behavior
 
I want drawn ellipses to 'disappear' on double click. To do so, the canvas is redrawn, and the nondo...
[6 replies] Last: @dutch I was thinking more of hdcx getting the return value of Beg... (by Niccolo)
May 2019 Pages: 123... 16
  Archived months: [apr2019] [jun2019]

This is an archived page. To post a new message, go to the current page.