General C++ Programming - November 2011 (Page 5)

Grid of Clickable buttons
 
I'm trying to write a GUI for a battleship game for class and am running into problems with the Win API and such for C++ on Visual Studio 2010. My issues: 1) I...
[2 replies] Last: Visual Studios form generation was my starting from, so: #pragma once... (by jongscx)
unresolved external errors-in bag::sort program
 
I am to write out a bag.h and bag.cpp and test if it is working correctly. I did this with two other testers and it compiled perfectly however when I try this o...
[2 replies] Last: //-------------------------------------------------------------------... (by teachMePlease)
Help please
 
How do i make my own software without a other companies software like most of you would probly say download dev bloodshed c++ or code blocks, Well how do i make...
[1 reply] : How do i make my own software without a other companies software ... (by Disch)
Reading and right to the same file
 
Just registered on this forum and could use some help please.I'm working on a program that out puts programming advice from a text file and then allows the user...
[3 replies] Last: If you think the answer is OK, mark it as solved! (by samusamu)
what is a efficient way to iterate a vector from and end and remove items?
 
Hi, I tried to iterate a vector and delete item if certain condition met. Is this an efficient implementation? Any comments? Thanks for the help Chris ...
[3 replies] Last: @chrisben sorry, it's O(n) moves/copies for std::remove_if because i... (by Cubbi)
Building up to creating my first project/application
 
So I'm looking to eventually be able to create a windows application which will be a solar system integrator (i.e. orbits of the planets). It would be a GUI (t...
[no replies]
by forums
encryption techniques
 
can someone advice me where to learn encryption methods
[no replies]
error while doing array with function
 
#include <iostream> using namespace std; void getExtremes(float& min, float& max, float a , int n) { min = max = a ; for (int i=1; i<n; i++) if (a ...
[8 replies] Last: thanks for ur help !! (: (by lanceTCT)
by zurn
Deleting a char within a string subscript
 
Hi If I have an array of the size x with strings inside. And if in one subscript I have the word "and-", how can I find this dash, and remove it? Thanks.
[3 replies] Last: http://www.cplusplus.com/reference/string/string/erase/ Oh, and for f... (by webJose)
Embedd dll.
 
I want to embed a pre-existing DLL into a compiled C# executable (so that you only have one file to distribute). If it is possible, how would one go about doing...
[5 replies] Last: Thanks to all) (by JonnyDepth)
Problem with isaac during compliation
 
Since I first posted this in the beginners section, but was recommended to try a different section, ill just copy/paste what i had there. When ever i try usin...
[6 replies] Last: The first problem is in the header you are including. If you look at i... (by bbgst)
Tree traversal help
 
I want an algorithm that lists out the nodes of a binary tree in level-order. Listing the root, nodes at depth 1,nodes at depth 2, and so on using array or link...
[no replies]
what does this function ask
 
Job *j remove( int fromWhere) Removes the fromWhere 'th element and return a pointer to it. Note that if fromWhere > length-1 , then nothing is removed and NU...
[7 replies] Last: And I really hope this is not the indentation "standard" you use for y... (by bbgst)
preferable way to return a vector?
 
Hi, all - This isn't so much a "how to" question, as a matter of "good" programming technique. I have a class that produces a series of values when I call...
[18 replies] Last: I just re-read your earlier post: In general, best practice is for t... (by mzimmers)
Homework-Need Help
 
Its is a written programme and we want to add a cursor that can be moved by using keybord. and when we move it, we will be able to hit the falling objects when ...
[8 replies] Last: I was under the assumption that that was his code. And requesting for ... (by ne555)
by iorigl
a function to format std::tuple
 
Here is my code: #define DECLARE_TUPLE_SERIALIZATION_FUNCTION(FUNC_NAME,BEG,SEP,END) \ namespace sjdfsjfyttsaihfah6755jsdf554433356sdf{ ...
[1 reply] : Consider this multipurpose pretty-printer for improvement ideas: http:... (by Cubbi)
Array organization
 
I have a couple of questions, regarding my program: ----------------------------------------------------------- #1: Is it possible to have my table centered? ...
[2 replies] Last: yes you can use structure for that ..and input the values . (by bluecoder)
String functions
 
Hi! I recently had to write a program in which a user would input a file name, and the program would spit out a version of the file name. Specifically, if the u...
[13 replies] Last: Last, I believe your string comparison isn't actual string comparison... (by Peter87)
what is the actual error in this code??i cant run it, plizz help me by teach me how to solve it
 
what is the actual error in this code?? plizz help me //*************************************************************** // HEADER FILE...
[5 replies] Last: You cannot do this way .. unless it is structure . (fp.read((char*)... (by bluecoder)
by barbis
Can i use functions in a delphi dll file in vb6
 
Hello all, i have a dll file where some functions are defined. I think this dll is compiled with delphi language. For example: function LoadRoentecSpec...
[no replies]
November 2011 Pages: 1... 34567... 47
  Archived months: [oct2011] [dec2011]

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