49,761 Topics

Member Avatar for
Member Avatar for Tester2

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 …

Member Avatar for Tester2
0
169
Member Avatar for bertlef

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, …

Member Avatar for bertlef
0
142
Member Avatar for ispep

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 …

Member Avatar for Dave Sinkula
0
83
Member Avatar for Programmer88

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?

Member Avatar for Coconut Monkey
0
154
Member Avatar for danissl

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 - …

Member Avatar for alc6379
0
90
Member Avatar for danissl

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 …

Member Avatar for jwenting
0
110
Member Avatar for neuronco

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 …

Member Avatar for neuronco
0
140
Member Avatar for Mahen

Hi everyone, I would like to know how to copy text from a console to the clipboard using C++. Thanks

Member Avatar for 1o0oBhP
0
108
Member Avatar for compeat

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 …

Member Avatar for Narue
0
155
Member Avatar for gtsreddy

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 …

Member Avatar for 1o0oBhP
0
196
Member Avatar for helloworld

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 …

Member Avatar for Narue
0
124
Member Avatar for Acidburn

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?

Member Avatar for geeeez
0
138
Member Avatar for goforit

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 …

Member Avatar for Narue
0
174
Member Avatar for Acidburn

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

Member Avatar for 1o0oBhP
0
238
Member Avatar for Programmer88

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() …

Member Avatar for Programmer88
0
173
Member Avatar for luizebs

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 …

Member Avatar for Chainsaw
0
148
Member Avatar for Asif_NSU

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 …

Member Avatar for Asif_NSU
0
149
Member Avatar for kellyandtopher

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 …

Member Avatar for frrossk
0
120
Member Avatar for driverside

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 …

Member Avatar for Chainsaw
0
110
Member Avatar for gtsreddy

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

Member Avatar for vegaseat
0
145
Member Avatar for brouhaha

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 …

Member Avatar for brouhaha
0
212
Member Avatar for diegomoreno

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 …

Member Avatar for vegaseat
0
228
Member Avatar for Acidburn

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 …

Member Avatar for Narue
0
215
Member Avatar for happyHour

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; …

Member Avatar for 1o0oBhP
0
160
Member Avatar for Dark_Omen

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 …

Member Avatar for Dark_Omen
0
210
Member Avatar for chound

How to show a list of options and allow the user to select the options by using arrow keys and enter.

Member Avatar for vegaseat
0
186
Member Avatar for blackhawk

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

Member Avatar for vegaseat
0
294
Member Avatar for Acidburn

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 …

Member Avatar for 1o0oBhP
0
410
Member Avatar for helloworld

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

Member Avatar for 1o0oBhP
0
162
Member Avatar for broken_recode

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); …

Member Avatar for Narue
0
2K

The End.