132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ben1996123

Is it possible? How do I do it? I need a function to return the players name, so I have this as the prototype: [code]string getPlayerName();[/code] And this as the function: [code]string mainFunctions::getPlayerName(){ return playerName; } [/code] But I get an error saying that the function called 'string' doesn't have …

Software Development c++
Member Avatar for ben1996123
0
98
Member Avatar for Majestics

I have a experience of network programming in java... now i want to implement them in c with more better support, i have used c++ long time a ago... Now i dont know which compiler of c++ is better, which support socket api... and which operating system provide more flexibility …

Member Avatar for doug65536
0
208
Member Avatar for Jollyyy100

Hi i'm doing a project and i need help. I'm designing a system, whereby am unable to use 2 different login authorities, which are Admin and Non-Admin. I am using VB.NET and Ms. Access and need help for the codes. I want something like, if i click on admin/non admin …

Software Development vb.net
Member Avatar for maccinelyro
0
882
Member Avatar for hsiaoyk901201

hello, i am a C beginner. please check the code for me. The program is running fine,but is not giving the correct output or should is say no output. The output supposed to give the code of the team that ranked higher. #include <stdio.h> char rankTeams(int, int, int, int, char, …

Software Development c++
Member Avatar for Anirudh Rb
0
203
Member Avatar for dragon_chick

Hi all. I'm writing a program to explain and verify the birthday paradox. I am generating 1000 sets (only 10 to test with) of birthdays, checking for matches, then displaying the results. I'm using srand to seed my generator and rand() to get 23 sets. The problem is 2-fold. 1) …

Software Development c++
Member Avatar for dragon_chick
0
415
Member Avatar for Zssffssz

Ok this is somewhat of a second related post of my other one "C++ File". There is no need to read the other post just want to tell you. I want to make a console app that does the XOR thing I heard about using the simple ifstream and ofstream …

Software Development c++ encryption
Member Avatar for doug65536
0
233
Member Avatar for Fireprufe15

Okay so I am working on small program, and halfway through I decided to make a login screen at the start. How do I make it that the login screen shows up before the main form?

Software Development pascal
Member Avatar for anijacity
0
265
Member Avatar for chezkaty

