49,761 Topics

Member Avatar for
Member Avatar for annitaz

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 …

Member Avatar for triumphost
0
153
Member Avatar for lewashby

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 …

Member Avatar for vijayan121
0
230
Member Avatar for dirtydit27

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 …

Member Avatar for tinstaafl
0
266
Member Avatar for ??!!

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: …

Member Avatar for phorce
-1
250
Member Avatar for lewashby

// 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]’

Member Avatar for mike_2000_17
0
177
Member Avatar for rofln

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 …

Member Avatar for rofln
0
127
Member Avatar for Labdabeta

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 …

Member Avatar for Labdabeta
0
205
Member Avatar for efe.ozyer
Member Avatar for Suzie999
0
174
Member Avatar for nathan.pavlovsky

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 …

Member Avatar for nathan.pavlovsky
0
204
Member Avatar for rajesanthu

[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 …

Member Avatar for Monu_1
-4
10K
Member Avatar for Echo89

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.

Member Avatar for dexblack_1
0
224
Member Avatar for marcelopb90

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!!!

Member Avatar for tinstaafl
0
71
Member Avatar for MasterHacker110

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. …

Member Avatar for MasterHacker110
0
229
Member Avatar for MasterHacker110

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 …

Member Avatar for MasterHacker110
0
196
Member Avatar for alaba81

#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 …

Member Avatar for Vincentas
0
131
Member Avatar for no_one16

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 . …

Member Avatar for kvahanyan
0
151
Member Avatar for Abhinisha
Member Avatar for Vincentas
0
148
Member Avatar for Abhinisha
Member Avatar for hackoman96

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??

Member Avatar for Abhinisha
0
155
Member Avatar for Abhinisha
Member Avatar for kvahanyan
0
87
Member Avatar for kvahanyan

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"; …

Member Avatar for kvahanyan
0
650
Member Avatar for Abhinisha
Member Avatar for phorce

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 …

Member Avatar for vijayan121
0
198
Member Avatar for Lp_baez

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.

Member Avatar for Nutster
0
249
Member Avatar for arunkishorres

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 …

Member Avatar for arunkishorres
0
249
Member Avatar for Lamp II

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!

Member Avatar for Ancient Dragon
0
51
Member Avatar for me.rohitverma

#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 …

Member Avatar for Moschops
0
276
Member Avatar for hackoman96

are there any methods of hacking using c++ language?? just tell me about anythi9ng which can b hacked??

Member Avatar for TheApex
-2
172
Member Avatar for hackoman96

how to categrise pictures according to picture colour and texture using c++???

Member Avatar for mike_2000_17
0
167
Member Avatar for kdar

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 …

0
114

The End.