48,985 Topics

Member Avatar for
Member Avatar for xxraveteddyxx

i have dev 4.9.9.1...i will create a win 32 console application.. write some code omething basic like... //REMAIN.CPP #include <iostream.h> //necessary for cin and cout commands int main() { int dividend, divisor; //get the dividend and divisor from the user cout << "enter the dividend "; cin >> dividend; cout …

Member Avatar for alc6379
0
207
Member Avatar for jmj8@duke.edu

Can someone point me to a how-to to overload the matrix bracket operators in C++? I have a class that I want to iterate over like you would a matrix, calling image[row][col]. Thanks! - Josh

Member Avatar for jmj8@duke.edu
0
74
Member Avatar for 3246251196

take a look at this code: --- void redundant_var() { char user_name[]=""; cout<<"insert name: "; cin>>user_name; swap_name(user_name); //another function not seen } --- now, the following code works fine, but i am SURE there is a away to pass in user_name without the need of storing it in a temporary …

Member Avatar for 3246251196
0
238
Member Avatar for free_eagle

Hello everyone... One of my friend strongly recommended me this Forum I see here I can get much useful things ... So actually I am new for programming and I just started learining C# language few weeks ago , now I got some understanding in C# ... I really need …

Member Avatar for free_eagle
0
95
Member Avatar for jingchak
Member Avatar for crq

hi there. i am new to C++ AND unix. this assignment that i have is really really easy, but the specifics of C++ and getting around in Unix is making it really hard and time consuming. i have a really small program that should be working, but i am getting …

Member Avatar for 1o0oBhP
0
512
Member Avatar for babablacksheep

Hello All, I'm very new to C++ and programming in general and am having probelms with an assignment i have been set. I've been using ?Blood dev C++? ( i dont know if this is any good?) I have basically finished the program and am getting one syntax error that …

Member Avatar for Narue
0
138
Member Avatar for giedz86

**I use Microsoft Visual Studio .NET 2003's compiler I having trouble trying to create a 10x10 2D array. The user is supposed to give me a starting number and then it fills the array from top to bottom with ascending numbers. I am terrible at arrays and this task doesn't …

Member Avatar for Narue
0
114
Member Avatar for xxraveteddyxx

this prog. is supposed to demonstrate a strcpy error...however im getting an error and it wont run....once again im suing a dev c++ bloodshed compiler. and heres my code....once again i know it has a strcpy error thats the reason for writting the program..to demonstrate a char array overflow. strerror.cpp …

Member Avatar for Narue
0
103
Member Avatar for broken_recode

I have this recurring (read annoying) problem with Turbo C++. I've a program which uses graphics, and for some reason, the minute I run the program, it exits TC with a dialog box saying: "This program has performed an illegal operation and has to exit." The illegal operation on inspection …

Member Avatar for Narue
0
184
Member Avatar for sykobag

I have been working on updating a program that was written by someone else in Microsoft Visual C++ 6.0 to Microsoft Visual .NET 2003 (7.1 compiler). After fixing all of the minor syntax errors I came accross one that I wasn't real sure about: c:\DFC\dfc\source\DFCTfo.hpp(422): error C2491: 'DAssociationFile<KEY,VALUE>::getNextAssociation' : definition …

0
96
Member Avatar for xxraveteddyxx

i need some direction for a decent free c#/c++compiler...please advise.

Member Avatar for Dave Sinkula
0
203
Member Avatar for burumun

I received this message while compiling a program w/ multiple header/.cpp files : c:\Documents and Settings\Fiona Chandra\My Documents\CS32\Project1\CombinationLock.h(0) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for …

Member Avatar for Narue
0
90
Member Avatar for Tester2

I am learning/relearning C/C++. I have created a template class with various working functions. I have a problem when I try to use code that works for a char datatype with an AnsiString. If I call a template class function by calling a template function and passing a variable "Data" …

Member Avatar for Narue
0
162
Member Avatar for blackhawk

There is no support for the inport and outport functions in borland C++ win32. Are there any alternative functions avaliable.

Member Avatar for Dave Sinkula
0
175
Member Avatar for dj_saxy

Hi i'm new to c++. I can sort of make simple programs, but everytime i try to making a program with a GUI the black windows box keeps coming up and sitting in the background. Does anyone know how to get rid of it? I've found some snippets on other …

Member Avatar for dj_saxy
0
101
Member Avatar for Guppy25

I've created a class Fraction and am trying to use it in a main () but keep getting an error in my compiler that says "main must return int". My teacher says it's fine but i need to compile and run so i know that it works. Any suggestions? Thank …

Member Avatar for murschech
0
121
Member Avatar for freesoft_2000

Hi everyone, I just came home from a software conference in nagoya, Japan where they had any kind of software you can think of on this planet. There was one talk i went for and i think its quite interesting to have it discussed fully here. Alot of the companies …

Member Avatar for alc6379
2
2K
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
157
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
152
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
89
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
137
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
104
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
154
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
119
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
135

The End.