can you please help me again to this?:( cause the previous one I've asked to you i didn't get it :(( write a program that determines whether a given positive integer is an armstrong number. -----armstrong number is an n-digit number that is equal to the sum of the nTH …

Software Development c
Member Avatar for Anirudh Rb
0
117
Member Avatar for anujthefuhrer

Why operating system is kept in low memory with interrupt vector?

Software Development c++ operating-system
Member Avatar for doug65536
0
98
Member Avatar for Master Mascus

The random function, generates the same values each the time program is run.. Any other function to output random numbers, each time the program is run ??

Software Development c
Member Avatar for Narue
0
158
Member Avatar for k2k

Say like I have hi() everywhere in a shell script and I would like to replace only a hi() to hi(20) right under the line "#modify only the hi() below this line". Is there anyway that I can locate the line "#modify only the hi() below this line" and then …

Software Development shell-scripting
Member Avatar for anijacity
0
169
Member Avatar for gahhon

is possible to work of return statement with Math Class? eg, [CODE]return Math.pow(2,2);[/CODE]

Software Development java
Member Avatar for gahhon
0
149
Member Avatar for anujthefuhrer
Member Avatar for doug65536
0
100
Member Avatar for dospy

when you want to decript a program's protocol how do you do it? you use an packet listener(eg. WireShark) and try to figure out what each packet means? is this the only solution? cuz it seems to me like a lot of hard work, is there anything to make this …

Software Development c++
Member Avatar for dospy
0
191
Member Avatar for coolboym99

So I'm writing a personal program right now that basically I want it to help keep me from getting distracted when at school or work, essentially letting me only access the programs that I need when at those places. My question is, whenever a program comes up in windows 7 …

Software Development c++
Member Avatar for doug65536
0
159
Member Avatar for anujthefuhrer
Member Avatar for Narue
0
189
Member Avatar for Wootens

Hey guys, I'm having some difficulties with this program I've been working on. Its composed of a few parts but I'm just focused on creating a linkedlist for this class. I'm trying to create seperate linkedLists for each class I'm making (just focused on teachersList) and I've been getting some …

Software Development c++ linked-list
Member Avatar for doug65536
0
115
Member Avatar for Info_stealth13

I want to have a code to this problem in C++. please help me!!! Here the problem!!! "The rate of increase in population of a certain kind of bacteria is proportional to the population at any time. if in the last eight years, the population increased from 50000 to 120000,what …

Software Development c++
Member Avatar for frogboy77
0
136
Member Avatar for lastbencher

The following code is given in my Data Structure reference book. [code=c] #include<stdio.h> main() { int i, *pi; float f, *pf; pi = (int *) malloc(sizeof(int)); pf = (float *) malloc(sizeof(float)); *pi = 1024; *pf = 3.14; printf("an integer = %d, a float = %f", *pi, *pf); free(pi); free(pf); } …

Software Development c data-structure
Member Avatar for lastbencher
0
156
Member Avatar for Shodow

can u help me convert the cout to printf..i dont have a clue how.. tnx [CODE]#include<iostream.h> #include<string.h> #include<conio.h> int findSimilar(char[],char[]); void checkValue(int,int); int main(){ char boy[50]; char girl[50]; int similarInBoy=0; int similarInGirl=0; int total; clrscr(); cout<<"Enter Boy's Name: "; cin.getline(boy,50); cout<<"Enter Girl's Name: "; cin.getline(girl,50); similarInBoy=findSimilar(boy,girl); similarInGirl=findSimilar(girl,boy); total=similarInGirl+similarInBoy; cout<<"Boy: "<<similarInBoy<<","; …

Software Development c c++
Member Avatar for Narue
0
556
Member Avatar for lastbencher

This code is not running. i'm using gcc [code=c] #include<stdio.h> int main() { struct book { char name[10]; float price; int pages; }; struct book b[5]; int i; for (i=0; i<5; i++) { printf("Enter name, price and pages\n"); scanf("%c %f %d", &b[i].name, &b[i].price, &b[i].pages); } for (i=0; i<5; i++) printf("%c …

Software Development c
Member Avatar for lastbencher
0
126
Member Avatar for anujthefuhrer

addresses pointed by pointers are logical or physical? Please someone answer this question

Software Development c++
Member Avatar for doug65536
0
846
Member Avatar for Rubinder singh

I have been using code blocks for c++ i has mingw compiler which is using gcc it doesn't have conio.h header file so how do i clear the screen now ................? thanks

Software Development c++
Member Avatar for NP-complete
0
300
Member Avatar for Dersev

Hello I have a problem how to make custom defined text area it's similar to text area which you can create in Photoshop while you wan't type any text. Is it possible to do it in swing ?

Software Development java java-swing
Member Avatar for JamesCherrill
0
127
Member Avatar for PHkiDz

Hello good day to all... is there anyone can help or suggest me how my code work successfully. Actually the code was working well, but i wanted to change it`s content to GUI form. the program description was the user must input a word/String and shuffle/scramble the word that the …

Software Development gui java linked-list
Member Avatar for JamesCherrill
0
236
Member Avatar for Mi_99

So my title was meant to be array not loop I need to create an application that will generate random spots so far my work is this [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; import java.util.Random; public class Shape{ private int x; private int y; private int width; private …

Software Development java java-swing
Member Avatar for JamesCherrill
0
203
Member Avatar for a.muqeet khan

[CODE]// algo assignment.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int DATA[5]; DATA[0]=0; DATA[1]=10; DATA[2]=80; DATA[3]=1; DATA[4]=5; int a;int temp; int i,j; for (i=0;i<5;i++) { temp=DATA[i]; // at starting it means that it has value …

Software Development c++
Member Avatar for a.muqeet khan
0
223
Member Avatar for x38class

Is there an element of the treeview object that will hold the original path & can be recalled later without it being shown in the tree. If I only had one treeview I would not have a problem, I have several on the form & all use common sub/functions in …

Software Development vb.net
Member Avatar for Teme64
0
507
Member Avatar for Zssffssz

ok from all of my questions you can probably tell I'm working on something. I want a file to open my program when it is double clicked on (ex .txt opens notepad) I know how to modify the registry n stuff what I need is how to make my program …

Software Development c++
Member Avatar for Zssffssz
0
154
Member Avatar for x38class

The child nodes are there when first populated but when drives are changed or re loaded a second time, that is when they are missing, so how do I reset the nodes to show child nodes every time This is my code, can anybody see a problem, any help much …

Software Development vb.net
Member Avatar for x38class
0
232
Member Avatar for neoj88

I have been working on a program and it almost totally works. This is what it's supposed to show: Enter Player Name (Q to quit): Bob Enter score for Bob: 3245 Enter Player Name (Q to quit): Sue Enter score for Sue: 1098 Enter Player Name (Q to quit): Dave …

Software Development c++
Member Avatar for neoj88
0
147
Member Avatar for Shodow

[B]BEFORE[/B] [IMG]http://www.daniweb.com/forums/attachment.php?attachmentid=22439&d=1317523788[/IMG] [CODE]#include<iostream.h> #include<string.h> #include<conio.h> int findSimilar(char[],char[]); void checkValue(int,int); int main(){ char boy[50]; char girl[50]; int similarInBoy=0; int similarInGirl=0; int total; clrscr(); cout<<"Enter Boy's Name: "; cin.getline(boy,50); cout<<"Enter Girl's Name: "; cin.getline(girl,50); similarInBoy=findSimilar(boy,girl); similarInGirl=findSimilar(girl,boy); total=similarInGirl+similarInBoy; cout<<"Boy: "<<similarInBoy<<","; checkValue(similarInBoy,1); cout<<"\n"; cout<<"Girl: "<<similarInGirl<<","; checkValue(similarInGirl,2); cout<<"\n"; cout<<"Total: "<<total<<","; checkValue(total,3); cout<<"\n"; getch(); return 0; …

Software Development c
0
65
Member Avatar for casey_sunako

Hi. I would just like to know if there is a way to embed a VLC media player inside windows form in visual basic 2010? Thanks.

Software Development vb.net visual-basic
Member Avatar for casey_sunako
0
213
Member Avatar for kytro360

Hows it going? In my program I want it to download certain messages, open them, find the HTML link, and at the moment want it to display it in a listBox. I am using the dll OpenPop for this. So far thats not happening and the only thing thats appearing …

Software Development email wordpress
0
102
Member Avatar for woomichael

Okay so I have read the guidelines and don't believe this post is against the rules or against the rules for asking for help because I have put in an effort and I'm around 70 percent in testing the files. I just need help with this basic Java code to …

Software Development java
Member Avatar for Taywin
0
147
Member Avatar for cdn88

I have an issue that's really confusing me... Below I am calling an initialize function: [CODE] void Initialize (List *L) { char* initialize = "initialize"; int i; for (i=0; i<MAXLISTSIZE; i++) { strncpy(L->items[i].name,initialize,MAXNAMESIZE); L->items[i].name[MAXNAMESIZE - 1] = '\0'; L->items[i].grade = 0; } L->count = 0; } [/CODE] And it seems …

Software Development c storage
Member Avatar for gerard4143
0
1K
Member Avatar for rockout15

can anyone help me... the problem is that i want to hide a form when i click the button log out and show the log in form since you just log out and not close the form. but it does not happen... here's my code... [ICODE]using System; using System.Collections.Generic; using …

Software Development
Member Avatar for rockout15
0
125
Member Avatar for Rupindersingh

Can someone please suggest some good books on BIOS programming.

Software Development assembly
Member Avatar for AceStryker
0
138
Member Avatar for AceStryker

Hello all, I want to check in a external process if an address X, that i'll call here $00000001 is "NOPPED", i know that an address with NOP its byte is x90, so my question is: Can i use ReadProcessMemory putting the value x90 as the IpBuffer or do you …

Software Development pascal
Member Avatar for AceStryker
0
146
Member Avatar for sebseb678

This is the assignment: TIP CALCULATOR Create a class called TipCalculator which calculates a tip amount based on a grade of service received. calculateTip method Create a method named calculateTip which accepts two incoming parameters: a double and a String. The first parameter (the double) contains the bill total, and …

Software Development java
Member Avatar for NormR1
0
95
Member Avatar for Zssffssz

There wasn't anything on it that I've seen. When using ofstream how do I change the font im wrritting with?

Software Development c++
Member Avatar for Zssffssz
0
104
Member Avatar for funwidak

Hello, I have recently joined a orgainization as a [B]Java Engineer Trainee([/B]0 Years of Experience) and working on a project(80% ABAP people are working on project) in mainteance from last 2-3 Years. The Work in the project is of basically in ABAP and [B]Core Java[/B] (Only Basic Java code is …

Software Development java
Member Avatar for peter_budo
0
249
Member Avatar for sidyusuf

hi...i m again here... i have a datagridview on a form which contains studentname (in alphabetical order) and a blank rollno field according to the particular class.Now what i m suppose to do is to assign roll no on button click, starting from first student to last student. Roll no …

Software Development vb.net
Member Avatar for sidyusuf
0
243
Member Avatar for Prasadbabu

Hi Friends, I created one database like credit card statement. Purchases all in one table. Debited all in another one table. I am trying to link two tables using with inner join. But its repeating the data depending on purchases record count. Table1 = Purchases Table2 = Received [COLOR="Green"]SELECT * …

Software Development visual-basic
Member Avatar for Prasadbabu
0
405
Member Avatar for alliswim2010

[COLOR="gray"][/COLOR]1. your-netid_hw5_1.java : Liang page 253, programming exercise 7.6. (Multiplying two matrices) Write a method to multiply two matrices. The header of the method is as follows: public static double[][] multiplyMatrix(double[][] a, double[][] b) To multiply matrix a by matrix b, the number of columns in a must be the …

Software Development java matrix-multiplication
Member Avatar for ~s.o.s~
0
729
Member Avatar for jainpratik2

Dear Members, I am quite new to python and I have to implement the bank account code. At this point I just want to Ask is whether I am moving in correct direction or not. I am not looking for any code but needs suggestion. So far for bank account …

Software Development python
Member Avatar for jainpratik2
0
179
Member Avatar for JoshuaBurleson

Early this morning, and I haven't a clue how this slipped by me, I learned about the Android SDK and Python for Android, I did a little research, it's very intriguing. Has anybody worked with this at all? Do most built in libraries and modules work for it? How do …

Software Development android-development gui python
Member Avatar for JoshuaBurleson
0
365
Member Avatar for BobTheLob

Hey guys. I'm working on a project where a parent process forks two children (so Process A is parent to both Process B and Process C). I need the children to write to the pipe so that the parent can see it. When I make a simple one child pipe …

Software Development c
Member Avatar for BobTheLob
0
837
Member Avatar for maverick420

[TEXT]I'm trying to write an application that will input five numbers from the user. The program should print out the largest and smallest numbers. It should print how many of the numbers are two digit and how many of the numbers are three digit. It should also print out the …

Software Development java
Member Avatar for peter_budo
0
254
Member Avatar for deepanbecse

Hi friends...can any one suggest me a solution for accessing the Excel work books using the Microsoft Excel API in VB.net?I have to parse through the excel work sheets and find the position of a particular column in the sheet...

Software Development api microsoft vb.net
Member Avatar for Reverend Jim
0
1K

The End.