General C++ Programming - December 2009 (Page 7)

regadd in c or c++
 
whats wrong in the below program #include <stdio.h> #include <dos.h> #include <dir.h> #include <process.h> int found,drive_no;char buff ; void...
[9 replies] Last: hi helios still not work (by bijayswain)
by vijkrr
Certification in C/C++
 
Hi all, I want to do a certification exam in C/C++, some thing like Sun jave Certification, i Want to do it for C/C++. Can any one help me where can i get ...
[1 reply] : There isn't http://www2.research.att.com/~bs/bs_faq.html#certificatio... (by Bazzy)
Looking for uses for databases
 
I wanted to learn networking so I decided to write a simple multiplayer game. For database stuff I settled on using SQLite. After some research the only viabl...
[4 replies] Last: Why don't mmorpgs store their player inventory data in SQL? I have a ... (by jRaskell)
by mikes
Advanced Programming w/ Hardware Devices
 
Can anyone recommend a good book or any documentation that explains/teaches you how to directly access any devices on a computer using C++ programming? For e...
[2 replies] Last: If you'd like a taste of direct hardware programming, look into microc... (by jRaskell)
Memory leak referencing .net dll
 
My Virtual Memory gets about 8k higher every minute. My Physical Memory about 4K every minute. Is the problem in the external dll or in the c++ code? ...
[1 reply] : Hello, I have written the same code in c# and i seem to have any pr... (by HaveHave2222)
Baseball Structs Program
 
Hey Everyone!! I am having some problems with my structures program for school. The problem comes after inputting the data in the struct and then trying to d...
[3 replies] Last: No problem. (by chrisname)
Error in program.
 
This is the basic code i need. Im trying to generate 30 random numbers under 100, put them in an array...then find the max value in the array. When i run this...
[6 replies] Last: Line 16 is modifying 'nym' used in the loop, not the array. What he... (by mcleano)
How to make a menu program
 
How do you make a menu program in C++ so you can then use it to open other C++ programs?? Thanks!
[2 replies] Last: thanks (by molenator10)
by Zhuge
Using boost ptr_map and BOOST_FOREACH
 
I've been trying to figure out how to use BOOST_FOREACH and the boost::ptr_map class together, but I can't seem to figure out what type I should use. boos...
[2 replies] Last: Perfect; this is exactly what I was looking for. Thank you. (by Zhuge)
Code from text not working
 
Is this because Im using Dev-C++ 4.9.9.2? Is Dev-C++ a good IDE to use for C++? #include <iostream> // allows program to perform input and output usin...
[16 replies] Last: @Beibin Wow, thanks, very clear example. Exactly what I was looking f... (by xitan)
by Una
Deallocating memory from the first element of a link list
 
Hello all, Suppose that I have a hash table of pointers node * hash_table , and some elements in the hash table as in the following example: hash_table :...
[18 replies] Last: Galik, you are a genious. I can never tank you enough. I finally got r... (by Una)
Dll issue
 
This is simplified scenario I have three Dll's named DllA,DllB and DllC. DllB and DllC access functions inside DllA. My question is how would I know w...
[5 replies] Last: Functions call your constructor, not modules. You cannot know that wa... (by kbw)
by vijkrr
how to pass data betwwen two programs
 
hi i want to know how two different programs can communicate message between each other? assume i've a.cpp, it is having 2 STL Maps, from b.cpp i ...
[3 replies] Last: you can look and shared memory idea from IPC ... google "shared memory... (by karvoyno)
BMI calculator (do while loop)
 
I am a newbie here. I created a loop which asks for the unit of measurement. But it does not terminate even if I entered 'I' or 'C'. Why is that? #includ...
[3 replies] Last: it works now, thx firedraco. capitals (by josephtsui)
FSTREAM having user input a file name
 
I have this, this code has a hardcoded file name that will write information to it. How can I modify this so the user specifies the file name? I'm reading my bo...
[1 reply] : Include string. Make a new string that can store a files name by user ... (by Mythios)
by cbeppe
My First Game
 
Hey, Here is a game I wrote in C++ as a project to teach myself the syntax once and for all. It is a small game, kinda arcade style, but still "fun." Some of...
[13 replies] Last: Here is a way you can bunch your separate menus/tasks into functions a... (by Galik)
How can I get involved in a real world project?
 
How would I go about working on a medium to big project? I have no schooling in programming or c++ but I spend a good deal of my free time learning from books a...
[2 replies] Last: If you're interested in games : http://www.gamedev.net/community/foru... (by Mythios)
by sporx
end a while statement by cin>> empty line
 
for the program i am currently working on, i a situation similar to this: string word; cin word while (word!="enter nothing") {cin word;} if tha...
[7 replies] Last: In your OP what happens when you implement Zhuge's proposal ?(after de... (by buffbill)
Array problems
 
This is what i have so far. I'm not completely sure if this correctly assigns the random numbers to the array, so if it doesn't let me know. But I need a simp...
[4 replies] Last: As Zhuge says you need to include a method of identifying which num is... (by buffbill)
How to assign 2D vectors
 
double arr = {{1,2},{3,4},{5,6}} std::vector< std::vector<double> > my_vector; How can I use the vector " assign() " function to copy the values of ar...
[3 replies] Last: Right... but 1D arrays are simpler. (by Disch)
December 2009 Pages: 1... 56789... 16
  Archived months: [nov2009] [jan2010]

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