General C++ Programming - June 2009 (Page 11)

To access class methods without creating its object.
 
Hi, Dear all Normally when we want to call method of any other class we need to create its obj...
[4 replies] Last: Here is the article on this site about namespaces. It has the examples... (by Zhuge)
by minix
how to remove Unused Varibale... :(
 
Hi, I am facing a problem in my project.In my project, i have a lot of .C,.Cpp, and .H files. ...
[5 replies] Last: As I recall, it's run in the same way the compiler is. So it should b... (by kbw)
Implementing an InheritsFrom function
 
I have been looking everywhere for this. I use Borland C++ Builder, and part of the functionality of...
[2 replies] Last: In Aspect Oriented Programming, this is called a Cross Cut. You may w... (by kbw)
what constitutes good programming practise?
 
other than meaningful variable/function/class names? I seem to lose marks on design in school even t...
[3 replies] Last: I have some advice, at least on creating reusable code. When you de... (by jsmith)
Vista
 
Why OS Vista may close my application? On OS XP it's all fine! This is client-server application. ...
[4 replies] Last: Does a Debug built version also crash? Have you installed your dev ... (by kbw)
X button interception
 
I'm trying to intercept the signal when a user clicks the button to exit the program. I'm almost ...
[5 replies] Last: you have to write this: case wm_close: //your code here break; ... (by writetonsharma)
Codebook for opencv
 
The only things i understand about codebook is that it can be used to build a more complex model of ...
[no replies]
cvConvertScale (opencv)
 
Can help me please?? I am confused with cvConvertScale. I understand that cvConvertScale(IplImage* s...
[no replies]
Inheritance in Templates
 
Hi, I have a very basic question. Does compiler while compiling template classes (template expan...
[1 reply] : Why don't you make an example and see? (by closed account S6k9GNh0)
assertion failure on isalpha()
 
Hey I'm attempting to debug my program in Visual Studio, but I keep getting an assertion failure whe...
[5 replies] Last: well according to the error the assertion comes from line 56 of istype... (by Archie243)
Serialize sdt::map without boost
 
Can I serialize STL map<string, string> at once to a binary file and read back from the same?
[6 replies] Last: To write a string object, you will need to string str; // Stri... (by jsmith)
templates compile time error
 
I am writing a generic wrapper over STL priority queue class as follows template <class TBLOCKT...
[1 reply] : It's because all of your typedefs are making the problem harder to see... (by jsmith)
block type is valid
 
Hello everybody! Program error! Help me please. So, I have a list of files. I need to move them ...
[1 reply] : sorry, I think this code is not reference document. Question still ope... (by SpbJimbo)
Memory
 
My project use too much memory. I use _CrtMemCheckpoint( &s2 ); _CrtMemDumpStatistics( &s2 );...
[4 replies] Last: thanks. it's solved) (by SpbJimbo)
Changing from <string> to <cstring>
 
I came across a problem that I used to <string> to solve, apparantly i was jumping the gun and im su...
[no replies]
Recognition of filestream
 
Hey all, within a class of mine, I construct a class for reading like this WordStream::WordStream...
[2 replies] Last: It sounds like you didn't declare inFile in the first place. In any c... (by helios)
Compile errors using tr1::bind
 
This code: #include <iostream> #include <algorithm> #include <tr1/functional> using std::ostr...
[2 replies] Last: also, why aren't you just using std::accumulate? std::cout << "The ... (by jsmith)
by sonix
byte order, hibyte, hiword, ...
 
Hi programmers, I would want teach about byte order, etc., but I don“t found nothing about it... No...
[4 replies] Last: It helps. Thanks for exhaustive post. :) (by sonix)
Generic IO class, socket or file
 
Hi, I am looking for a generic IO class. It shall be able to handle sources and sinks from a sock...
[1 reply] : There are several socket libraries that extend iostreams to provide an... (by bnolsen)
want to initialize pointer dynamically using map
 
this is my header file ITECH7603Class.h... #ifndef ITECH7603CLASS_H #define ITECH7603CLASS_H #i...
[9 replies] Last: Thank u mate...!!!! It is really helpfulll....!!! Thanx for all ... (by whatsup)
June 2009 Pages: 1... 910111213
  Archived months: [may2009] [jul2009]

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