General C++ Programming - August 2009

by Alan
esoteric... lol
 
I though it would be funny to write a programming language where commands are based on an array of k...
[6 replies] Last: The problem is that natural language isn't sufficiently exacting. ... (by Alan)
Double dereference off of iterator?
 
Hey, I was just playing around with a deque of class pointers, and I was wondering if there was some...
[2 replies] Last: Ooohh, I'll have to check that one out. Thanks! (by Duthomhas)
Custom String Class
 
Hey guys, I want to try an write my own custom string class (for learning purposes) and I've been...
[1 reply] : If it is for learning purposes only, I wouldn't worry about thread saf... (by jsmith)
static library using virtual methods
 
Hi, I'm trying to create a static lib. This lib needs to read/write to a db, but the library h...
[5 replies] Last: If you take the IDBProvider object by reference (or pointer) that migh... (by jsmith)
by vfoos
Can I speed up database access using CRecordset with ODBC to SQL server?
 
Hello everybody, I have written a C++ command line program that does calculations and at the end...
[4 replies] Last: Thanks, I will have a look in ADO/BulkInserts. I am opening and clo... (by vfoos)
by Alan
generic 'variable' class
 
Im writing a generic variable class ie: variable a = "Hello"; variable b = 'a'; variable c =...
[5 replies] Last: i never heard about boost anything... looks ez tho. -_- (by Alan)
Casting vectors to void pointers
 
Hello , I want to cast STL vecyor to a void pointer....How do i go for it? ex: void *data; ...
[2 replies] Last: That works as long as sizeof( vector::value_type* ) == sizeof( void* )... (by jsmith)
Release build fails
 
Hello I want to make a release build of my game, but I get an error "Cannot open include file: 'd3d...
[3 replies] Last: because there may be some different librarys which generate extra debu... (by Incubbus)
by yalcin
Opengl on PictureBox toolbox in Visual Studio 2008.net
 
Hello, How can I use Opengl in PictureBox toolbox in Visual C++.I didn't come across any document...
[1 reply] : The first: Why did you submit two similar posts? The second: Why ... (by Denis)
Input to output using >> and <<
 
I'm a C++ beginner, currently studying stacks, with a basic knowledge of both C and C++. I am using ...
[2 replies] Last: a. Yet different runs of the program after rebuilding while occasional... (by murukesh)
C++ with folders
 
I was wondering how can you manipulate with windows folders using c++ e.g. I want to create a pro...
[1 reply] : http://msdn.microsoft.com/en-us/library/aa363946%28VS.85%29.aspx Ha... (by webJose)
Problem with functions in inherited classes
 
Here is what I'm trying to do. I have 3 classes: base | derived1 | derived2 In the ...
[11 replies] Last: Ok, I got it working. First, thank you everyone for your help and a... (by cableguy414)
Improving Algorithm
 
//Counter Number Of Lines Already Existing In The File do { file >> num; //Get ID if(!fi...
[2 replies] Last: ahhh... why didnt i think about that T_T... thank you:)... (by Incubbus)
by gosego
program code
 
how do i generate a code for a c++ program that calcute workers s basic salary including alowences a...
[6 replies] Last: it doesn't have to be a keyboard, it can be a keypad too :D (by sikac)
by Alan
max "index" in container
 
I know there is max_element() but i need a function to return the index of the element instead of ...
[2 replies] Last: thanks! just what i was lookin for (by Alan)
vector and handle problem
 
I followed the example Sales_item presented in handle classes and inheritance, C++ primer 4th,and i ...
[3 replies] Last: since not all of us have the primer, we dont know the examples... (by Incubbus)
hasNext Function in C++
 
Hi,,, I am aware of hasNext functions provided in Java language with class Scanner (java.util.S...
[2 replies] Last: There's no such thing in the C++ standard libraries, but it's straight... (by kbw)
How get first three digits of an integer in C++
 
Hi I want to know how to get the first three digits of a four digit number in C++.Any suggestion?
[17 replies] Last: @Alan, it shows 34 here... (by Haptic)
Comparing two strings with If statement
 
Hi, when I enter "oo" I get the "Wrong Password!!! output.. I need to get the "correct Password" out...
[3 replies] Last: Yes, it should work, but I forgot an important thing: You still can u... (by johnkravetzki)
pointers.?????????
 
pOrder->GetValue(CL_ORD_ID, sVal); what will be the status of pOrder here?? Getvalue function is ...
[3 replies] Last: pOrder would be a pointer to the class which GetValue() is a member of... (by Alan)
August 2009 Pages: 123... 12
  Archived months: [jul2009] [sep2009]

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