General C++ Programming - June 2008 (Page 2)

searching a file
 
Thanks in advance, develop a program to search a test file for the number of occurrences of at le...
[1 reply] : Ok, so you've told us what your assignment is. How much progress hav... (by Faldrax)
Urgent- C++ classes
 
I have a problem about writing the cpp and main file given the header file as below to complete a C+...
[1 reply] : The questions you have look to be ones you should direct at your tutor... (by Faldrax)
Calling and editing a function in an exe
 
I am trying to send packets in an online game. What would be the best way to go about doing this, de...
[no replies]
by jrohde
Iterating through a vector of pointers to class objects
 
Hello, Essentially, this test program just creates a number of objects with different (x,y) posit...
[3 replies] Last: yes. But you're better off using a while loop while (vPtr != vecto... (by Zaita)
by shyn04
convert c++ to c
 
can anybody convert this c++ program to c..? #include<iostream.h> #include<conio.h> #include<std...
[1 reply] : i do it this way but the computation was not able to display.. i need... (by shyn04)
by Zeke
trying to learn enum
 
right now my main problem is that the program is not picking up on the fact that I initialized my en...
[2 replies] Last: Alright I guess that helps a bit, I'll try it that way. (by Zeke)
Dynamically increase array
 
I almost posted this in beginners, sorry if it's wrong... If been looking at a solution all day. ...
[9 replies] Last: vector isn't the only STL container. A list, stack, queue all work equ... (by Zaita)
by lipune
c++
 
Hi to all,can u tell me what is the difference between a abstract class and interface class,where to...
[1 reply] : No such thing as an "interface" in C++, This is a java term. An abstra... (by Zaita)
Function with const parameter...
 
I have a class Class1 with a single member private double a1 and the following two methods: doub...
[2 replies] Last: thanks Faldrax, that's it, works now... (by mkralovic)
Fn. Called With Same Arguments' Values Many Time (Hw 2 reduce computation time)
 
My algorithms uses a function of the type ......... long double E(int x1, int x2, int x3, int x4...
[3 replies] Last: One option would be to create a struct to hold a set parameters and an... (by Faldrax)
by amnahh
shifting in a 2d array
 
Write a program for the following puzzle: Very often in fairs we come across a puzzle which contain...
[2 replies] Last: This can be done it two simple steps: 1.) Do it 2.) You are done! (by firedraco)
Overloading assignment operator
 
Hi, I have a simple string class, which is defined below: class String { public: char* ...
[1 reply] : Hi. I have written a working example in my blog which explains what... (by maheshd13)
Nice Programe to print out numbers
 
I hope you find it nice. #include<iostream.h> void main() { int x; cout<<"This program is Givi...
[2 replies] Last: its by borland C++ not Visual C++ (by ramishama)
Skinfeature GUI Development Toolkit source code
 
With its exclusive skin maker library, implemented as a standard Windows ActiveX control, skinfeatur...
[no replies]
Error C2662 and C2664
 
I get two errors with MS VC++ 6 c/w Sp5 which I do not understand! The first error c2662 is on a...
[1 reply] : OK, I corrected the first error (C2662). I found the explication on... (by LeLorrain)
C to C++ arrays and back again
 
I've got a large library written in C that I'm writing C++ around. I've got a static C array define...
[no replies]
fatal error LNK1104: cannot open file 'libboost_filesystem-vc80-mt-gd-1_35.lib'
 
H3y hi every1 please help me out i am Just creating a small program in c++, which is use to show all...
[2 replies] Last: thanks for the reply ,yes i hav linked the correct library folder in ... (by munibsiddiqui)
Hangman Game
 
i have a text document with 10 words to guess. i have the code already read a random word from the f...
[1 reply] : First, include: #include <string> Try to create another string... (by psault)
Optimizing I/O when writing text file
 
Hello, I have been looking everywhere for some information on how to improve the output speed of lar...
[3 replies] Last: Thank you both for your insight. Minimizing the frequency of the << o... (by CPlusplusdna)
[solved-ish] How do I convert to base type?
 
This is one that I've never quite "got". How do I assign a derived class type to its base class t...
[no replies]
June 2008 Pages: 1234... 6
  Archived months: [may2008] [jul2008]

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