49,761 Topics
| |
Hello, I am learning to use Borland Builder 6.0 (and trying to remember/learn to use C++ after taking a college course in C programming nine years ago). I have created a data structure. When I try to delete it using: [COLOR=Navy]delete films;[/COLOR] I am told that deleting an object requires … | |
Hi, Detail: Language: C++ OS: Unix based, DOS/Windows Status: Begginer Q/ How do I comunicate 2 diferent app, what I want is to call one program from another one, and get an answer from the second one, maybe send another call depending on the answer. For example, comunicate with mysql, … | |
I have created a dialog based window gui with a progress bar, browse cd, and extra misc. push buttons for linking to an exe file. So far everything compiles and runs fine, however I am a absolute beginner at any kind of programming and have know clue as to implement … | |
Is there a way to lable a section of code so if a choice is entered it will take the program to a certain peice of code? | |
Hi part of a homework . I got a lek in this code when using string for parsing I do not 'have' to use string.. it just seemed comfortable input is of the form 2*x**6+term+term+... [ full source code availabe if that helps ] [CODE]#include <string> //possibly causes memleak - … | |
Hi part of a homework . I got a lek in this code when using string for parsing I do not 'have' to use string.. it just seemed comfortable input is of the form 2*x**6+term+term+... [ full source code availabe if that helps ] [code] #include <string> //possibly causes memleak … | |
My company, Neuron Computing, started a beta program for our suite of developer tools. We are looking for developers to participate in our pre-release program, tell us what they think, report bugs, features they think are missing and/or would be nice to have etc. Some of the key features of … | |
Hi everyone, I would like to know how to copy text from a console to the clipboard using C++. Thanks | |
hi! I have a problem about "[B]polynomial class[/B] ".when I Insert the firend function "operator<<" in the program.it doesn't run and have 5 error about missing ";" in private member :"_degree" and missing ")" in first line(prototype) of friend function "operator<<". why this program have this ERRRS???!!! :( can you … | |
Hi i am learning C++ i typed the following programm it is asking me to enter the age , when i enter age and hit eneter button it is generating the following message test2.exe has generated errore and will be closed by windows you will need to resterat the programm … | |
please help me, am confused in the memory bit, all i want is 32 k memory free and each time i add something and run it, it will say for example 27 k memory left how to i make this program only have 32 k memory, for example At the … | |
Hello just had a m8 round and he reckons that this is a string: char data; I told him no its not to start a string it must be char data[]; cin << data; with the inclusion of the header files, is he correct or am i? | |
Hello, As will become quickly & painfully evident, I am new to "C" programming and trying to teach myself. I am trying to use scanf function to get numeric input from the keyboard. My code looks like this (NOTE: Please forgive syntax errors as I am not copying and pasting … | |
Hello 2 questions..... 1) I just tried to code a switch statement with a stribg but my compiler throws up error messages.... 2) Is they anyway I can convert a string to an int and then back to a string? cheers | |
Ok, i know my program is probably all done incorrectly and thier are probably eaiser ways but, it works for me so.. I have an error and i cant find out what it is. Can anyone tell me? [CODE]//Game Project 1 #include <iostream.h> #include <conio.h> #include <iomanip.h> #include <stdlib.h> main() … | |
I am using linux. I ve already tracked down the code, and I know which class instantiation is causing the problem. But I cannot go further than that, since the same code used to work before I did an upgrate of the opensource framework over which I am developing a … | |
I just moved to windows XP and got myself Visual Studio .NET Professional. I just need Visual C++ .NET and nothing else. The installer gives these options and i dont know which components i need and which i dont. 1. Visual C++ Class & Template Libraries ATL MFC Shared Libraries … | |
I have to write a function to find the circumference of a circle. I am having problems cause I dont have any idea how to do that. I know ya'll like to have some kind of showing of my own program the only thing is that I dont understand what … | |
Hi - I'm not sure if this is the right forum to ask my question, so let me know if it is not. I'm trying to write a program than can take two audio files (e.g. WAV) as inputs, compare them, and spit out a number that tells you how … | |
Hi i am trying to start doing C++ programming when i write a simple hello programm it is compiling correctly and the out put window is not staying on the screen , i am unable to see it it is suddenly disappearing can any one help me | |
hello. Sorry for the long post. My ultimate goal is to make a program that can read text off a website, if told the url, when to start reading, and where to stop, and then write the text to a textfile. This is all easy once I am able to … | |
Hi, just wanna ask if c++ opendir,readdir and closedir code can be implemented in visual c++, i have resently started using this complier and dunno what libraries have changed and if some of these sentences are still valid, and if u can recommend me some kind of "migrating c++ to … | |
Hello, I've got a big query ... I wold like my code to do something but I don't think I'm doing it right. Basically it checks 1 string with another and prints true or false.... However I want to restrict what is inputted into the string. So you'd have string … | |
Hello just finished re- reading chapter 3...about functions... I learnt more of this from reading it when i was at home than when im at uni! Amazing!! However I get a compile error saying 'not all control paths return a value' heres the code: [php] #include <iostream> using namespace std; … | |
Hello, I am using dev-c++ on a windows computer. I download a gui package off of the bloodshed dev site. I installed and everything seem to work. I was making a simple gui off of this tutorial I found online that used the library. The library is wxWindows. Here is … | |
How to show a list of options and allow the user to select the options by using arrow keys and enter. | |
I have a question. Still trying to understand. I am using borland c++ vr 4.5. I am working on a project that usees the sleep function 4.5 does not support this function. Is there somewhere i can find a win16 version that would work in this program. tnx ron hathcock | |
i got my program to do stuff, but i wondered if i can take it to the next level... when a user enters a number of 1458.125478 i got it to do abs.... google is soo good!! but now im wondering if you could display just + or - depending … | |
i need some help, is there a program which will only have let say 40k of memory, for example a program that will use queues, when you enter a number it will say you have use 10 k memory , please someone help so me a example, please | |
I simply have to overload square brackets in order for a program to work. I know the syntax for 1-dimensional array. It goes something like this: class MyArray { private: int *arr; int size; public: MyArray(int s) { size = s; arr = new int[size]; } int & MyArray operator[](int); … |
The End.