General C++ Programming - May 2009 (Page 9)

What type of cast to use
 
Hi all! What is the appropriate cast to use in tine 5? #include <stdio.h> #include <string.h> ...
[3 replies] Last: char character = {0,0}; character = the_character_you_want_to_... (by Disch)
More than 64 Winsock Sockets?...
 
Hey... I am working with Sockets at the moment to create a small chat program. But i read about a...
[5 replies] Last: yes thats what i said.. i will go with what the above posts said.. ... (by writetonsharma)
what the meaning of * in C++
 
//-------------------------- struct RateInfo { unsigned int ctm; double open; }; struct MqlStr ...
[2 replies] Last: big thanks to GREY WOLF it really help ~~ (by chiwing)
writing a binary file
 
Hi, i'm working on a little compression project. I wanted to ask you how could i put my compressed d...
[15 replies] Last: Ok, I changed everything using <fstream> library instead of <stdio.... (by Tarnish)
by wretch
refactoring C++
 
Does anyone have any experience with good C++ refactoring tools, either open source (preferably) or ...
[1 reply] : There are only two that I know about . Visual SlickEdit (commercial) a... (by PanGalactic)
by nanger
about member class object
 
if there is a class object which is a member of another class i.e class in {.....}; class...
[1 reply] : Yes. Moreover, you can specify which constructor will be called with ... (by helios)
by JacKal
UTF-8 in DEV-C++
 
Hi everybody! I would really appreciate any help on this. I have googled for an hour without a re...
[6 replies] Last: can you really write "я" in Dev-Cpp ? I can't write unicode character... (by ganjaman73)
my first project
 
hey friends i have got my first project as follow: IT Enabled interaction system. A system through...
[2 replies] Last: Not enough info. "On login": does that mean when you log into the o... (by Hammurabi)
by hicks
Running average
 
Hey I was told to find a running average using this code to find the radius of a circle. any idea on...
[no replies]
Reading in doubles from a text file
 
Hello, I currently have a text file I call num.txt which contains 0.0016 So just one numbe...
[10 replies] Last: double d; scanf( "%lf", &d ); http://www.cplusplus.com/referen... (by Duthomhas)
by Denis
own operation system
 
Hi folks, As I think a lot of developers dream by own OS. Maybe we can do it together ?
[1 reply] : up up up (by Denis)
by nanger
to define a derived class or modify the original class
 
I want to modify a class in a software. the class is class Chunk { ChunkID c_id; ///< The ID...
[2 replies] Last: And another example. Please see in function print(). It wasn't modifie... (by Denis)
Recursion in C++
 
I'm a java programmer and I really can't find my coder error. I have a normal recursive method ...
[6 replies] Last: void SPBruteForce::getSPAll(Vertex *e, Cycle *c){ Cycle *b = n... (by Denis)
Splitting string based on Delimiters
 
hi, i need a solution. I have a string which contains some thing like string str = "my , name...
[2 replies] Last: inline std::vector < std::string > split(const std::string &s, const c... (by Denis)
sorting a vector of pairs:
 
i am sorting a vector of pairs. and the pair is pair<int,char> when i am sorting the vector, it is...
[4 replies] Last: Your function does not match your initial requirements because it does... (by jsmith)
Calling in files
 
How do i code a search through my working directory in order to use a switch case so that i can disp...
[1 reply] : switch only works to compare an integer to a static number of options,... (by helios)
static Data Members initialization
 
hi every body......... There are two ways (I know) to set the members I tried both but none has ...
[6 replies] Last: }; HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); I'm so... (by vbnetskywalker)
Is this performance gain possible?
 
I have an application I'm working on which does a lot of data processing. It's threaded, and the num...
[4 replies] Last: 128 is already way too much, but 50k? Still, it's an interesting ex... (by Hammurabi)
XML files with C++
 
Hello all Are there any in-built functions in C++ to manipulate xml files? If yes, which ones? W...
[9 replies] Last: libxml2 ( http://www.xmlsoft.org/ ) and libxml++ ( http://libxmlpluspl... (by PanGalactic)
Syntax Highlighting
 
Who has a complete non-mfc source code of an example or a software that forms syntax highlighting? I...
[1 reply] : There are a lot of open source apps that do it. Search the 'net. (by jsmith)
May 2009 Pages: 1... 7891011... 17
  Archived months: [apr2009] [jun2009]

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