49,761 Topics
| |
Hello, my name is David, and I want to create a program that will take an audio file, generate the WMP visualizations, apply some modifications, and save it to an AVI file. How can I do that? Thanks in advance (-: | |
How can i disable or hide mfc application taskbar icon? seems like "ShowInTaskBar = false"; | |
Given this header // header.h #include <string> namespace company { namespace module { class ProjectConstants { public: static const int CONSTANT1; static const std::string CONSTANT2; }; } } and this source file // header.cpp #include "header.h" using company::module::ProjectConstants; const int ProjectConstants::CONSTANT1 = 10; const std::string ProjectConstants::CONSTANT2("Hello World"); Are ProjectConstants::CONSTANT1 and … | |
# Hello Daniweb Users, # I am a highschool student and is corrently doing a project in **C++**. My project is a simple bank management system. I want my program to generate random account numbers for new users. But in a single run i am able to generat only 1 … | |
what are nested classes? and flush program and poker program .. using a suitable program ..kindly tell me?? | |
I'm just wondering what everyone thinks about building from the command line. I've been using Code::blocks with a MinGW compiler but there always seems to be a myriad of problems in building projects. I'm starting to become a little fed up with it's querks though it is probably partially my … | |
I am currently learning c++ on my Mac started with eclipse and playing with Qt some recently. I am wanting to switch over to Linux. I was wondering what is the recommend Linux destro that c++ programmers are using. I will need to do some GUI programming. So I guess … | |
how come compiler is displaying this problem even though I've declared the array. #include <iostream> #include <conio.h> using namespace std; void toBinary(long long decimal, int binary_number_array[], int & NumBinaryBits); int main() { long long decimalNumberToConvert[1] ; cout<<"Enter a decimal number"<<endl; cin>>decimalNumberToCovert[1]; int sizeBinaryNumber, binaryNumberArray[100]; toBinary(decimalNumberToConvert, binaryNumberArray, sizeBinaryNumber); //Printing out the … | |
Hello ! I have a script, that i m running on visual C++ compiler everything is alright with it, working properly but in the result, I can see on one digit after decimal, not 2, i wanna display two digit i.e 31.02 ; Code is; # include <iostream.h> # include … | |
Hello, First of all I want to thank all the help with my posts. I have a program where I have to convert a phrase from lower case to upper case, but I cannot use any of the toupper() isupper() functions and vice versa. I think I almost got it, … | |
Hello, I have a program assignment that I have no idea what it's asking for honestly. I've tried to read all I can about it, but I do not understand. I tried my hand at some code, but it's only returning the address of course. Here is my attempted code: … | |
Hello I have 4 problems to solve out of 4 I solved 3 but problem mention below is painfull, I am not able to find how I will interchange the '+' '-' operator. I need some code. I am using Turbo C++ Write a C++ function having two value parameters … | |
I have a class cyclotomic{public: int p; int *cyclonumber; ??? createZetas(void} Obviously there is more to the class. For intance when a class is constructed, the cyclonumber pointer is newed into an array of size p-1. Everything is public. The function createZetas is supposed to create and return a newed … | |
Would anyone know where I could get a really extensive coverage of pre-processor directives? There are plenty of websites but the information is limited. Was hoping there was a complete source like a book out there. Thanks everyone. | |
Hellp programmers! I'm trying to create a program that displays the impact of changing the rate of compound intrest using the historical example of Manhattan's aquisition as an example. The code is below: int main() { double amount=0; //amount on deposit at the end of each year double principal=24.00; //initialize … | |
Right now, this program asks the user to enter the input infile and outfile file names. Then it gives an error if it can't open the file. If it can open infile, it reads the first value and consider that as the array size. After that it continues with other … | |
#include<iostream> using namespace std; class A { int a[]; }; int main() { cout<<sizeof(A); return 0; } | |
Hi, Please tell me in the following question why no copy constructor is called when fun returns the A object. While returning b and constructing c, there is no copy constructor called. Why?? #include<iostream> using namespace std; class A { public: A(){cout <<"Default\n";} A(const A&){ cout<<"copy\n"; } A fun(A a) … | |
Hello I encountered following info at [this page](http://en.wikipedia.org/wiki/Call_stack#Overlap): For some purposes, the stack frame of a subroutine and that of its caller can be considered to overlap, the overlap consisting of the area where the parameters are passed from the caller to the callee. In some environments, the caller pushes … | |
OK, I have an idea of what I might do: I'm planning on making a Event handling system, and this is how I will connect events to functions and be able to send any type of data. This is the basic idea: #include <iostream> template <class T> T *from(void *data) … | |
Error 2 error LNK1120: 1 unresolved externals Error 1 error LNK2019: unresolved external symbol "bool __cdecl identical(class cv::Mat,class cv::Mat)" (?identical@@YA_NVMat@cv@@0@Z) referenced in function _main this is the error i am getting...tried a lot but still couldnt corrrect it...referred many sites, a guy had this same error but nobody managed to … | |
Here is what I want this program to do: Be able to calculate mean, standard deviation, and median. Data should be sorted using insert sort first though. The program must be able to accept input from an input file and print a report to an output file. These files are … | |
| |
Dear what is the difference between . and -> in C++ and where we have to use these. regards Nouman | |
Hi All, Why the output of the following program is 0231?? Please resolve my doubt. #include <iostream> using namespace std; class B { int data; public: B() { data =0;} int func(){cout<<data++;return data++; } }; int main() { B b; cout<<b.func()<<b.func()<<endl; return 2; } | |
I am trying to display the files and folders in a directory. And if the folders have a nother folder, display those contents also, and so on. I have this code but it isn't working the way I would like it to: #include <Windows.h> #include <string> #include <iostream> using namespace … | |
Hi all! I'm trying to get some inspiration on how to make a simple e-mail program either very simple or with extra extensions. Please give me som inspiration people ;) Thanks! | |
#include<iostream.h> #include<fstream.h> class studentinfo { private:/*Creating Private Data Members */ char* VUID; char* campusID; char* Studentname; char* Fathername; public: void Storefile();/* Function to Store Data in the File*/ char Display();/*Function to Read and then Display Data from the File*/ studentinfo(char*, char*, char*, char*);/*Constructor to initialize Data Members*/ ~studentinfo(); }; /* … |
The End.