General C++ Programming - May 2011 (Page 2)

Stack error in char array
 
Hi: I have a socket client running which has a char array of size 512 mentioned. I have a loop to...
[1 reply] : Does RecvData() put a zero at the end of the array? If not, line 13 wi... (by helios)
by bcppny
using own libraries / Borland CPP Builder 5
 
I want to create and use my own libraries using Borland CPP Builder 5. I prefer to allways make s...
[2 replies] Last: I wonder why this is necesssary. I do not add other libraries to my ... (by bcppny)
Run Time with Lambda Function
 
I apparently changed something (maybe a compiler setting?) other than what is shown here and that...
[7 replies] Last: Thanks for the responses. Sorry for the long delay. This is a side p... (by robitussin314)
Classes Problem
 
I cant really understand why im getting a ambiguous error in line 97. Can anyone tell me what i did ...
[8 replies] Last: also, why are you calling Fraction.operator*(n,d); overloading ... (by closed account zwA4jE8b)
Create Your Own file stream
 
Hi Every One this is my first post :) I was wondering if there is a way to create my own file str...
[3 replies] Last: Why don't you read the source code of boost::filesystem? Essentially ... (by kev82)
error LNK 2005... struct already defined....Please help
 
I'm getting this error... 1>drive.obj : error LNK2005: "struct info h" (?h@@3Uinfo@@A) already defi...
[1 reply] : Duplicate thread; see http://www.cplusplus.com/forum/beginner/43932/ (by Moschops)
Understanding Memory Addresses and Variables
 
I'm confused. When I read about how variables are stored into memory, they said that the memory loca...
[8 replies] Last: I think the only part of that actually mandate by the C++ standard is ... (by Moschops)
SMTP Library
 
Hi, I am looking for a smtp library with SSL/TLS support for Windows. Although I have search the ne...
[2 replies] Last: I am doing this because compiling these libraries using VS would not ... (by writetonsharma)
by Wanher
GEOMETRIC SHAPES (GRAPHICS)
 
Hello! Friends i want to made a project using c++ graphics in this i want to show some geometric s...
[3 replies] Last: And don't be put off if it's a pain to get started with it. Just downl... (by anonymous23323124)
Problem with Calculation
 
Hey guys , i have a small problem regarding calculation in c++. Here is an example below int m...
[2 replies] Last: When you say "normal calculator", I'm guessing you mean non scientific... (by anonymous23323124)
Sorting
 
Hey guys have a small problem. I have this code where i need to write a function. This function, ...
[1 reply] : Why do you have two loops? For a list of n things, there are n-1 conse... (by kev82)
system() question
 
im trying to learn all the different things u can put in the ()s in system(). an example of one wou...
[4 replies] Last: couldn't you just set it up to autorun firefox and whatever else? ... (by bigbass1997)
by cookie
I need help parsing!!!
 
So im trying to make a simple drawing program that reads in (translate (rect 10 10 10 10) 50 50).......
[3 replies] Last: what if i dont know the input? What do you mean by this? what i... (by shacktar)
create graphic elements in program
 
Hello, I'm trying to create a graphic element in program with dynamic memory allocation, I just fini...
[6 replies] Last: C++Builder's framework is called VCL. I know that I have to delete w... (by Athar)
Trigonometric functions
 
Hi There, I am using this program to find values of some trigonometric functions. However, when I...
[5 replies] Last: It worked. Thank you very much CreativeMFS and Moschops. (by sanehatter)
cosine graph
 
I am still new at programming and I am working on a assignment to draw a cosine graph. I have most o...
[11 replies] Last: I got it now. Thank you all for your help. (by stretch)
Strange GLUT ptoblem.
 
Here is the code i'm trying to run: void Minecraft::display(void) { glClear(GL_COLOR_BUFF...
[7 replies] Last: The problem is that the glutMainFunc(display); isn't working, i do thi... (by halvors)
by LB
Templated Template Specialization?
 
Is it possible to template a template specialization, eg to have 'sub' template parameters for a spe...
[10 replies] Last: You could: template< typename T, size_t N > class MyClass; templat... (by jsmith)
Returning self as a property Costum Class
 
is this possible. (Pseudo-code) class myclass { int a; int b; } ... myclass a;...
[4 replies] Last: If you want to use it often in more than just cout and printf you migh... (by LBEaston)
by atomen
Libsndfile Problem
 
Hello! I've been recently trying to learn some sound programming and everything that revolves aro...
[4 replies] Last: SNDFILE sf = NULL; if((sf = sf_open(soundFile, ... (by Disch)
May 2011 Pages: 1234... 32
  Archived months: [apr2011] [jun2011]

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