General C++ Programming - January 2009 (Page 10)

MFC problem
 
hi all, could someone help me to make a mfc program that shows what is on a harddrive with treewiew and listwiew controls? i have no clue how to do it so any he...
[3 replies] Last: is there any basic guide to mfc on this site i searched for it but i c... (by deathevan)
#define value
 
The code: #define ARTSHORT(obj) \ char *stuff = ""; \ char *art = (obj)->article; \ char *des = (obj)->description; \ char buf ; \ snprintf(buf, s...
[9 replies] Last: if you want define a new funtion ,you can use: #define struck datatyp... (by roodtree)
function template prototypes
 
how do i create a template function prototype such that i do not have to define it everytime before i use it?
[10 replies] Last: I did give an example in my second post. (by helios)
Converting a String to A Character
 
Hello everyone. I am trying to convert a string to a character so that I can use the output file stream (fwrite) to write the characters from the string to a ne...
[3 replies] Last: Your code is very strange. You've used a combination of C (FILE*) and ... (by Zaita)
Depicting a project's scope.
 
I am currently working on a project which is growing rather quickly, and I'd like to keep people a certain group of people informed on its growth and new featur...
[6 replies] Last: If you are looking to show project progression, displaying code to non... (by Return 0)
A simple problem that is not simple for me...
 
Write a program which estimates cos x for θ=0, 1, 2, .....45 degrees using the recurrence relations for cos x. For each θ , include the sum of the first 30 te...
[3 replies] Last: http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
operator functions
 
Is it possible to define an operator function for fundamental types? I'm asking because there are some operators (like ",") which don't have a use with fundamen...
[2 replies] Last: On the topic of operator overloading and templates, see also http://ww... (by Corpus)
qns on default file modes
 
from here it says that: http://www.cplusplus.com/doc/tutorial/files.html For ifstream and ofstream classes, ios::in and ios::out are automatically and respec...
[4 replies] Last: The problem is actually that that paragraph shouldn't really be there,... (by helios)
Sockets
 
Hi! I need some way of using sockets so that I can compile my stuff on Linux and Windows with gcc without building any libraries such as boost or asio before. T...
[1 reply] : Write the linux and Windows code yourself, and just use #IFDEFS to hav... (by Zaita)
which is most popular sql server used with C, C++
 
hello everybody, I want to know which is the most popular sql server used with c and c++(oracle,mysql,microsoft sql server,db2, sybase or some other) and whi...
[3 replies] Last: WxWidgets has an ODBC library, so does QT. Both of these are multi-pla... (by Zaita)
by DodoCS
Binary trees trouble
 
First of all this is an assignment, i am in my second year in Computer Science and this assignment is due on midnight which is 6 hours more or less.i know i am ...
[1 reply] : Your Function calling is not right ..... void BuildTree (bintree *... (by grey127)
by pkjena
MS Access database connection using C++
 
Hi, i want to write an application using pure C++ code. Here i'hv to use MS Access as Database. So all database functionalities ( i.e adding,retrieving,modi...
[2 replies] Last: you've asked that there http://groups.google.fr/group/comp.os.ms-wind... (by george135)
sqlite3 in dev-c++
 
Hi, I've been searching for days now and I still can't seem to find out how to do the following: I am creating a simple program that needs to make a simple sql...
[3 replies] Last: The easiest way to use sqlite3 is to download the amalgamated source c... (by kbw)
by ziwei
Function fibonacci when n>93
 
I have a problem with function fibonacci when n>93.The value after that is incorrect.I use unsigned long long or unsigned __int64 to identify the variable...
[4 replies] Last: hello zewei why don't you divede the resust by the linked list ,lo... (by roodtree)
Debugger and Destructor
 
Hi, I am calling a destructor because I want to replace a duplicate branch and free the memory in a C++ program. In the program I did not use placement new b...
[2 replies] Last: you dont need to use a different debugger just make sure that do no... (by surender)
HTML Parser in C++?
 
Anyone can tell me that where exists some third-party wrapper classes for manipulating HTML? I found one in CodeProject.com but it depends on MFC. I need ...
[2 replies] Last: Try tinyxml, you can use it for html pretty easily. It's a bit...odd.... (by demosthenes2k8)
LINK : fatal error LNK1561: entry point must be defined
 
compile error... it's even a miracle if i DONT have any error's compiling my code... whatever. What's the problem this time? I can't see the error through all ...
[3 replies] Last: You can safely ignore that linker warning. The problem is most like... (by helios)
by itstud
design... program... using asterisk (*)...
 
will you pls help me create a program which outputs this picture using asterisks... kinda looks like this... http://www.codeguru.com/forum/attachment.php?at...
[2 replies] Last: http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
small error needs correcting
 
Hi I have created the following program for a public library, but I am getting an error. My Code is shown below: #include <string> #include <iostream> #...
[4 replies] Last: http://www.cprogramming.com/tutorial/string.html (by Zaita)
Windows Forms Applications
 
I'm trying to make a Windows Forms application but I cannot find any good tutorials on how to use code that I used in my console applications. For example: ...
[2 replies] Last: If your trying to lean windows forms. There are heaps of tutorials on ... (by Zaita)
January 2009 Pages: 1... 891011
  Archived months: [dec2008] [feb2009]

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