General C++ Programming - September 2008 (Page 9)

Divide two many-digit numbers digit-by-digit!!!
 
Hello all! i am taking a Computer Science 2 class at a local community college and we have this simp...
[15 replies] Last: Would it work if you were dividing: 1222222222222222222222222222222... (by Zaita)
who can tell me why?
 
according to the C++primer book, size_t k=get_size(); int *a=new int ; i apply this to my prog...
[2 replies] Last: I think you should go back and read more carefully, because get_size()... (by helios)
Testing a member function
 
I am having problems with my int main()...trying to get the program to enter a new balance (400.00) ...
[2 replies] Last: if using Savings a; Add one more constructor "Savings()" to initial... (by patilvishwa)
Web-Based Compiler
 
Hey. Well, recently, I've been wanting a web-based compiler so I can compile at the library and no...
[12 replies] Last: Hmmm... I've done DirectX 9 development on Dev-C++ with no problems... (by Zaita)
How to make a ODBC connection to MySQL
 
Hi, I would like to know how to make an ODBC connection to MySQL database using C++. I know th...
[no replies]
by AutoC
Reading white spaces....
 
Hi, Here's my situation.I'm reading a file that consists of characters including white space.Once...
[6 replies] Last: that's good to know, thanx (by Mitsakos)
analysing bug
 
#include <iostream> using namespace std; int main() { float D; D=0.1; while ( 1.0-D...
[4 replies] Last: buffbill: Yes, the single equals is the assignment operator and is use... (by jpeg)
by gAaRa
Can increase font size in Tcc ?
 
So i have heard that you could increase the font size in Turbo C++ if you switch to graphics mode or...
[no replies]
by dck
hi, simple C problem..
 
i want to write a program that will repetitively read and calculate the total sale for a purchase fr...
[3 replies] Last: as helios says: double item,total; while(item)//ctrl+z to quit ... (by buffbill)
by nicvyn
how to display * for input password
 
how to display * when user is require to input the password?
[17 replies] Last: Failure to initialize creates a great big surprise. Include <cstrin... (by Duthomhas)
recursion to iteration
 
i was wondering if you guys could point me in the right direction for changing this loop to an itera...
[10 replies] Last: you guys still have me at a loss here (by Willie7772)
How to use and make events.
 
I've been messing around with windows forms on my Visual Studios IDE and I've been wondering for awh...
[1 reply] : The most important concept to program events (I'm assuming you want to... (by helios)
Convert iostream to stdio
 
Hi everyone, I am new here and also new to programming. I am given a list of codes in the type of...
[5 replies] Last: readMatch is declared as an ifstream instance, so readMatch>>ID>... (by Faldrax)
issue with user input (char give when asking for a #)
 
Hello, It's pretty simple, I ask them for a #, and it put's my code into an infinite loop. Her...
[12 replies] Last: I would probably make the symbol a member of the Player class. cla... (by Faldrax)
by drac
Diary Agenda using SLL
 
hey, well my problem is that i'm required to make a diary agenda for a class. The agenda must be abl...
[4 replies] Last: Ok, as far as I understand the code you have a template class Agenda w... (by Faldrax)
If statements and such :(
 
so basically im trying to make a program which converts temperatures, and I was wondering if there i...
[8 replies] Last: enum={TempUnit};/*need the assignment operator + curly brackets with e... (by buffbill)
Cutting a number to last 2 digits.
 
Ok, I have to do an operation like this: 454*22.76 = 10 333.04 Thats ez, but then I have to on...
[5 replies] Last: if you like the modulo: force the long to an int by n=(int n) then u... (by buffbill)
by mikej
Setting Precision and a Map question
 
Hi Everyone, I have two questions ;) 1. I want to limit the precsion of the values to say 2 decim...
[1 reply] : 1. I just wrote a short function for this purpose: http://www.cplusplu... (by helios)
by hamo94
how to clear display??
 
when ever i run any of my dos programes that have a lot of output the screen has to scroll down is t...
[1 reply] : You can take a look at this thread on how to clear the screen in c++ h... (by Mitsakos)
by temp
Stacktracing exceptions with Mingw
 
Hi, I'm having an STL code, in which the STL throws an exception I didn't catch (I didn't catch it ...
[5 replies] Last: GDB can print a stack trace. I don't remember the command for it but y... (by Zaita)
September 2008 Pages: 1... 7891011
  Archived months: [aug2008] [oct2008]

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