General C++ Programming - October 2008 (Page 11)

scoreboard program
 
Need some help with my c++ program..... the program should look like this: (using arrays) Game # : 1 2 3 4 5 6 7 Total Score: Team 1:...
[1 reply] : Hello, I tried to work through your program but, I have to admit, I... (by int main)
by Atocha
I am having trouble opening a webpage
 
I have been looking online all over and I can't seem to find out how top open a website file, based on the url. All I want is the html file, I only want to be a...
[5 replies] Last: Take a look to this site: http://www.alhem.net/Sockets/ especially t... (by luckybit)
cin and getline issues
 
Ok so im really new at this. Im taking a college class and we are learning c++ right now. Im writing a code and i have run into a snag and i have searched the i...
[4 replies] Last: How are you using cin.ignore()? (by firedraco)
by Tomas
Overloading mess: No matching function for call
 
Hi. I wrote a code similar to this one, for a wrapper application that I needed: #include <iostream> using namespace std; class Client { public: ...
[6 replies] Last: Yes, the virtual table is created if there is at least one virtual fun... (by satm2008)
Double and Long Conversion Problems
 
Ok, let's say I have a double and a long long int, and would like to multiply together. However, I want the result to be in the form of a long long int. Somet...
[4 replies] Last: Got it, thanks a bunch! ^_^ (by firedraco)
by g0dwyn
Progam Design Suggestions
 
Hey everyone, So I have a setup right now where two classes are co-dependent: class C1 holds a list of class C2 objects and performs actions on them, and eac...
[7 replies] Last: @exception: of course. Forgot to put that in the example there :) ... (by g0dwyn)
Printing in nice columns.
 
I need to print some integers in ten nice columns. I can't seem to figure out how to stop the columns at the tenth and continue down a line.
[1 reply] : Use the modulo operator (%) to see if you have output ten items. In... (by Duthomhas)
by lipune
threading
 
what is the use of threading we can do it by simply by calling the function so why we need thread function .can you tell me the right answer plz. 2-In semaphor...
[2 replies] Last: And if you need to have a very high performance as in a tree search in... (by jmc)
Use C++ and MySQL
 
I am setting up an agenda on C++ (use Borland Tubo C 2006), for to put my data I use a "StringGrid1", but I don't know save my data when I close my project. I ...
[no replies]
by Sathed
DeMorgan's Theorem
 
I have to rebuild the following code using DeMorgan's Theorem for a class, but when I looked it up I was totally lost. Can any of you math geniuses out there l...
[2 replies] Last: When you put it like that, it's all so easy... Thanks! (by Sathed)
by helios
Detecting out of memory situations
 
I have some code that depends on std::bad_alloc being thrown when the heap runs out. try{ delete new NONS_Layer(&(screen->screen->clip_rect),0); }catch (...
[1 reply] : Is there any other way to know when the memory runs out that isn't ma... (by exception)
Nim,
 
Hi ive been trying to write a simple game based of Nim were two players take matches from a sinlge pile in turn the player left to take the last match loses... ...
[no replies]
October 2008 Pages: 1... 91011
  Archived months: [sep2008] [nov2008]

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