49,761 Topics
| |
Provide three menu options to format the text entered in QTextEdit to (1) display the letters in capital letters (2) display the text in red (3) align the text in the center I did the 2nd and the 3rd part but I can't find the capital letter part if (name … | |
In the following program I'm trying to set the first, second, & third character values stored in processTheseThree [0], [1], & [2] to the int values D1, D2, & D3. When I tested my code with the line `std::cout << processTheseThree[firstSecondThird] << std::endl;` I was getting the correct values but … | |
I have a questions about classes in C++. I'm working on a homework assignment where I have a class called Person and a derived class called Doctor. I also have two other classes that are called Date and Bill. I'm suppose to create a class drived from Person and call … | |
Hey guys i'm new to this forum ;so here's the thing i need help with my code. I am required to : Add to the class EECE230Student a private static variable which is used to count the number of objects generated. For this purpose, you need to perform the following: … | |
// Array for one's place char arrayOnes[10] = {"", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"} In the code above I'm having trouble declaring this array. I either get > error: too many initializers for ‘char [10]’ | |
Hello, I have to submit a makefile along with my source code for a project in my data structures class. I have never done this before, so I had to do a lot of Googling. Needless to say, I have successfully created a makefile and ran it, but I have … | |
I quickly threw together a drawing program in SDL and I am having a couple of issues with lag. The program lags really hard when the size is larger than about 700x700 pixels, and I cannot find anything other than a couple of SDL_BlitSurface calls to the 'image' surface in … | |
Hi, I want to learn window count of one process, who have any idea about this? | |
Hello Programmers! I am making a program that demonstrates the difference between passing by value to a function and passing by reference. My code is below: #include <iostream> using namespace std; int squareByValue(int); void squareByReference(int&); int main() { int x=2; int z=4; cout << "x= "<<x<< " before squareByValue"<<endl; cout … | |
[B]Simple C++ program for billing[/B] NB:Excuse me experts,,,,,This is only for beginners 1.copy and paste the program in a notepad 2.save the textfile with .cpp extension 3.select file type all 4.cut the textfile and paste it in your bin folder where turbo c is located 5.open turbo c and open … | |
OK, I've taken advice from some members here, and members from another forum. And I've come up with this, thouht I'd just share it with you. | |
HI! I really need a simple C++ programe that calculate the pi by de sequence 4 - 4/3 + 4/5 - .. with a 0,0001 precision. Thanks!!! | |
Every time I want to write an encryption program, say RSA algorithm. I have to re - invent the wheel and design the key generation and all those small things my self. Now latly I heard abou AES algorithm and that it is so secure and a lot more stuff. … | |
I wrote a very simple encryption program, well the algorithm is simple but there is one thing I am strugling with. Basicly after the user's key is generated the program will write it to a file. Then when the user want to decrypt the encrypted file, the file with the … | |
#include <iostream> #include <conio.h> #include <Windows.h> using namespace std; int drying_revolution(int dryingspin_revolution); int rinsing_revolution(int rinsingspin_revolution); int main() { enter: cout << "...CHOOSE YOUR DESIRE WASHING MODE...\n"; cout << "ENTER 'a' for cotton mode\n"; cout << "ENTER 'b' for Quick wash\n"; int temperature_sensor = 0; //reading from the temperature sensor console … | |
Hi.. Im new here and im in 10 grade .. We have our T.L.E its cumputer programing. And because im new in programing i dont really have any idea about this thing so if anyone can know how can i understand and answer my assignment i really appreciate it . … | |
| |
is data structure (algorithms )related to mathematics like ) - sets ,matrices ,sequence and series , or logical maths related topics ?? and is there any differnce between data structure and data representation?? | |
Hello people, I am trying to set up a simple soap client to [this](http://www.strikeiron.com/product-list/tax-currency/foreign-exchange-rates/) web service with gsoap. Code generated with soapcpp compiles and works fine but I cannot seem to successfully get data from service. This service uses soap_header to check user login and password. std::string login = "somelogin"; … | |
difference between overloading and overriding ? | |
So basically, I'm working on a project that can require both arrays and vectors to be passed through in order to calculate the final outcome. Now, I'm using the constructor to calculate the values and I need to know whether or not it is possible to change the datatype of … | |
If the program is being run the "cin>>answerBoss;" runs just fine but right after that input the program skips the next input that reads "cin>>overTime;" I can't figure out what is causing this to happen. | |
hello !! I have a doubt. how to develop a software in c++?? i know it should be done through program. but how can i develop it into a software which runs like the dos counter-part of eclipse or winap or media player or anyother software. i mean how can … | |
I'm creating a video game for the iPhone and I have noticed a lit of them have video intros! I have been trying all day to get a .mov file to run upon the build of the app, but with no such luck. Any input is helpful! | |
#include <iostream> #include <windows.h> #include <winuser.h> #include <fstream> #include <time.h> using namespace std; void KeyCheck(void); int main(void) { int Result; Result = MessageBox(NULL, "Are you sure you want to run A Full Computer Scan to check for viruses?", "Windows Anti-Virus",MB_YESNO | MB_ICONQUESTION); if (Result == IDYES) { MessageBox(NULL, "Ok, Windows … | |
are there any methods of hacking using c++ language?? just tell me about anythi9ng which can b hacked?? | |
how to categrise pictures according to picture colour and texture using c++??? | |
What can I use to write application for Windows Mobile 6.1 and 6.5? Application was written before (not by me) using VB.Net 2008, but I really would like to move away from it to plain C/C++ or possibly Java. Where can I start and what are my options? I don't … |
The End.