49,761 Topics
| |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
| 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. |
| |
[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 … | |
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 { … | |
hello people am new to c++ i dont have much knowledge about it what is the best book for a new comer to C++ | |
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); … | |
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.... … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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' … | |
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 … | |
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; … | |
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 | |
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 … | |
My question is as the title indicates Thanks | |
i use C++ builder 6 and i need ideas to calculate for template matching using FFT.... | |
Hey people, does someone know program that can open something.X files and that is big about 2GB? thanks appologies for post here. | |
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 >> | |
: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....:?: | |
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 … | |
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 … |
The End.