49,761 Topics

Member Avatar for
Member Avatar for foxmulder

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 …

Member Avatar for foxmulder
0
184
Member Avatar for sirdanman10

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 …

0
115
Member Avatar for mir_sheely

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 …

Member Avatar for SHAHEER BANO
0
810
Member Avatar for Stevoni

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 …

Member Avatar for Ancient Dragon
1
228
Member Avatar for metalclunch

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 …

Member Avatar for metalclunch
0
1K
Member Avatar for Amol Ranjere

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.

Member Avatar for SideTruth
0
119
Member Avatar for azjherben

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 …

Member Avatar for nezachem
0
149
Member Avatar for thisismyuname

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

Member Avatar for nezachem
0
557
Member Avatar for clutchkiller

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 …

Member Avatar for clutchkiller
0
88
Member Avatar for HolstebroTS

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 …

Member Avatar for HolstebroTS
0
69
Member Avatar for dp20

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 …

Member Avatar for WaltP
0
566
Member Avatar for IT seeker

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 …

Member Avatar for Narue
-1
103
Member Avatar for CppBuilder2006

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

Member Avatar for marco93
0
310
Member Avatar for defeater_man

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 …

Member Avatar for jonsca
1
149
Member Avatar for ireimaima

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 …

Member Avatar for ireimaima
0
2K
Member Avatar for ahmedshayan

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 …

Member Avatar for kashifhameed88
0
159
Member Avatar for sam1

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 …

Member Avatar for sam1
0
78
Member Avatar for lucky_43

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?

Member Avatar for shreyajain33
0
102
Member Avatar for capsown

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 …

Member Avatar for Salem
0
202
Member Avatar for dsakhare

I need Help!!:confused: I want to make a Welcome screen using C++ Graphics If You guys can help pls help me

Member Avatar for iamthwee
0
57
Member Avatar for faisal f

hi every one I have project in c++ and I don't understand this program I want help please.[CODE][/CODE]

Member Avatar for Nick Evan
-2
236
Member Avatar for neshaa

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 …

0
41
Member Avatar for samweb$

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

Member Avatar for Salem
0
87
Member Avatar for samsons17

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 …

Member Avatar for jonsca
0
417
Member Avatar for samsons17

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 …

Member Avatar for xavier666
0
171
Member Avatar for hdef

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 …

Member Avatar for hdef
0
148
Member Avatar for sman13
Member Avatar for Ihatepullups

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 …

Member Avatar for niyasc
1
107
Member Avatar for vrnadh123

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

Member Avatar for amol_d
0
194
Member Avatar for lonelyday91

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 …

Member Avatar for lonelyday91
0
85

The End.