49,761 Topics
| |
Hi! I have this simple movie-list that I wont work, I get compile errors on this simple program. Could someone please help me to get this to work, should be very simple for you guys =) Thanks in advance! Here's the code: [CODE]#include <iostream> #include <cstdlib> #include <fstream> using namespace … | |
Does anybody know a good tutorial on programming applications with multiple entry points in C++? I am designing an application in MSVC 2008 Express that will interface with an AS/400 system and process scripts to either feed data, extract data by reading the screen, or do custom tasks. I was … | |
Enviorment is TC. using grapphics.h . I am developing the board game LUDO as project in C++ Using OOP methodology. Right now I am drawing the Board. Now I want to draw various cells, of 30 pixels X 30 pixels at various places on the screen. I am drawing a … | |
I'm normally a VB.Net/C# guy but because of a third party dll that isn't working in .Net, I'm having to interact with it using C++. I'm able to read and understand (for the most part) C and C++, but I've never actually written any code in it. The third party … | |
Hello. I'm trying to develop a very simple user-based information system. For example, read a folder for .ini files and get the pInfo stuff for each different player. It's for a network game I'm developing. So here's a BASIC example. [code=c++] if( PlayerInfo[playerOne][pLeader] == 1 ) { cout << "Player … | |
i am writting program for digital calculator.and i have brought calculator image using graphics on outputscreenand i want to give dual interface of keyboard and mouse.how can i do that in graphics? thank you in advance. | |
I had a program that ran fine with Winsock. But that only works on Windows. So I decided to switch to SDL_net. I thought I did okay, no syntax errors or anything when I compiled. But on run the program froze up. So I read about various SDL functions. When … | |
Hallo, I must develop a Client application using (Qt) C++. The server application was developed by somebody. I need to register with the Server application to get data from it. I have problems here. Can anybody please let me know how to proceed. In order to register with the server, … | |
From people who know what wxWidgets is, I always here a lot of grief about how it is to simplistic, but compated to VB what do you guys think? Ive only ever worked with wxWidgets for a short period of timebut thougt it was very good. What do you guys … | |
Hello :) We are a group of 3 who has been given a task which we must develop our own little keylogger to monitor people such as employees in a company. Unfortunately, we encountered a small problem: We would like to hide the console, so you can not close it … | |
Hi im creating a cash register program. The user enter's the total price and the money given from customer and the customer's change is shown. It will tell the user what notes/coins to give to the customer. I could do this But the next part i have to do is … | |
1.write a progrm to initilize the integer, double and character type values in an array and then print their values on the sacreen? 2. write a program to calculate the average of n number&then compute the deviation of each number about the average 3.write a program to multiply a 5 … | |
in Windows Task Manager --> Processes there is a list of running exe files. I am going to write a program that lists these running exe files. How can I obtain the list? I use Windows XP :$ & Windows API!:) | |
i make a program to multiply 2 binarry numbers [CODE] #include <iostream> #include<string> using namespace std; void main() { string y,a; string S1="00000"; cout<<"plz ener two numbers"<<endl; cin>>y; cin>>a; cout << "Sting S1\t\t" << S1 << endl; cout << "S1.size\t\t\t" << S1.size() << endl; int n=a.length(); n=a[4]; if(n[4]==0) { string … | |
Hi..can anyone help me..debugging my codes.. when i compile and run it.. i dont get the accurate result..of sum and avg..can anyone help me telling where is the error?? thanks so much.... Here are the codes: #include <iostream> void getNum(int& num,int& sum); void doProcess(int num, int& sum, float& avg); void … | |
I have created this program, and it works fine for random values . But when I ever enter same Arrival time it gives error output ! .i.e arrivaltime bursttime p1 0 10 p2 0 6 now the problem is that instead of p2 running first p1 starts... plz help. Process.h … | |
hi, I am trying to validate a textbox that has a value of 1 and up so i am saying : [CODE]if (mytextbox.Text > 0) { }[/CODE] but it is not working any suggestions please bare in mind that the text has 0 as default value so i cannot say … | |
Hi guys:) I have an assignment about making an operand stack using c++ which receives a mathematical expression like ((3+2)*(5+6-2)) and the program gives the solve of that exp. the problem I have faced is how to change a character to an integer ? and how I can start? | |
Hi I need help with some C++ code. It's pretty basic, but my teacher will not help me. He keeps saying "Just one second, I'm helping someone else." And then forgets about me. It just gets frusturating. The code is very undeveloped though, I'm just trying to get all the … | |
I need Help!!:confused: I want to make a Welcome screen using C++ Graphics If You guys can help pls help me | |
hi every one I have project in c++ and I don't understand this program I want help please.[CODE][/CODE] | |
Hello, i'm having problem with this: I'm having binary square matrix, which i need to expand for given number (lets call it n). This should look like this- if dimension of matrix is 2x2 and n is 2. I should check which numer is in first matrix - if it's … | |
[CODE] if(m_playSound) { const char* soundToPlay = layout->GetWinName(); char* soundTemp = NULL; if(m_playAltScatterSndSymbol != -1) { for(int i = 0; i < layout->GetNumPositions(); i++) { ReelWinSymbolPosition* rwsp = layout->GetReelSymbolPosition(i); for(int i = 0; i < layout->GetNumPositions(); i++) { ReelWinSymbolPosition* rwsp = layout->GetReelSymbolPosition(i); if(rwsp && rwsp->GetSymbol() == m_playAltScatterSndSymbol) { if(m_alternateScatterSndSymbolName && … | |
how to make a my program to finish repeated the loop when the user enter the sentinel value?? for example the "-1"... this is my attempt..but still something wrong here.. [CODE] #include <iostream> using namespace std; int printreverse(char letter_box[],int i) { for (int x=i; x>=0; x--){ cout<<letter_box[x]; } } char … | |
how could i make a triangle thatgot spaces/hole at it's centre.. : for example like this : ---------------- * --------------*----* ------------*--------* ----------*------------* ---------*********** -->> which the "------" is actually the space... i've tried working with this code but its not working :( : [CODE] #include <iostream> using namespace std; int … | |
The program gets the hexdump of a file and saves it in a text file (temp.txt). The program should then get the contents of temp.txt and two other text files (virus1sig.txt & virus2sig.txt) and display them. The problem is only the contents of virus1sig.txt & virus2sig.txt are being displayed. Thank … | |
| |
Hello, this is my first time here, although I have hit this website many times on google looking for quick fixes to my problems. I am a student in high school and I persuaded my teacher to let me study c++ (as opposed to 3ds max). I have been working … | |
Hi, I want to create a virtual partition inside a hard disk. This partition should be usable for booting purpose. Please help me out in this regard by providing me source code in C/c++. Bye... | |
i have to do a code that takes the word from the user and seperate them from uppercase and lowercase. i had done the code, but the words that are printed out are not as aspected (symbols) [CODE]#include<iostream> #include <ctype.h> using namespace std; int main(){ int i=0; int total_char=0; cout<<"enter … |
The End.