49,761 Topics
| |
if i have dll library and header files how can i used it in borland c++> | |
So in my class we just finished covering the topic of constructors and destructors. Now, my teacher has given us a lab where we have to create these classes and each of them must have a ctor/dtor. The problem I'm running into is..well.. it would be easier to describe in … | |
I need to make a program that asks the user to input a number of strings, and then outputs the string database. The program should maintain a string database where each record is a string. The program keeps reading strings that the user has typed, and inserts the string at … | |
Hello, I have an exam on wednesday and was given a practice exam but I'm having a little a bit of trouble. 8.What will be displayed on the screen after the following statements are executed in a C++ program? [code] [COLOR=#000000] int a=5, b=2, c=1, d=3;[/COLOR] [COLOR=#000000] int t;[/COLOR] [COLOR=#000000] … | |
Hi, i have five{number is unimportant} independent objects{the purpose is to model sensors} and i want them to write sequentially{not in the same time}, some info to a file{all to the same file} and at screen... i was thinking to implement a fileWriter class, that will create the file...and then … | |
hello to everyone, i have the followign problem: i need to get the system date-time and then i need a way to add minutes(!!) to this variable.... in particular i want to make a program{part of a another program} that will print on a file dates×. The problem is that … | |
Can you help me on this project of mine? Here's the problem. It's a payroll system where the employee can [B]enter[/B] his/her record. After entering his/her record it will be stored in a file. If their might be changes the employee might want to change he/she can be able to … | |
Hello all, I know this is borderline off-topic, but then again QT4 is a C++ based program... I compiled QT4.1.1 on a fedora 4 OS. I finally got all the registration issues worked so that it works in it's native X11 form as an executable. However codeblocks is having trouble … | |
I'm not that used to C++ and hoping that someone can help me out with the [b]const[/b] keyword. If I make a parameter to a function 'const' ,and then try to reference it, like: [code=c++] int some_func(const char* param){ char* ptr = param; ... } [/code] to do something with … | |
Hey, i am trying to search an array of surnames. I am entering in a surname, and if that surname is in the array, i want to to bring out all other details for that surname that are stored in a structure. At the moment, i have this working for … | |
can someone tell me if they know any API's to view a remote desktop in vc++. | |
Please i kind of need a quick help on how to plot polynomial graphs using c++. | |
I would like to make my program grab an integer from the user (binary) and convert it to a normal number, I plan to do this manually but I need to know how to do something first: If the user enters, for example, 10110101 I need to be able to … | |
Can anyone right a C++ program that does this? To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be show as GET LOAN. In some cases, to make a telephone number meaningful, companies might … | |
Okay I've just started learning c++ in college but I'm stuck on a bit of what to do to get the program to read from an file with floats. I've got floats like 38.5 33.6 44.45 42.86. I am told to read these floats ("temperatures") in the program. I start … | |
The assignment is to write a C++ function using "pointer notation" that will write out the elements of an array of int in reverse order. The problem I'm having is with the sortAscend function and what the parameters should be to accept an array. I'm getting an error cause I'm … | |
just started c++ class.... we use the absolute c++ book after starting to read this book i decided to buy c++ for dummies and borrowed a book titled object oriented programming with c++ (book is from india written in english) i still have no idea where to start on these … | |
I started learning C++ as my first language. But some of the OOP stuff gives me trouble. I know C is a widely used language like C++ and has about the same syntax but isn't OOP.I have tried some basic C so i have not got parts that are different … | |
Is there any way to store characters AND integers into an array? | |
I was wondering if it is possible to make a gui program in C++ without[COLOR=black] a toolkit, and if so are there any tutorials or books that I can read:?: [/COLOR] [COLOR=black] [/COLOR] | |
hello there, im new here and i want to start learning c++. I have a few books and tutorials however i could use some help with other tutorials and resources.. So basicly what i want to learn right now is how to make gui programms in c++. I know that … | |
I'm 2 months into a vB.net class at my school and starting to grasp an understanding of programming. I would like to begin with C or C++ after my vB.net class is done or close to it. The point of this topic is to ask for any recomendatios you all … | |
Hey again I need a little help with this assignment. What I'm supposed to do is have a user enter a positive integer and then the program should tell the user all the prime numbers before the number the user entered. However, with my program when I enter 22 for … | |
I'm new to these concepts but a derived class cannot access private members of the base class because they are simply not accessible externally. But what if I define the derived class in a friend function to the base class. will the private members of the base class be successfully … | |
Hi, I have visual studio 2005 C++ Express Edition Installed. The instructions I have to create a library file are as follows: 1. Create a project 2. Add Header Files to the project 3. Change the Configuration Type on the Properties Menu to Static Library (lib) 4. Still in the … | |
[CODE] //The ATM Mahcine #include <iostream> using namespace std; int main (const int) { int cash; int bank; int choice2; int choice3; char choice1; cout << "please enter amoount of $ in bank: "; cin >> bank; cout << "please enter amount of $ in cash(hand/wallet): "; cin >> cash; … | |
[code=c] #include <iostream> #include <string> #include <cmath> #include <iomanip> using namespace std; double power(double b, double p); void main(void){ int base = 0, power = 0, result = 0; cout << "Programmed by ." << endl << endl; cin >> base; cout << " ^ "; cin >> power; result … | |
Hai guys My name Eddy, I'm HND Software Engineering at TATI, Malaysia, this is my 1st year of study, i need help ! somene can change below source code to templete by using C++ source code please help ... this is the source code: ----------------------------------------------------------------------------------- [code=cplusplus] #include<iostream> using namespace std; … | |
Hi folks, from a newly created executable I am getting an "unhandled win32 exception" each time I run it. I don't even know how to begin to evaluate this error. Pls help. Debugger error dialog: Unhandled exception at 0x7831c5c2 in ATV.exe: 0xC0000005: Access violation reading location 0x00000000. Thanks in advance | |
I don't visit any other forum but the C and C++, so I don't know if there's a different place where I can make this comment. However, I'm going to go ahead and say. I would like to give a public and loud THANK YOU! to this people: [COLOR=Blue]Mr.WaltP Mr.Ravalon … |
The End.