General C++ Programming - October 2015 (Page 19)

Pathfinding in 2D Char Array
 
Hello i am programming Pacman in console , i am using 2D char array , i want to implement pathfindin...
[no replies]
Trash number on my menu program
 
NEED HELP ON THIS: my program shows trash number #include <iostream> #include <stdlib.h> usin...
[1 reply] : Please edit your code so it's between code tags - http://www.cplusplus... (by TarikNeaj)
An array inside of struct, without knowing the size?
 
hello, so today i came across this little problem. Im trying to make an array inside of struct, its ...
[9 replies] Last: @LB thanks a lot for the help!:) (by matkenis)
by Qub1
Forward declaration being ignored?
 
Hello, I have the below class (which is basically a wrapper for std::vector), and one of the functi...
[15 replies] Last: > a whole lot of new linker errors, all "unresolved external symbol" ... (by JLBorges)
by Sobia
Execution of Preprocessor Directives
 
I want to know about when the preprocessor directives actually execute? Either they execute before ...
[3 replies] Last: You can safely assume that any line starting with # is handled by the ... (by LB)
NA
 
NA
[1 reply] : Please edit your post and make sure your code is [co de]between cod... (by LB)
by Sobia
Essential Statements of a C++ program
 
Actually i want to know about the essential statements of a C++ program without which, the code will...
[4 replies] Last: The second snippet is still wrong, you forgot to prefix endl as std... (by LB)
by IRushR
Manipulate images with f(z)=1/conjugated(z)
 
I have to write a program in c++ or in any other language which manipulates images. http://denesb...
[1 reply] : Use an image processing library for C++ - Google has plenty of good re... (by LB)
Can anyone explain me text justification algorithm?
 
I'm trying to make a good text justification algorithm but I can't get it right. I'm looking for ex...
[1 reply] : This is not a trivial thing to do. Even today, text justification is a... (by LB)
Need help in giving suggestion on my code
 
I'm doing this project here its actually a puzzle game and is require for numbers to be place is a A...
[1 reply] : What have you written so far? By the way, unless you are absolutely r... (by LB)
Connect4ProgramHELP
 
//I have been assigned a project that requires me to make a connect four game. //It must be a 2 pla...
[1 reply] : Have you played Connect4? You can't place a piece at (0,2). You place ... (by kbw)
How to deal with segmentation faults?
 
Hi Guys, I am having some problem with segmetation fault for like 10th times and again not able to s...
[19 replies] Last: I wouldn't write the code like that myself, but I don't see anything t... (by kbw)
Filling up array type char**
 
Hi.. I'm trying to set values of char** which I'm dynamically allocating. Everything seems to go wel...
[4 replies] Last: Yes! Now it works, thank you very much! (by rorschach14)
Populating elements of arrays?
 
Where could I look on figuring out how to populate each element of an integer array with the sum of ...
[2 replies] Last: int roll() { return ((rand()%6)+1); } int main() { int arr ; ... (by rorschach14)
Problem with classes in different files
 
I decided to try putting classes into different files to see how that worked. It didn't work. Whenev...
[1 reply] : Never mind. I found my answer here: http://stackoverflow.com/question... (by Bingocat4)
by rstout
simple OpenGL, but won't draw anything.
 
simple OpenGL, but won't draw anything. Suggestions?? How lucky you are to be reading my very first...
[1 reply] : Someone at opengl.org helped figure this out. I am sending x as an in... (by rstout)
Decryption project
 
...
[1 reply] : follow this , i think its works fine int found = str.find("bar... (by new1)
Just a question about recursive functions, no code.
 
What are different ways of ensuring efficiency in a recursive function? i.e. Prevent calling your re...
[2 replies] Last: One way to prevent recursive calls is to try to partition the problem ... (by dhayden)
double and float ques
 
double v = 3.141592862343; cout<<"double = "<<v<<endl; float w = v; cout<<"float = "<<w<<endl<<...
[3 replies] Last: It was a question...hope not a bad one! (by technologist)
by nEOWP
Library libTIFF
 
Hello! I have next problem: i use library libTIFF for creating file - TIFF. I created 16 - bit greys...
[no replies]
October 2015 Pages: 1... 1718192021... 27
  Archived months: [sep2015] [nov2015]

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