General C++ Programming - January 2011 (Page 9)

DLL Interface for static template array
 
Hello, I'm trying to figure out the proper syntax for addressing a warning I am getting with my p...
[no replies]
Creating Registry Keys Using C
 
Can anyone help me how to do this thing. I'm using Borland C compiler. Please Help me guys. I don...
[1 reply] : Please do not double post. You asked this question a week ago and got... (by PanGalactic)
Convert Double to Char Array
 
Hi, I am having a lot of trouble copying a double value 'x_pos' into a char array 'x_position_str...
[2 replies] Last: I usually use a template function with a stringstream to do this but y... (by quirkyusername)
High resolution cross platform timer...
 
I have some old code that I use for ad hoc profiling of algorithms. It is Microsoft/Windows specifi...
[4 replies] Last: That's good to know. :0) (by closed account z05DSL3A)
working with matrix and header
 
Hi guys! I'm a c++ beginner working on ArcGis derived .asc data, with the follow form: ncols ...
[3 replies] Last: I just try to follow indication, but I have already some problem... I... (by beccotrat)
by ladman
cant get sort program to work
 
Im working on this program for class. I have an idea on were the problem lies, but i dont know how...
[4 replies] Last: i was told it would work with either or. im not sure what the differen... (by ladman)
Hash table
 
I know i can find notes and tutorials on hash functions and hash tables on Google. However all the n...
[3 replies] Last: For a general introduction on how hash tables work, see http://en.wiki... (by softweyr)
Price Manipulation
 
Problem Statement: Price manipulation You are required to create a class in C++ named Price with ...
[2 replies] Last: when i type c++ in google this is the first site that comes up. it wou... (by acorn)
how to merge arrays into one.
 
Hi Guys. Happy new year to all. New semester kick off and program started, so I have a small q...
[1 reply] : in this case temp = ary +10*ary +10*10*ary . to make it loopable you h... (by hamsterman)
by declan
Safe programming practice -- set pointer to NULL after delete?
 
Hey everyone, I have noticed that heap corruption is one of the hardest things to fix. I find a c...
[4 replies] Last: +1 kbw. Use a managed pointer class instead of raw pointers. std::... (by jsmith)
Where do you prefer to declare variables?
 
Do you like having them all in one spot at the beginning of the program, or just declaring them as y...
[7 replies] Last: Yes, I agree -- the reason why you think it isn't very readable is bec... (by jsmith)
by uiiihr
Unsolved problem, don't let it sink: Read huge txt's into memory efficiently? (1,2,3,4)
 
I am using the method below to read a Large space delimited txt files(About 900 Mb). It took me 879s...
[65 replies] Last: About the firs part of the file, I just wrote a little code that shoul... (by beccotrat)
Date class with problems
 
hello, i have create a date class to compare dates, but there is a problem in my code, when i create...
[2 replies] Last: ok... xD thanks, i have actually read that but i didnt realize what i... (by janomichi)
by mals1
dijkstra's algorithm
 
i have a small catch in following code. /* to implement dijkstra's algorithm in c*/ 2 3...
[4 replies] Last: now how do i add a predefined dictionary to my program and add words ... (by mals1)
maximum in its row and minimum of its column at the same time.
 
if there are any element that is maximum in its row and the minimum of the column at the same time....
[no replies]
operator of template class
 
Is there a way to set it up so that the complex class when set = to a double its makes (double,0) ...
[11 replies] Last: Quite right, my mistake. (by kbw)
by gpfs7
formatting
 
I read from a file and am printing to another file this what the printerfile looks like, what is wro...
[no replies]
problem with loading WSDL int Visual Studio 2008 (C#)
 
I was given a wsdl file to create a web service client. When I use VS to load Web Reference, from...
[no replies]
by gpfs7
aborting error
 
when i run this program it asks me for the first file , then when it asks me for the second file i g...
[2 replies] Last: im sort of confused with what your saying, im confused overall with th... (by gpfs7)
Cannot find a way to define my functions..
 
I have a big function problem. I am trying to make a program that writes the user input to a file un...
[1 reply] : You have some brace errors. Functions need to open with {, and close w... (by Zhuge)
January 2011 Pages: 1... 7891011... 24
  Archived months: [dec2010] [feb2011]

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