General C++ Programming - September 2014 (Page 10)

Working with programming
 
Hi, I have a quick question about working with programming. Since we all know that there are countless ways to write the same program, how does this one's p...
[1 reply] : Will my program be tougher to use for the computer Usually more line... (by MiiNiPaa)
pointer to class member
 
this project is for an embedded micro controller. in the project i wrote a class that generically services uarts. then i declare 6 objects of that class and...
[9 replies] Last: Bind and wrap (freestanding implementation): struct uart { void ... (by JLBorges)
generating sums of rand numbers
 
Hey all, i'm new to coding and trying to understand the basics. Right now I'm trying to create a code that generates random numbers and spits out a sum average ...
[9 replies] Last: awesome thanks a lot! and your explanation made me understand what I w... (by ninjarun)
no system("cls");
 
I ´m trying to develop a really simple word processor / text editor in C++ console. No matter what I have to do, what I´m trying to figure out is: IS I...
[1 reply] : No. http://www.cplusplus.com/articles/4z18T05o/ http://www.cplusplus.... (by LB)
Super confused C++
 
I figured it out :)
[1 reply] : It looks like this person can help you: http://www.cplusplus.com/forum... (by LB)
by Ritik
Books on software building in C++
 
Are there any books that explain the building of a software? I don't mean a book that teaches the basics of C++, but a book that could explain how applications ...
[no replies]
searching vector with maps
 
Currently im creating a simple phone directory. I am having a problem when searching the vector. It only lets me search for the exact key in the directory when ...
[1 reply] : It is not trivial matter. I suggest you to read on Levenshtein distanc... (by MiiNiPaa)
Binary search help
 
need help implementing a binary search on the sorted numbers and then adding a value returning function that finds the mean of the data entered. #include <...
[no replies]
by bebu
.exe has stopped working windows is looking for a solution
 
I am trying to write a program that reads from a file, puts the words into an array counts how many times each word appears in the file, alphabetizes it and the...
[no replies]
help me understand this code
 
recursive codes have an evaluating condition that is checked for exiting the loop, this procedure does not have that and yet it works , iam trying to understand...
[4 replies] Last: oh i see it now . .thanks a lot (by aliyesami)
Heap viewer?
 
Hi, I used a heap viewer to check for memory leaks. I have many of them and its hard to find out where it is not being freed. Is their a way to use the debugg...
[4 replies] Last: Ok cheers (by danielmccarthy)
pointer question?
 
In my game server if I have a Player object and it is stored and pointed to with a shared_ptr in the player handler. Then that player is passed to an Npc object...
[3 replies] Last: Please reply to the original thread.[quote=Krisando]It would crash if ... (by LB)
by joej
Private inheritance multiple times from same class
 
Hi, I've been working on a program that uses a reference counting class that I've written which works fine for objects that inherit from it however I now need ...
[7 replies] Last: Ah ok, thanks! (by joej)
shared pointer dropping?
 
Hi, Is their a way to completely drop a shared_ptr. Then it will delete the memory and NULL all pointers linking to it? Thanks, Dan
[4 replies] Last: Haha thats brilliant! Thanks guys for your help (by danielmccarthy)
Population Calculator
 
Hello programmers. I have a few questions about a program I wrote using Visual Studio Express: This is a homework question, and it does everything that is r...
[1 reply] : [quote=powell80]In a do/while loop. Can you tell it to do multiple thi... (by LB)
Need help with class functions
 
So I have an object of class NRG (Normal Rand Genrator) which takes, as an argument to it's constructor, an object of class RG (Rand genrator). template<typen...
[3 replies] Last: I generally prefer defining things inside the class body because it is... (by LB)
Char*, char[] and std::string
 
I have a question about the above types. There is a lot of complication when dealing with the conversion between these types and many people recommend just usin...
[1 reply] : std::string is C++ only, whereas many APIs are written in C. Conver... (by LB)
by stfu01
Hello! Please help me with "while" statement please!
 
Develop a C++ program that will determine whether a department-store customer has exceeded the credit limit on a charge account. For each customer, the followin...
[6 replies] Last: Uhm , yeah sort of xD Well , can u please tell me how to run a program... (by stfu01)
Black Scholes Loop for Spot/Volatility Values
 
I have the following question: "There are three variables of interest: T - t, S, vol. If T- t is held fixed, one can investigate the near term behavior of th...
[no replies]
heap Implementation in c++
 
hey, I am trying to implement a minHeap data structure in c++. I have made a heap class.But I am a bit confused in completing a function named decreaseKey(int v...
[2 replies] Last: @ Rabindra Hota He is trying to implement a heap data structure, no... (by Smac89)
September 2014 Pages: 1... 89101112... 28
  Archived months: [aug2014] [oct2014]

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