General C++ Programming - July 2009 (Page 8)

File Input reads last line twice
 
Ok so I have a file that contains one-double-per-line entries & I know how many lines I have from an...
[7 replies] Last: Alright gotcha. Another nice shortcut. After using the suggestions the... (by Ludicrous)
pure virtual destructor - compilation error
 
Compiler gives error - 1>BridgePattern.obj : error LNK2019: unresolved external symbol "publi...
[2 replies] Last: Thanks very much. Solved the problem. (by n4nature)
How to create static library in C++ .net 2008 and call it from VC6
 
Hello, I want to create a static library using .net 2008 Framework 3.5 and export a function. In...
[1 reply] : Perhaps you'll have better luck on a .NET forum. (by helios)
Event mechanism
 
Hello all there, I am newbe to unix programing. I want to implement event mechanism just like ...
[3 replies] Last: It's pretty obvious how it might be done in C/C++ on Windows. They ma... (by kbw)
by arnon1
Cleaning up containers of pointers
 
Hey. I'm relatively new to the forum. Anyway, I've been trying to cleaning up the containers of poi...
[4 replies] Last: I do not have time checking your code thoroughly, but you would double... (by Robertlzw)
Simple Interpreter (1,2,3)
 
Hey guys, Does anyone have an example of an interpreter (pure C/C++) which can work out some basi...
[48 replies] Last: I've had no luck. Is anyone able to take a stab please? (by jbrooksuk)
by muzhe
Naming output file
 
Hi, Please have a look of the code below: #include <fstream.h> #include <iostream.h> #include ...
[7 replies] Last: In this link are listed some: http://www.cplusplus.com/forum/articles/... (by Bazzy)
Problem on 'new' & 'delete' in C++
 
Hi all C++ expert,I'm new in this field.I've written a program but I need to write it using class. I...
[3 replies] Last: Hey mrHappyPants and wmheric, I have solved this problem and also mark... (by sdmahapatra)
by jolly
MS Visual C++ 6.0 addin
 
Hi to All, I'am creating a addin in visual c++ 6.0.On my add-in,I would like to get the path of t...
[no replies]
user input - lowercase mixed with uppercase
 
okay another beginnerC++ question... Can someone compile my code below to figure out my problem ...
[3 replies] Last: hey thank you guys very much. helped me out A LOT. truly appreciate ... (by xiikryssiix)
network programming
 
Could anybody recommend a fundamental c++ network programming book to learn things such as TCP/IP an...
[1 reply] : Try this TCP/IP Illustrated, Volume 1: The Protocols (Addison-Wesle... (by kinley)
Want to program inventory databas for movie theater
 
Hey guys, not sure if this is the right forum to post this on but here goes nothing... I work at a s...
[1 reply] : Um... Sounds to me like you need to go and take a closer look at your ... (by helios)
Bitfields Unexpected Output
 
I have a code that goes like this: typedef struct _point { int x:2; int y:2; }Point; ...
[2 replies] Last: Classical sign extension bug. x can only contain two bits, to which... (by helios)
by nikoz
Does strtok lead to memory leak??
 
Hi All, I've been exploring the string library with particular interest to tokenising. Below is...
[6 replies] Last: Turbo C is an old 16-bit DOS program generator -- meaning it runs in t... (by Duthomhas)
submit value to ostringstream does not work
 
//!> Convert Int, Real etc. to string template<typename ty> string VTKWriter::convert(const ty val...
[7 replies] Last: Of course, you can always use left-hand comparison. And, of course, yo... (by helios)
by hen
can't convert from double to int
 
Hey, is there anyone that would be willing to look at my source code for a program I am trying to wr...
[7 replies] Last: All right. Thank you. (by hen)
by fiska
how to close threads from the loop
 
By plaving around with the code, a new issue has arrised, see the code #include "MyApp.h" ...
[no replies]
How to create static library in C++ .net 2008 and call it from VC6
 
Hello, I want to create a static library using .net 2008 Framework 3.5 and export a function. ...
[no replies]
Why does my program return single precision results?
 
Hi all, I have an extensive program package for scientific purposes, too big to post anything here....
[4 replies] Last: The way to obtain results up to a given order N is totally determined ... (by Coleman Silk)
Bulk write to a file
 
Hi, I have some huge data to be written to a file. So instead of writing line by line, I want to ...
[1 reply] : Why do you want to write all the lines at the same time? The best sol... (by Bazzy)
July 2009 Pages: 1... 678910... 14
  Archived months: [jun2009] [aug2009]

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