General C++ Programming - January 2010 (Page 16)

by zlatan
To recognize words
 
Hello. I am a beginner and I am about to make a program and I really need your help! What the program should do: While the program is running, I type in a w...
[8 replies] Last: You could store your 400 words in a string type array. You would need ... (by buffbill)
Map iterator issue
 
Greetings, I'm tryining to build a map that store a list of persons. I've previously worked with lists with no problem but since I'm using map I've this terribl...
[4 replies] Last: The two members of a pair, for a map are: pair<const Key, Value> I ... (by n4nature)
Custom memory manager
 
The default new and delete operators are time consuming, since they implement memory operations for a multithreaded environment. Mine is a single threaded, and ...
[5 replies] Last: The default memory manager is or can be made thread-safe. I cannot ... (by jsmith)
matrix class
 
Please help with this code.Am trying to design a Matrix class with the following operation Addition, Multiplication, Subtraction and division .The code compi...
[1 reply] : (i,j) does not call operator()( int, int ) on "this"; it does somethin... (by jsmith)
Anyone using DarkGDK?
 
Hello. Anybody here wanna create a game with DarkGDK?
[6 replies] Last: yup i am making one right now but i want a team (by closed account y8h7M4Gy)
by shenh
what are the meanning of the two directives?
 
I download GAlib source codes for my optimization problem. But i cannot understand the meaning of two lines of codes in ga.h . #ifndef _ga_ga_h_ #define _...
[2 replies] Last: Thanks Bazzy for your quick response. I get it. It does not matter wha... (by shenh)
Compiling GMP on windows
 
Hi. I have been trying to install GMP on windows and i have run into a lot of trouble lately. I follow everystep of this tutorial exactly, http://suchideas.c...
[no replies]
Determining User's OS
 
Hey, all. I'm trying to find a way of making a platform independent way of pausing the program pending a key-press, without requiring a carriage return. I found...
[1 reply] : You can't detect the user's OS. Well, not at run time, anyway. You can... (by helios)
Can you make a variable constant?
 
I have a variable in a struct and an initialization routine to set everything up in the structure and get it ready for use by the rest of the program. I have tw...
[6 replies] Last: I always liked Pascal's "variable constants". (by jsmith)
Question about pointers.
 
Hi, I followed the tutorial on this site, but one thing I'm still couldn't find out. Would pointer variables actually use memory blocks for storing the memor...
[2 replies] Last: ok thanks. (by magnificence7)
readind an urdu text file in c++
 
i am to read a urdu text file in c and want to search english words in it. can anybody help me out
[3 replies] Last: "URDU" is a language from out India/pakistan way. (by guestgulkan)
by Null
Can't figure out a simple problem
 
I'm writing a program that analyses bitmap file and shows it on screen: The problem is that pixels in bmp file are stored in strange way - if I try to output a...
[7 replies] Last: int width=bmih.biWidth*(bpp/8); // width of bitmap in pixels ... (by Disch)
Memory Allocation question
 
Hi, #include <iostream> using namespace std; int main() { int *p; p = new int; cout << p<<endl; p = new int; cout << p<<endl; } Output: ...
[3 replies] Last: An additional note: without deleting p, both uses of new are creating ... (by moorecm)
by hannes
Interface and executor
 
Hey, I'm writing a program in c++ to draw graphs. Now my question: I use QT4 for user interface and i want a separate object for de code behind the user int...
[no replies]
by ckdur
USB Flash Drive
 
Hello All! (Excuseme my english level) I have a very big problem about USB Flash Drives. I need to detect Memory USB Flash Drives connected in a PC. My purp...
[2 replies] Last: How to i use this? A Basic Example for enumerate USB Flash? (by ckdur)
Problem with looping
 
I'm making a program that finds the square root of a number. With intergers, it works fine, but I want the program to show and error if the user tries to enter ...
[6 replies] Last: That isn't standard C++ (by Bazzy)
Least Recently Used Page Replacement
 
hi, I have to implement Least Recently Used Page Replacement I need ur ideas.someone can explain what can I do? job: input.txt holds the memory size an...
[2 replies] Last: I will check the article,I just ask for source and idea not Code!!!! ,... (by silayse)
vector iterators incompatible
 
Hi, I have been in trouble by the vector interators incompatible problem for one week plus. I wrote a program to calculate the maximum overlaps along the road...
[8 replies] Last: No, my point was that I think even doing what you tried isn't enough b... (by jsmith)
How to start game programming
 
Well I've been programming for 6 months now and know C++ ... fairly well. I know a fair amount of everything but not specifically good at anything. I origina...
[11 replies] Last: @ciit015 that's not gonna work. you have to download allegro and add ... (by blackcoder41)
sound apllication in c++
 
I AM WISHING TO MAKE A QUIZ PROGRAM IN TURBO C++. I WANT TO PLAY SOUND FILE AS THE QUESTION OF THE QUIZ. HOW CAN I PLAY THE SOUND? DO I NEED ANY EXTERNAL LIBR...
[2 replies] Last: chrisname, don't even bother lol... (by closed account S6k9GNh0)
January 2010 Pages: 1... 14151617
  Archived months: [dec2009] [feb2010]

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