General C++ Programming - March 2012 (Page 8)

The Dining Philosophers Problem
 
The Dining Philosophers Problem which for 5 philosophers, how to implement WIN32API application usin...
[1 reply] : http://software.intel.com/en-us/articles/win32-functions-to-manage-sem... (by Duthomhas)
by idks16
broken oven problem
 
there is a oven with digits from 0-9 but 1, 4, and 7 is broken. if the user entered a broken digit, ...
[1 reply] : this is the rest of the code, it could fit in 1 message if (((t1==0)|... (by idks16)
Working Program Error
 
Hello, First thread here, but I have a simple program that does the following. Takes user input an...
[4 replies] Last: I didn't bother downloading your zip file. If you can't reduce it to ... (by cire)
array please help
 
i need to develop a program to check if the entered Number is in the prerecorded data file. the Data...
[1 reply] : Duplicate of http://cplusplus.com/forum/general/65700/ (by Stewbond)
Tic-Tac-Toe Multi-Dimensional Array
 
Hello, I have to create a tic tac toe game with a multi- dimensional array table numbered 1-9 with t...
[1 reply] : Make a 2D array like so: int grid ; now use 2 for loops, to set e... (by Stewbond)
Write a function that will return the max element in an array of 10 integers
 
Hi, can someone help me with this. This is what I have so far ! #include <iostream> #include <cdt...
[7 replies] Last: drugs, must be drugs. (by Stewbond)
How to find the number of occurrences of a word in a text file
 
I am doing a program on files.The program should read a file like example.txt and find the number ...
[3 replies] Last: you should better use map to store data. Thats what i said..(?) ma... (by Bootstrapper)
by S G H
Infos on atexit()
 
Is atexit a "Evil" function? I know it cannot be used from a DLL for some reasons, and that's my ma...
[2 replies] Last: Nice idea, didn't think of that! EDIT: Works perfectly! (by S G H)
card picker program
 
i am trying to generate random cards for a poker game almost but i am quite new to this software so ...
[1 reply] : We've had problems like this before in the past. Personally, I would ... (by MrHutch)
comparing the last looged date with the system date
 
Hi I am doing work related to logging my objective is to compare the last logged date with the c...
[no replies]
by vivmen
problem with exception
 
hi all i am trying following code and have some query. class myexn { public: int* ptr...
[4 replies] Last: i tried all your suggestion well one thing sure that copy of object go... (by vivmen)
by Gabz
Programming electric pulses (FES)
 
I'm trying to program my 'electrotherapy' device to feature a motor(vibrate) and electric pulses(FES...
[no replies]
by Jggrnt
Find out the mistakes in the code
 
Hello everybody. I am new in c++ and I made a little game. a labirent, a maze that ı create...
[1 reply] : = is assignment == is comparison Besides that, you've got a lot of s... (by ne555)
get value of windows.title
 
Hello, Please let me know how I can get value of windows.title() in c/c++ programing. I want to get...
[no replies]
help me
 
creat class which the object can hold any numbers.object created as one oe two dimension. *if two ...
[no replies]
Comparing Iterators
 
Hey there folks.. I'm trying to write a search function that returns a typename iterator as shown...
[1 reply] : You are passing a copy of your list. So the 'pos' iterator is invalid ... (by ne555)
by MikeTV
Releasing object pointers
 
So let's say that somewhere within my application, I have a class that creates a new object. This ob...
[5 replies] Last: I don't understand very much your setup, but it is really up to you. ... (by webJose)
memory debugging -- lost blocks
 
Hi, I've written a small program which finds saddle points on an energy surface and I am trying to ...
[8 replies] Last: You are thinking in linked list. To iterate in a vector you just incre... (by ne555)
Counting how many times I've compared
 
I have the following for loop that compares some values before being entered: for (; (loc > 0) &...
[1 reply] : How about this? Didn't test it but I guess it works. int conditionC... (by webJose)
Tutoring?
 
Hi ive taken a class in C++ but am a little fuzzy. Looking for a Teacher/Tutor/Internship(not paid)....
[14 replies] Last: Not been to learncpp since they still had a ton of unfinished tutorial... (by BHX)
March 2012 Pages: 1... 678910... 49
  Archived months: [feb2012] [apr2012]

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