Beginners (Page 5)

Lucky Number Problem
 
Can somebody give better approach to solve this problem?.I am getting TLE. https://www.codechef.com...
[9 replies] Last: [quote=shubhum]can't we just take all multiples of bob lucky number an... (by Browni3141)
by Grime
Will C++ code be compiled differently on different computers? (1,2)
 
Will standard C++ code always be portable? Will something compiled on one system to be very efficien...
[39 replies] Last: Still though do any C++ books talk about how to compile applications ... (by mbozzi)
Create a matrix of size m x n so that the neighbours of each cell have distinct values and the max value in this matrix is min (1,2)
 
Write your question here. Example - if n = 2 and m = 3: 1 1 2 2 3 3 Here every immediate neighbou...
[22 replies] Last: yeah thanks got AC. (by damphy)
kth smallest segment containing a number
 
Question- https://www.hackerearth.com/practice/data-structures/trees/binary-search-tree/practice-...
[4 replies] Last: I am getting so many memory limit exceeded. It's strange. #include<i... (by suyashsing234)
Card Numbers
 
I need to get the Ace to display as either 1 or 11, depending on the score. However I'm completely l...
[9 replies] Last: Referring to your original post: Line 12 & 20: The order of QUEEN an... (by AbstractionAnon)
C++ Game Error
 
Done
[3 replies] Last: @sf1237 I just compiled your code in MS Visual Studio 2012 Express, a... (by whitenite1)
operation "new"
 
What happens when run bellow code? // Example program #include <iostream> #include <string...
[5 replies] Last: A new Foo does three operations: 1. Allocates memory from Free Store... (by keskiverto)
HELP ME - CHEF PIZZA PARTY
 
https://www.codechef.com/problems/PIZPAR I was asked to write a program to find out the maximum n...
[1 reply] : So what is your question? We're not going to write the code for you. (by AbstractionAnon)
Help-Background color
 
Good day I just finished a new design and have a small problem. I want the background-color: 000; g...
[2 replies] Last: Hello Lissandragaren3, I tried your code in an ".html" file and it wo... (by Handy Andy)
Code for Laplace Equations
 
Hello, Can some one please provide me the code for the Laplace equation.
[1 reply] : What have you done so far? Simplest way is to use Gauss-Seidel and so... (by lastchance)
Converting coordinates in text form to an array (or best way to process)
 
The .text file reads something as such: [1,10]-9-Lunamaria [7,12]-3-Decathalon [2,11]-3-Decatha...
[2 replies] Last: #include <iostream> #include <fstream> #include <sstream> #include <s... (by lastchance)
by Repo
Help Please-Lucky Number Game Problem
 
Can somebody help me in this question. Bob and Alice are playing a game with the following rules:...
[5 replies] Last: <vader> I sense a presence in the source, a feeling that I've seen thi... (by salem c)
by opisop
Question Class Constructors, Setters, and Getters. (1,2)
 
I had a question about accepted practices for class structure. As an example I will create a vehicle...
[22 replies] Last: The 3 character idea sounds like a good rule to use. I'll have to read... (by opisop)
HELP PLEASE-A Pizza Slice
 
http://www.cplusplus.com/forum/beginner/248552/
[1 reply] : ... (by Browni3141)
C++ Game with Random number Generator. HELP!!!
 
Here is a guess my number game program. I've been trying to change this program so that instead of ...
[4 replies] Last: Ok, working on it. Thanks you guys! (by Eristato)
2d array row sum
 
I have 2d array 4x5. How can i find average value of each row, and then print out row numbers in dec...
[3 replies] Last: White cream, as a beginner it worth looking over the code and work out... (by Grunalin)
c++
 
#include<iostream> using namespace std; class FirstClass{ public: private: Fi...
[7 replies] Last: You helped me so much. Thanks. (by Mister H)
by Rale
C++ task (prob for you very easy) I just need lift
 
Hello, I have one task that i can't solve. I know that it's not hard compared to other task posted ...
[3 replies] Last: thank you very much helped me a lot cheers! (by Rale)
by Grime
Is there a library for emulating input?
 
What I mean by emulating input is that I can have a program move my cursor and click at locations an...
[11 replies] Last: I want to click a button on a c++ program that will relay the button p... (by Grime)
for if loop
 
I dont understad why this code does not work, it doesnt go through loop, but just prints out 1111 al...
[2 replies] Last: (x = a) should be (x == a) == is used for comparison whereas = is ... (by Grime)
Pages: 1... 34567... 30
  Archived months: [nov2018]

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