General C++ Programming - October 2008 (Page 4)

delete[] assert error
 
I am getting an assert error for a delete statement that only usually happens to me when i accident...
[8 replies] Last: IMO. int main() { char* title = new char ; sprintf(... (by Zaita)
by lipune
socket
 
Hi to all...... How can we make udp socket behave as tcp means how to make udp as relia...
[3 replies] Last: You can make UDP behave like TCP. But you have to do this manually and... (by Zaita)
by gAaRa
Playing background music ?
 
Hello I am quite new to playing sounds in c++ programs and have done it only a few times using Pl...
[1 reply] : You can use something like OpenAL or FMOD to accomplish this. (by Zaita)
how to delete and edit?
 
this program is ok..i can add & save, i can search and display.but i want to put how to edit entry ...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
C++ developers???
 
Can anyone help me. I'm looking for a C++ developer who knows how to unpack iTunes. Sorry if this is...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
by Marwa
using direct x 9 with vc++ 2008
 
hi all, i have a problem with opening a direct x 9.0 sample made by vc++ 6.0 in vc++ 2008 when i ...
[1 reply] : VC++ 2008 and VC++ 6.0 use different compilers. The unresolved depe... (by Zaita)
can't display int value
 
Hi All Please help me with the following code, it works fine when i enter 1234567890 but goes ma...
[5 replies] Last: IMO. I would use string input; getline(cin, input); inst... (by Zaita)
Trying to understand and use namespaces
 
I'm not sure if this is possible so hopefully someone can help figure this out. I'm using Dev C++ on...
[3 replies] Last: You wanna re-direct cout. streambuf* sCoutBackup... (by Zaita)
Simple Blackjack Game, Random Numbers
 
hey guys, I am writing a program for a simple game of Blackjack, but when it runs, every card comes...
[4 replies] Last: Thank you. My problem is solved. I ran the program 4 times, and came o... (by ten thousandth fist)
Strings In C++
 
Hey Freinds I'm not new to programming but having some problems in C++ strings I'm making a progr...
[1 reply] : str1_copy.replace(13,0,str2); You are replacing with a string lengt... (by cjmalloy)
Craps Game
 
I have looked around in a lot of forums and have seen many examples of this game. However, mine is s...
[9 replies] Last: Well....I think this are the details u're asking about.... //print... (by Smok006)
Derived copy constructor
 
class Base { ... // No copy constructor }; class Derived: public Base { ... publi...
[2 replies] Last: Unless you explicitly declare one, the compiler gives every class a de... (by jsmith)
char array & pointers
 
I tried to assign a pointer with arrays since I was having trouble understanding the concept: ...
[4 replies] Last: In your example above, char* pCarrier = &aPointer; cout << *pCa... (by jsmith)
word permutation
 
ok guys i think i needed some help here... im trying to get all possible permutation of a seven-let...
[4 replies] Last: Hello again! If u still want that example here u go, but I think u ... (by Smok006)
by Link12
Using a Compare String In A Loop
 
Hi I need to write a program that allows me to enter names in a loop and than it sorts all those nam...
[2 replies] Last: Then you could use sort() too. STL Algorithm. (by Repentinus)
C++ calculations
 
I need to make a program that reads in information from a file and compare it as follows: Bags with...
[2 replies] Last: What is your definition of 'girth'? Presumably it is: g1= 2*(width+he... (by buffbill)
Poker Algorithm.
 
Does anyone here know the algorithm for texas hold em which is a poker game? The algorithm should in...
[no replies]
Can you please check my code and see if it's correct?
 
case 1: outputFile.open ("addstud.txt" , ios::app); { co...
[5 replies] Last: Yeah...basically right now it will just put an integer the user specif... (by firedraco)
Poker Issue.
 
I am creating a Poker game, texas hold 'em in C++. I wrote most of the code except for the winning c...
[1 reply] : Well first off, use [/ code] tags and indent next time... Anyway, w... (by firedraco)
Is this a functional main?
 
What is the significance of the first line in the main. I do not quite understand what it means. ...
[1 reply] : It is basically creating an array of 5 pointers to a variable/class of... (by firedraco)
October 2008 Pages: 123456... 11
  Archived months: [sep2008] [nov2008]

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