General C++ Programming - December 2010 (Page 19)

Struct and Class Instances
 
I have a problem, I wanted to auto setup the structure members by calling a function. I had this str...
[5 replies] Last: All right, I guess I got it now. Thank you all. (by Kapetozo)
by poona
question on namespace declaration from stroustrup section 8.2.8.1
 
I have a question on namespace declaration from stroustrup section 8.2.8.1 <stroustrup> --Sect...
[2 replies] Last: Then the example he has given is wrong?! (by poona)
writing/reading a vector of objects
 
I have this class below class Account { private: string fname; string lname; double a...
[1 reply] : These lines: void save(fstream& infile) void upload(fstream& infile... (by kbw)
by poupik
segmentation fault
 
hi i have a class with a member which is a pointer to an object on the heap. (the object is create...
[4 replies] Last: You didn't get PiMaster's post. Typically, it has nothing to do with ... (by h9uest)
by Aerus
Template class with dynamically allocated memory
 
So i wrote a class that implements a Balanced Tree, the elements in the tree are key,value pairs. So...
[3 replies] Last: hmm I think that function there would not be particularly sensible, si... (by slicedpan)
strange error, any ideas?
 
error MSB6001 This came up in my program, struggling to understand what it means? Any ideas wo...
[2 replies] Last: Check it out: http://social.msdn.microsoft.com/Forums/en/msbuild/th... (by h9uest)
by h9uest
C++ map VS Java hash map
 
Hi, folks: My friend and I have HUGE amount of text data to deal with. Now we decide to read i...
[5 replies] Last: To all: thank you guys, the problem has been solved. I switched to has... (by h9uest)
My head hurts. N00b Program.
 
I can't even begin to figure this out. I am extremely new to c++ and my math isn't the best yet I'm ...
[1 reply] : Can't you find v from the formula? w1 = w0*(1-v/c) w1/w0 = 1-v/c ... (by hamsterman)
Program creation - chocolate sales
 
Hi, I am a student studying programming and design. I have been given an assignment and I just dont ...
[no replies]
Efficient way to determine longest edge in an image
 
I am working on a set of images, and as an intermediate step, I need to determine the longest edge i...
[1 reply] : Hi, I am not sure if you have the coordinates for each vertex, if ... (by shredded)
precedence of template funtion over non-template function?
 
Hi! It seems that a template-function has always precedence over a non-template function if the f...
[6 replies] Last: Thanks for the proposal, this is what I am currently doing. However, i... (by grabner)
by Sperry
Linking to OpenGL32.lib, and other .lib files
 
Hi, I am having some problems trying to use OpenGL at the moment, and I got these errors when trying...
[1 reply] : Don't worry, I managed to fix my errors. Problem solved. (by Sperry)
Threading : boost::python and python
 
Hi all, I have a problem with integrating between c++ and python (using boost - python library) ...
[no replies]
by red463
New Programmer Job
 
Hi all!! Nice to be here, I have joined a Software corp recently as a programmer, the thing is th...
[7 replies] Last: Based on my working career, I spent about 75% of my time maintaining l... (by sohguanh)
by Nuc
Beginner Program
 
#include <stdio.h> #include <iostream> #include <conio.h> #include <Windows.h> void lossfun...
[11 replies] Last: std::cin.getline(heroname, std::cout, std::cin); This is wrong. ... (by Disch)
find the minimum or maximum value in a column of a two dimensional vector
 
i want to find the minimum value of a column in a two dimensional vector.. is there an easy way to ...
[4 replies] Last: Oops, I didn't even notice that you said columns. If each inner vecto... (by jimc)
Error LNK2019: Unresolved external symbol
 
class NumDays { private: double hours; double days; public: //constructor that assign...
[6 replies] Last: Try to run them and take a look whether the result is what you expect.... (by b2ee)
Cannot open multiple instances of a program I wrote
 
Hello, So, I've been trying to make one of my program open separate instances of another program I ...
[5 replies] Last: There was a website with some example and it used the loop, but your m... (by lonewolf1991)
Random error
 
Can anyone spot this error? //PAGE 1 CLASS #include <string> #include<iostream> #include<cmath...
[1 reply] : You're trying to assign a double to a string. This won't work by just ... (by slicedpan)
Program without window
 
Hi... I'm trying to make a program that works with no open window or terminal in Ubuntu, using C++.....
[2 replies] Last: Linux doesn't use the <windows.h> API. What you are trying to do is... (by Duthomhas)
December 2010 Pages: 1... 1718192021... 24
  Archived months: [nov2010] [jan2011]

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