General C++ Programming - November 2008 (Page 7)

Math Problem
 
How to generate a code to solve for 't' in sin(t) = (-1<any real number<1)xt. Also, plz tell the specific name of such kind of problems, if any. Let me explai...
[2 replies] Last: No, his problem is how to solve the equation kt = sin(t) for any... (by jsmith)
Searching a directory for specific items
 
Hello, I have created a small program to migrate user accounts from one domain to another and I would like to place an if/else section in my code to look for c...
[2 replies] Last: I had once made a function to find whether a file/directory exists: ... (by Bazzy)
Serious Linked List c++ program
 
Linked List In this program, you will implement a number of functions: 1. Insertion of a node to a linked list, by given criteria 2. Deletion of a node on a ...
[4 replies] Last: Look here for linked-list tutorial: http://simpleprogrammingtutorials.... (by kdenisk)
Add days to date without affecting the original input date
 
void Date::addDay() { int DaysInMonth = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; string months = {"jan", "feb", "mar", "apr", "may", "ju...
[2 replies] Last: Create a date type. Or use a 3rd party date library. http://www.boo... (by Zaita)
Declaring an array of a class
 
Hey. I'm coding a text card game using classes 'card' and 'deck'. Now, in order for 'deck' to compile and function like a real life deck of cards, it needs to d...
[3 replies] Last: Additionally, you could default the location in the constructor like y... (by seymore15074)
Validating input
 
how to validate any input... my case is just like this.... I want a user enter a student ID number which is only include 11 digits of numbers without any ...
[2 replies] Last: thanks.. for the info.. (by devaeron)
by gelto
BSTR FAR
 
Hi: I have a function that give me a parameter BSTR FAR*. What is exactly and how can i transform to string (char*) type. This is the function: void CP...
[no replies]
remove a ponctuation from a string
 
hi guru; your humble newbie is stuck somewhere with his own codes and he need some help form you. i have to write a program that take string input and chec...
[9 replies] Last: i bau infront you guru gen1mx6 thank you guru gen1mx6 problem solve... (by tukuniata)
How to Inherite in C++
 
Hi I'm a C++ newbe, I've created a simply project in Eclipse called Employee, it contains a main and three classes one called Employee which has two subclasse...
[4 replies] Last: @wicketh: That would probably work on most compilers although it is t... (by Zhuge)
Variable Confusion/mix up
 
I am writing a program to out put data in order to make graphs. We must compute all values that we arent given in the program. We also have to use smaller fun...
[2 replies] Last: If that is the case (it seems likely enough), you could look here for ... (by Zhuge)
conversion
 
how to convert an integer to a string????????
[3 replies] Last: @vipul mehta: Thank you for helping, but I think it is best not to giv... (by Zhuge)
Guessing game!
 
I need to revise this program i made. I'm trying to get the program to keep track of the stats. i need to set it up to keep stats on how many won/lost, fewest...
[2 replies] Last: Also once i finish getting this program to work i need to set it up to... (by chart2006)
problem in file handling
 
Create a class 'st_rc' consisting of the following data : Student's Name Student's Roll Number Student's Marks in three subjects. Now use this class to en...
[no replies]
how to use Const
 
Hi have just wrote a simple C++ project, Which includes a baseclass and two subclasses, Im new to C++ so finding it a bit confusing using subclassing and polymo...
[2 replies] Last: wow what a great tutorial.... bookmarked!!! thanks (by Pat Nevin)
asking a user to enter a filename(then reading from it)
 
so far it is not working #include<stdio.h> #include<stdlib.h> int find_keyword(char ); int main() { char file_name ; char keyword ; int times_of_...
[2 replies] Last: You might run into some problems using a empty arrays for scanf() beca... (by wicketh)
Changing content of a file
 
Hi Guys, All i want to do is to change the content of a file. For instance, there is a batch file located at C:\Program Files\Test\test.bat The content of...
[1 reply] : Unfortunately, even with all the updates to cmd.exe, the fellas over a... (by Duthomhas)
by komal
Scroll Bar in MFC
 
Ive created this whole application and now in the middle realized that I need a vertical scroll bar... I need to know if its possible to add one now without sta...
[1 reply] : Are you talking about your main window (or a CWnd or CFrameWnd) ?? (by guestgulkan)
whats the use of flag in coding
 
please tell
[2 replies] Last: an example is like bool isTrue=true; // set true so it enters the ... (by gen1mx6)
How to send bits to a usb port
 
First of all this is what I'm using- http://www.electronickits.com/kit/complete/elec/ck1601.htm I don't have a parallel port on my laptop, so I bought a par...
[4 replies] Last: I haven't actually got it yet, it's still in the mail was just thinkin... (by gen1mx6)
by andel
i need to write this program
 
Create a class called Invoice that a hardware store might use to represent an invoice for an item sold at the store. The Invoice class should include four data...
[1 reply] : First read http://www.cplusplus.com/doc/tutorial/classes.html then d... (by Bazzy)
November 2008 Pages: 1... 56789... 11
  Archived months: [oct2008] [dec2008]

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