General C++ Programming - June 2011 (Page 12)

by same7n
problem with my active code any help?
 
hello every body i have a problem with my active code i cant solve it when i active user the bdemo.sh doesnt wriet the n line to newcamdlist in dream and no mes...
[10 replies] Last: my friend do u have e-mail? (by same7n)
a pointer to a pointer to a ...
 
Hi, I was just wondering how can I continue this code? #include <iostream> int fun(int***** a) { return *****a * 2; } int main() { int a = 1; int* b = &...
[12 replies] Last: [quote=Yours3lf]with that you basically did nothing, Sums up this wh... (by Disch)
ESP corruption
 
I need to use a function in an OBJ file for which I don't have the source code. This function is poorly written and corrupts the stack (The value of ESP was not...
[4 replies] Last: Would it be possible for you to look at the disassembly and figure out... (by helios)
How to create a manager class for other classes.[Urgent]
 
Hello! guys I want to make class which can be used to create a collection of other classes. For example I have a class Image, now i want to make a class which...
[3 replies] Last: Mathhead200 is right, these are linking errors. Method definitions s... (by Computergeek01)
by timmy
reading selective data from a file
 
#include<iostream> #include<conio.h> #include<fstream> #include<string> using namespace std; int main() { string name; int roll,marks,i; of...
[4 replies] Last: >.< Bubble sort fail... (by mcrist)
cannot convert from (__thiscall ) (void) const
 
I have the code: #include <iostream> using namespace std; //Pointer to class member class X { public: int visible; void print() const { co...
[6 replies] Last: @kbw Tnx! I don't understand what exactly did you do 'cuz i'm a beggin... (by kataxxx)
A Small Error, A Big Annoyance
 
I'm receiving this error: Expected a declaration It's not the most helpful error message in the world, I know, but that's the only error I'm receiving. I kno...
[10 replies] Last: Oh, for fu- Why are you wasting our time with this? If the compiler sa... (by helios)
program to read a string and prints its length excluding spaces
 
#include<stdio.h> #include<string.h> #include<iostream.h> #include<conio.h> int main() { clrscr(); char astr ; int length,len=0; cout<<"\n Enter a str...
[3 replies] Last: There are a lot of errors in your code and most of the code is not nee... (by mcrist)
question
 
hello guys i have question. i make and game on visual studio 2008 and i need, program to make it .exe for people can't see the writing program. how do i ...
[8 replies] Last: The "Release" directory right besides "Debug". (by hamsterman)
by bacpp
enum code
 
hi, I am encountering compilation error due to enum....here's the relevant code in a class Options: class Options { public: enum Type{Put=-1,None=0,Call=1}; ...
[8 replies] Last: thx very much L B, I was missing the private MyOption :: Type type_ ; ... (by bacpp)
Static variables and recusive functions
 
I want to write a function which will be run recursively while at the same time work on a single array. However, I don't want the argument list to look messy, s...
[13 replies] Last: Line 7 is a definition for function bar() . Line 2 is a declaration f... (by LB)
by local
C++ DLL # BEGINNER QUESTION #
 
can someone help me solve my problem. I have a C++ program and i created a DLL out of it. I have another C# forms application, and i added the DLL as 'add r...
[1 reply] : If you created your Dll in unmanaged code, you can't add it as a refer... (by majidkamali1370)
.mid handling in C/C++
 
Hello! I'd like to handle .mid files in my C/C++ program. In particular I should be able to extract one track from the .mid file and elaborate it (change it...
[2 replies] Last: http://libtimidity.sourceforge.net/ But it's mainly for playback. You ... (by helios)
Files not linking properly
 
I should have just started with the files broken up and gone from there, but I thought it would save time to just write them all in one file. I built, compiled,...
[1 reply] : And the Menu Driver: // INCLUDE FILES #include <iostream> #incl... (by mommabear)
memset Implementation
 
Hi everyone, I was thinking of implementing memset.... but got stuct ... Here is the code that I wrote ... #include<stdio.h> void my_memset(void *ptr,int x,...
[1 reply] : You can't. Passing void * means giving up any chance of ever finding o... (by helios)
memset Implementation
 
Hi everyone, I was thinking of implementing memset.... but got stuct ... Here is the code that I wrote ... #include<stdio.h> void my_memset(void *ptr,int x,...
[no replies]
Unknown Enumeration List Definition
 
In the sourceannotations header, I've come across this enumeration list definition which puzzles me: enum SA( AccessType ) { SA( NoAccess ) = 0, ...
[4 replies] Last: Hmmmm...I never noticed that macro. Then why did Go To Definition ta... (by closed account zb0S216C)
Calculate max value of variables
 
How can I calculate the max value of variables. Let's say I have three different variables which are later assigned and is there some command which will order t...
[11 replies] Last: ok, non-deterministic sounds quite scary when you are sorting perha... (by kfmfe04)
by maruf
c++ binary search on string
 
#include <iostream> #include <vector> #include <algorithm> using namespace std; vector<string>vec; int main() { vec.push_back("10"); vec.push_bac...
[1 reply] : binary_search only returns a boolean, so you won't get a position from... (by hamsterman)
Please help
 
Can some one help me solving this In this assignment,you’ll write two functions: one which reads a file and uses the information from the file to create a...
[3 replies] Last: well perhaps you should consider a new career then? Professionally ... (by bigearsbilly)
June 2011 Pages: 1... 1011121314... 28
  Archived months: [may2011] [jul2011]

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