Beginners - December 2014

Help need! on effective dictionary
 
I want to do> when final output have 1 char repeated more then 3 times that generated line ignore an...
[no replies]
Stuck at a codejam question.
 
Hi fellas, actually I was practising some google code jam problems. And I got stuck at this question...
[2 replies] Last: Actually, after reading the question a little bit more carefully- I re... (by abeginner23235616)
What am I missing
 
Alright so I've attempted to complete two problems from this site one of which I'm done with(The sma...
[1 reply] : i would like to count the zeros this way: for(int i=1; i<=N; i++) { /... (by anup30)
Trying to erase elements within a vector
 
The program asks for the users favorite games, then to add, remove, or finish the list. I can't figu...
[1 reply] : http://www.cplusplus.com/reference/algorithm/find/ // using std::fin... (by anup30)
whats wrong here??
 
Cannot fix this error. Help!! Line 7 shows the error as a comment. #include <readline/readline.h>...
[5 replies] Last: As previously requested, please show us readline.h (by AbstractionAnon)
by r0bot
fibonnaci in variable sized array
 
Dear forum, I'm trying to make a fibonacci numbers generator with variable size of Array. The code ...
[8 replies] Last: @Spikerocks101: What you wrote does not need a separate function: int... (by keskiverto)
dynamic multidimensional arrays in ctor
 
hello, I need to create a dynamic 2D-array in a class. Here is my idea: class GameOfLife { p...
[1 reply] : // 2D dynamic array #include <iostream> using namespace std; void se... (by anup30)
func - 2 dim - sum outer cells
 
what is the wrong ? #include <cstdlib> #include <iostream> int sum (int a ,int s); using n...
[1 reply] : First of all you should re-study how to write and call a function... Y... (by minomic)
does anyone know how to create the delete function?
 
does anyone know how to create the delete function? i tried many ways and i cant make it. #inclu...
[7 replies] Last: what do u want to delet? (by rabi ansari)
Printing the Tic Tac Toe Board Correctly
 
Hello! I hope you are having a fantastic day. Do not mind the functions playerOneWin() and playerTwo...
[1 reply] : your question is not clear... (by rabi ansari)
Relational Operators
 
I know the following code that you will see is probably the ugliest thing that you have ever seen. I...
[2 replies] Last: Gosh. Thank you so much. Best, Jae Kim (by jhykima)
Checking if the numbers are arranged.
 
Merry Christmas! I am attempting to check if the numbers provided by the user is in numerical order ...
[11 replies] Last: Or you can use what Duoas suggested, std::is_sorted(), which I was not... (by Code Apperentice)
Help with io/fstream
 
Is there a way to read a file for only '#' chars and store them in an arrayWall , and do the same f...
[2 replies] Last: Thanks Aceix! Duoas' version of gotoxy() works only on windows That... (by Sanction)
Proof read code for improvement
 
Hi, I know re-inventing the wheel is not something that's popular but I just wanted to create basic ...
[4 replies] Last: Made the changes. Glad that there weren't more mistakes. Thanks for yo... (by codeman123)
by spatio
Changing Identifier Names en masse
 
Say I have a snippet I want to use, except I want different names for identifiers. VS will highlight...
[1 reply] : Yes, like most applications Visual Studio also supports find/replace u... (by naraku9333)
Array error: too many initializers
 
I don't use arrays a lot so I apologize if this is a very simple question. I want to create a const ...
[1 reply] : Value in double quotes is a null-terminated string; an array of charac... (by keskiverto)
Help
 
Hello guys. For example you are opening some kind of program whit ShellExecute. How you should write...
[3 replies] Last: @ OP: I'm about 90% sure that you're asking about Inter-Process Commun... (by Computergeek01)
Unused value
 
Help needed, getting this error when trying to compile: In function 'int negamax(board, unsigned ...
[4 replies] Last: I can comment the arithmetic if-expression out of my function. It can ... (by pacman169)
Functions like isgraph()
 
I have a method 'replaceStrChar' which replaces ',' by a space and ')' by 'U'. This method is called...
[no replies]
December 2014 Pages: 123... 55
  Archived months: [nov2014] [jan2015]

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