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

My programs closes after its execution...
 
I write a program, and it closes itself after its execution. I use the "cin.get();", the program s...
[5 replies] Last: Here is a good way to pause in C++: cin.clear(); // Ensure erro... (by dirk)
by hazda
Problems running snake game
 
Hello Y'all, i got a snake game source code on the internet and im having problems compiling it usin...
[1 reply] : This program is a piece of junk. Also, it uses old dos type functions... (by dirk)
by Salu
graph using C++
 
How to create nodes in a graph. Plz write the code
[2 replies] Last: <code>#ifndef GRAPH_H_ #define GRAPH_H_ /* * This file has declar... (by pratyush)
CVSNT Module
 
Hi, I'm trying to do a CVS module of a folder. But I get this error: In C:\DOCUME~1\LUISCR~1\L...
[no replies]
by amrcn
program help
 
Hello there, I posted this in the beginner's section and received no response, so I figure the ge...
[6 replies] Last: The use of pointers will greatly increase the memory efficiency of you... (by cobraun85)
establish internet connection with c++
 
Hello that's my first post here I hope I'll be succesfull. I'm trying to create a program which ...
[1 reply] : You need to study up on something called sockets. This site, http://w... (by head code)
seekg
 
I am trying to read data from a file one line at a time. The file was originally written by this sam...
[4 replies] Last: I see your point about each line being a string. I'm embarrased I didn... (by cobraun85)
Are several overloaded operator[] possible?
 
Hi I've created a class with a single vector as a private member, and overloaded operator to get...
[2 replies] Last: Yes, it is possible, but it is usually not worth the trouble and/or a ... (by Duthomhas)
HELP!!!
 
I have a problem with my program and i cant seem to fix it could some one help me out Hears M...
[4 replies] Last: yeah it still dosent work but i found a diffrent way to do it #incl... (by gregv21)
Initialization of ifstream and ofstream
 
I have a code that reads in various texts files one by one to do some operation on them. Files have ...
[6 replies] Last: Thanks a lot DimitriuS. Even we're unable to find a plausible reason f... (by Morphius)
by zprise
what's the difference
 
Hello! in a case where int a=5; if((!a)++) or (++(!a)) gives me an error message saying that the o...
[11 replies] Last: Thankyou Mr.dolorx, Thankyou very much for your explanation regarding ... (by S J K)
C Programming Tutorial for the starters
 
Dear All, I have tried to create a c programming tutorial for the starters: http://howtoprogra...
[no replies]
Pointers to objects
 
Hello, In this program I am to use pointers and dynamic arrays when creating objects. I can't use...
[3 replies] Last: There is problem with the OPERANTS PRIORITY. There is no problem wi... (by DimitriuS)
Need Help in C++
 
Declare a class name “Polynomial” which contains an array of size (n) (dynamic allocation of thi...
[no replies]
graphics programming How to?
 
Hi :) How is graphics programming done is C++? I read from some articles that OpenGL is a way but I ...
[3 replies] Last: Thanks bro! By the way so you know of a site that offers a tutorial... (by jdstufu)
private member variable - copy constrector
 
can we access private member variable of one call in another class by using copy constrector??
[no replies]
C++ Polynomial Class
 
In this program class name “Polynomial” which contains an array of size (n) not dynamic alloca...
[no replies]
by g0dwyn
Creating Predicates
 
I had this in the beginner's section but that might not be the right place for it. Here goes: I'...
[no replies]
about C++ screen saver
 
can someone give me a program that will make a screen saver? just a simple one. example a ball,cir...
[no replies]
by samar
Comapring string in Switch case
 
Hi all, Is there any way by which we can compare strings using switch-case method? Or will we have...
[1 reply] : you are completely wrong my friend!!Switch case has nothing to do with... (by DimitriuS)
February 2008 Pages: 12345
  Archived months: [jan2008] [mar2008]

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