49,761 Topics

Member Avatar for
Member Avatar for F.T.L.O.T.G

I know a lot of students get on here and post threds trying to get others to do their homework, but i truly need help! I am looking for someone who is willing to tutor me by Im, e-mail, phone or anything. I have a coke machine project due next …

Member Avatar for Salem
0
224
Member Avatar for depsch

How do I call a function without actually sending any values for its arguments? For example I have the function [code] int Test ( int a, int b) { b= a * a ; } [/code] then I call this function from some place in the program, [code]Test (??,??);[/code] What …

Member Avatar for Ancient Dragon
0
58
Member Avatar for LegerdemaiN

How can I get a program to find and extract an email adress from a line and replaces the @ sign with 'AT'? I just started learning c++ and have run into a wall. I can get my screen to display everyhing from the @ sign to the end of …

Member Avatar for LegerdemaiN
0
90
Member Avatar for jippijey

hey, I'm setting up an irc-bot. this bot is connected to a 42" plasma and shud print text on the screen. the text it shoud print is whats beeing writen in the irc chanel. I've got the logger, i just need to print the log files(.txt) in the exe file …

0
47
Member Avatar for edek

I'd like to know how does Visual C++ copes with 'static initialization dependency' which is a problem which occurs when you have two(or more) files/ translation units, in one you have static global object and in other an reference to this object. When the second file will be compiled first …

0
56
Member Avatar for GreenDay2001

I am Turbo/Borland C++ programmer. I could write c++ programs. However I don't know Visual C++, and I have Visual C++ 6.0. What should be my first and next steps to learn Visual C++. Are there any online eBooks and tutorials. If so please tell me.

Member Avatar for WaltP
0
100
Member Avatar for friendz_
Member Avatar for Ancient Dragon
0
52
Member Avatar for shadowmoon

[quote] // play a wave file sound using the winmm library // For DevCpp add the library libwinmm.a to linker via // Project/Project Options/Parameters/Add Library // remember this is a console program! #include <iostream> #include <windows.h> // for PlaySound() #define SND_FILENAME 0x20000 #define SND_LOOP 8 #define SND_ASYNC 1 using namespace …

Member Avatar for andor
0
481
Member Avatar for lalalu

im trying to create a structure that contains an array of structures but i keep getting error when compiling the code (corrupt stack). just to make sure, is my struct code correct? [code] typedef struct status *StatusPointer; struct status { int item; }array[MAX_NUM]; typedef struct allStatus *AllStatusPointer; struct allStatus { …

Member Avatar for lalalu
0
984
Member Avatar for jordan2005

hello people am new to c++ i dont have much knowledge about it what is the best book for a new comer to C++

Member Avatar for Ancient Dragon
0
99
Member Avatar for amishosh

Hi! I've tried to split it up a program I made for school into 3: header.h: has the functions declarations. func.c: contains the fundctions body. body.c: uses the functoins. Here's my code: [code] /* header.h */ void kelet(char *p); void copy(char *p1,char *p2); void insert(char *p1,char *p2); void reverse(char *p1); …

Member Avatar for Anonymusius
0
150
Member Avatar for gobiv

I need to write simple program in C++! I need to write program that read information from file,which contain <50,students name and respective score.My program need to calculate average score and print out students name,who get below average mark to screen!But,i don''t know how to use string to do it.... …

Member Avatar for gobiv
0
110
Member Avatar for chicagoavonlady

Could somebody help me understand what this is asking for? I have tried different c++ codes and I don't think im reading it right... NOTE: IM NOT ASKING FOR THE ACTUAL CODE... I want to try and figure this one out 1st....but I don't think the way I'm reading it …

Member Avatar for chicagoavonlady
0
108
Member Avatar for Mistro116

I want to do something like this: class foo { private: class foo2 { ... void Print (ostream & out) .... }; ostream & operator << (ostream &out, const foo & temp); public: ... } I want it so class foo can cout << foo2 objects only in the foo …

Member Avatar for Mistro116
0
119
Member Avatar for mlawson22

Im so lost in this C++ class I have a vague idea of what to do but am getting myself confused. If anyone would help me get started on doing this assignment I would greatly appreciate it. :sad: Assignment: A mail order house sells five different products whose retail prices …

Member Avatar for WaltP
0
239
Member Avatar for Sashar400

Hi I am new to this forum and to c++.I am having problems reading data from a txt file into a 2d array. The data is in the file like this 1 5 87 3 3 24 2 4 62 4 2 22 I am only suppose to read in …

Member Avatar for Ancient Dragon
0
218
Member Avatar for moussa.eltayeb
Member Avatar for Ene Uran
0
80
Member Avatar for Clinton Portis

I am writing a simple program.. enter first and last name and a search is performed.. and their phone number (if found) is returned. I have used vector class iterators before a couple of times.. but devcpp does not seem to like this code.. and stops compilation somewhere inside of …

Member Avatar for iamthwee
0
125
Member Avatar for Barefootsanders

Hey everyone. I dont know if anyone here can help me but I run a site powered by the Joomla CMS. I wanted to design a component for my site and I was wondering if i could use C++ to design it instead of PHP and just use the 'system' …

Member Avatar for Barefootsanders
0
103
Member Avatar for Barefootsanders

Hey guys. Ive been trying to write this program for a while and I keep getting errors on line 78, "Circle undeclared." I think it has something to do with the constructors and templates. I dont think im calling it right. Can someone take a look at it for me …

Member Avatar for Barefootsanders
0
129
Member Avatar for doraemon

I just start learning C++. I thought I can access an integer array by using pointer arithmetic method. why does the first program work but the second one does not??? [code] #include<iostream> using namespace std; int main() { int array [5], i, *p; for (i = 0; i < 5; …

Member Avatar for rowly
0
144
Member Avatar for amishosh

Hi! On different occassions (random as much as I can tell) the "gets" command does not work. The compiler simply skips it and moves on to the next code line. Like I said, other times it does work. Any suggestions? Thanks Ami

Member Avatar for ~s.o.s~
0
297
Member Avatar for hoosier23

If I were to overload the subscript operator, aka '[]', it would probably look something like this: [code] int &operator[](int); [/code] If I filled this array with 10 digits.. 1.2.3.4, etc... How could I return the largest digit, and then the next largest digit? etc... I'm not sure if a …

Member Avatar for iamthwee
0
188
Member Avatar for TJW
Member Avatar for kaka_shi
Member Avatar for Gigs_

Hey people, does someone know program that can open something.X files and that is big about 2GB? thanks appologies for post here.

Member Avatar for ~s.o.s~
0
116
Member Avatar for dhaya

i need a program urgently for round robin schedulng algorithm using circular linked list implementation.. please send a program using c++... post the prg to my mail id.. << moderator edit: removed email address >>

Member Avatar for Paul.Esson
0
1K
Member Avatar for shiman999

:cool: can any one help me to get the latest version of borland C++/ turboC++, which is fully funcional.... plz help me.... i am planning to do project in C++... which shuld have a complete features.... i have turboc3 compiler..... plz any latest....:?:

Member Avatar for Ancient Dragon
0
141
Member Avatar for dev.cplusplus

Hi to all, I don't now if this is the rigth place, but I will ask anyway. I'm trying to improve the performance of my ISAPI application (written in C++), I'm looking for information to read in the web but I dind't found much, I was wandering I you have …

Member Avatar for dev.cplusplus
0
87
Member Avatar for Niklas

I am trying to make my program more easy to use and not have computer illiterate people struggle to install my program. My question is can a C++ program install ITSELF into another directory upon execution. I want the program to run, but I also want it to make a …

Member Avatar for iamthwee
0
153

The End.