General C++ Programming - December 2013 (Page 23)

solution for a maze*****important*****
 
/*This program should find a solution for a maze that is taken from an input file and take the entrance coordination and find the path to the exit.It doesn't wa...
[no replies]
by gudeh
Class with a vector of obects as an attribute
 
Hey there, I'm having the same problem as the guy in this topic: http://www.cplusplus.com/forum/general/23091/ Though, my vector isn't one of int, it is a v...
[3 replies] Last: class preco {}; //this first class produto {}; // now this class esto... (by gudeh)
Please help with game
 
Game crashes at line 95 any ideas on why? #void guessword(string word) { // Initialize variables char letter; int position; //Creaye st...
[4 replies] Last: AFAIK it is hash tag , hash , pound sign , pound , number sign, or nu... (by giblit)
by aeorcr
Pointer to Char
 
Hi everybody. I have a little problem with pointers, i understand them but i dont know how to do this: I have a pointer to an Address is there a way to ...
[5 replies] Last: #include <iostream> #include <string> #include <cstdint> #include <ss... (by JLBorges)
can't control the table alignment
 
hi, i want the function to display all accounts deposit list to work properly, what i mean is that the table coming has its contents here and there . i want...
[11 replies] Last: 1) Don't call main(). Ever. For any reason. 2) Don't post all day mo... (by Mats)
by Ceset
SDL_LockTexture
 
hi guys i m ashamed to ask you such a favor but i couldnt get it and need help. so i m here. this is the example code i work on at http://lists.libsdl.org/pip...
[no replies]
by jackf
application crash
 
Hi, When I am using memcpy my application getting crashed I have used memcpy like below char *data; //it has some data content int dataLenth = some_lengt...
[3 replies] Last: here dataLength and lengthOfData are same consider that.. No, leng... (by fcantoro)
i need help otherwise my teacher fails me.
 
hy everybody.i need help,my teacher give me project e-diary and i don't know how to make it in c++,i am a brillent student but i have a seroius problm in progam...
[5 replies] Last: Sorry it's Monday, but I was trying to be helpful to you. Show me your... (by SamuelAdams)
Is there a third party licensing & activation product that will allow me to setup my program as a subcription?
 
I have a program written in C++ that I would like to take to market. I would like to set it up so that it will "phone home" and see if the license key is active...
[no replies]
extracting polynomial coeffincient from string
 
I want to extract polynomial coefficient out of a string recieved by input, for example if i enter 4x^3+2x^4+3 , the resulting out put be : 2 , 4 , 0 , 0 , 3
[10 replies] Last: alighasemi72 wrote: it is a personal intrest in solving this ... (by condor)
by Nouf
Maximum size of vectors
 
Hi, I have a vector of vectors declared as: vector<vector<int>> v; My program works fine with a small number of insertions to v. However, with a huge n...
[6 replies] Last: Thanks for the replies... I meant by stops execution, the program doe... (by Nouf)
Exception Handling
 
catch statement is an Exception handler. After handling the exception, it is supposed to resume normal execution, but there is no return from catch to try blo...
[2 replies] Last: The code resumes normal execution from the point where the error was ... (by MikeyBoy)
Visual Studio 2013 C++ application release doesnt work on other PC's
 
Hey, I am trying to release my C++ app to run on desktops that dont have VS installed and have created an install shield app to install on the desired comput...
[1 reply] : In your project settings you can change the required runtime libraries... (by coder777)
pointer pointing to null still executing
 
in the below program for both class pointers pointing to null. Class contains normal function executing but class contains virtual function getting segmentation...
[1 reply] : Okay let's try to figure this out. A *pA=NULL; // this means it actu... (by Glandy)
Lots and lots of pointers to structs!
 
Hi all This is just a curious question If i have nested structs that need to be accessed like this inside a function... struct1->struct2->struct3->data_int ...
[4 replies] Last: Ahaha, getting tips from the veteran than :P Cheers for replies, im a... (by SuperStinger)
Prime number factorization
 
Hey everyone! I was wondering if someone could help me fix two of my algorithms. I am trying to factorize semi-prime numbers by using a brute force method an...
[1 reply] : The fun about algorithms is that you sometimes think your brain is ble... (by Glandy)
by Nouf
Vector of Vectors is not sufficient
 
Hi, My program enters the size the of the vector from the user and then creates a vector of vectors (lets say SIZE1). In addition the user enters the number ...
[3 replies] Last: I found the maximum size that a vector cannot grow beyond... its 2G on... (by Nouf)
Deleting largest node in BST tree?
 
How would I delete the largest node in a binary search tree recursively???
[1 reply] : Add some code and maybe I can help more (by mattballj10)
Pointer problem
 
Hello guys, I am trying this thing about pointer since a few days but still couldn't figure out. Guess I could use some help, thanks in advance. Here is the...
[2 replies] Last: If you don't want to overwrite x and y then you have to created anoth... (by aswasif007)
Help with setting the maximum and minimum numbers in a series
 
Okay, so, I need to write a program that not only calculates the minimum and maximum, but also calculates the average and the difference between the largest and...
[1 reply] : take the "std::" out (by mattballj10)
December 2013 Pages: 1... 2122232425... 37
  Archived months: [nov2013] [jan2014]

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