General C++ Programming - November 2009 (Page 7)

TCP Chat Client
 
I am writing a TCP chat program that uses clients and a server. I have got the server, however I am ...
[4 replies] Last: I'm not a Windows programmer; I speak only to the POSIX standard and ... (by chrisname)
Why are the assert calls causing compile errors?
 
The following code seems fairly simple. I must admit that I don't remember ever using the assert fu...
[3 replies] Last: Ok, thanks. I'm using a green hills win32 compiler. It seems like it... (by kempofighter)
by malyo
cout crash problem
 
Hello, I'm not at all experienced in C++ so I need your help for this strange problem I have. I hav...
[8 replies] Last: for better programming you should always check the return values or as... (by writetonsharma)
Recursion countdown
 
I need to write a program that when a user enters a number it counts down til blastoff. I need it to...
[2 replies] Last: Thank you very much! That helped a lot! (by spazamatic2)
Multithreading using Singleton
 
Folks, I have an impression that the Singleton design pattern should be avoided in multithreaded cod...
[5 replies] Last: One more issue that comes to mind is whether you feel like you have to... (by kempofighter)
Irritating segfault.
 
Prepare yourself for the most retarded segfault ever: char* get_manufacturer(const char* vstring) ...
[14 replies] Last: Lol, really? It just prints on the same line? I'm guilty of having don... (by chrisname)
How to create function parameters
 
Hi, I am having some trouble creating parameters to a function. As it stands, a header file contain...
[3 replies] Last: You aren't passing any parameters in the new call. It looks like you a... (by Zhuge)
by mar11
c & cpp
 
Hi all could the compiling of c and cpp source files cause any problem durring the compiling, bu...
[7 replies] Last: Because files are included before a source is sent to the compiler, du... (by helios)
by mar11
executing a program
 
Hi all, i have some trouble by executing one program... say, i have compiled 5 source files and...
[1 reply] : The number of files is not significant. What's in them? (by kbw)
Pass a stl set by reference problem
 
Hi guys, I'm having a (probably) stupid problem... Here is my scenario: set<myClass> myset = ...
[3 replies] Last: Well, thanks for the help..... I said it was a stupid problem! =P M... (by fsgeorgee)
by jdmay
error LNK2019
 
I have the following code: # include <iostream> # include <iomanip> using namespace std; using s...
[3 replies] Last: you are missing & in the .function declarations. Also, built in typ... (by writetonsharma)
Programming problem
 
I am having problem figuring what my next step should be concerning this program I am writing. I am...
[4 replies] Last: #include <iostream> #include <cstdio> #include <iomanip> #include ... (by writetonsharma)
question
 
who can help me to write acode to know friends numbers in a range that user enter
[2 replies] Last: ?? ... (by writetonsharma)
where is my problem??
 
2. A Teddy Bear Picnic This question involves a game with teddy bears. The game starts when I give...
[1 reply] : You need to fix all of the weird tabbing to make your program more rea... (by kempofighter)
Please run this
 
i am supposed to come with a output *** **** ***** ****** ***** **** *** for entering 3 and...
[5 replies] Last: WOW! The difference in speed of these two programs is incredible :O (by mcleano)
by jcylam
how to declare pointer for this? thanks
 
// Get screen resolution long Screen_Res_X = GetSystemMetrics ( SM_CXSCREEN ); //Screen size in ...
[6 replies] Last: you can, but it doesn't do what you think it does/want it to. (by jsmith)
extra bytes being written to a file
 
It's been a while since I used the cstdio library. Is there something wrong with this code? For so...
[2 replies] Last: Ah, yes. That's it. Thanks Disch. (by kempofighter)
by aaliya
how to open .pdf files richedit in c++ builder??
 
hi, how to load the files in other formats like .pdf, .doc in richedit in c++builder. if any...
[1 reply] : Use COM Aut. (by george135)
why my functions bring garbage collections (1,2)
 
Queue Operations Enter -1 to finish 1 2 3 4 -1 The constructor is template <class DataType>...
[29 replies] Last: Sorry, I have 2 week with this problem, I am very thank for all of you... (by olove05)
C to C++ converter
 
hallo every one , ( sorry for my bad English ). i need someone to give a direction (books , how-t...
[1 reply] : Those tools generate valid C++ code. (by helios)
November 2009 Pages: 1... 56789... 16
  Archived months: [oct2009] [dec2009]

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