132,726 Archived Topics
Remove Filter ![]() | |
Hi to all, I have Windows XP professional SP2 and Dev-C++ and when i go to the Device Manager -> Keyboard-> Resources i see I/O Range 0064-0060 and the ports have also addres. And all other things wich have addres. My question is ,is it really addres or i am … Software Development c++ | |
Hi , Inside a recursive function i have a static variable, when i return that static variable , it's value becomes zero. count = trimWS(someXMLNode); i get count as 0 , but when i debug countWS was 9. Pls help me why this is happening and what is the right … Software Development c | |
Hey people. I'm trying to build a loop to move from Arthur Vandelay to Tim Pennypacker, to Bob Sacamano. I know how to move from 54 to 21 to -2 and so on but I can't get the code right to move from Arthur Vandelay to Tim Pennypacker. I know … Software Development assembly | |
I am Anwar as a intermediate level currently programming practice in c, c++ and java . In following programs I confused in these expressions that expressions are same but result are different on these results few teachers said it is the problem of compilers. [U][B]In Turbo C 3.0[/B][/U] [ICODE] main() … Software Development c++ | |
pl. help me in how to export and import MsExcel in java Software Development java | |
In vb6 form I've 1 Textbox, 2 option buttons & 1 command button my need is I want to move from one option button to other by pressing Tab key. Help me out. This is customer requirement. Software Development visual-basic | |
I'm working on an MP3 player for Visual Studio:C++, and I've already realized this is wayyy more than I thought it'd be. I'm at a standstill right now with 2 things, any help would be greatly appreciated: 1) Playing back an MP3 file. I'm building this thing from scratch, and … Software Development c++ gui visual-studio | |
Hello everyone please i need help .. i am new 2 java and i was given this assigment of which i dont even know where to start from...If anyone can help please IM me so i can send him the question or perhaps for a little guidance on how to … Software Development java | |
How to learn in the most effective and efficient way. thank you Software Development java | |
Purpose: Create a C++ class; use operators, overloading, member functions, friend functions, constructors and private data. • Make the data members private. (This means that the non-member functions below will have to be friends of the Date class). • Create a member function called ‘set’ with the same arguments, and … Software Development c++ | |
for the for loop for ( ; *source!='\0'; source++) what is the purpose of the semicolon in the for loop ? thank you! | |
Hi, I have entered names of student under field NAME in Access, the names are like;- Mohan Chaturvedi, Deepa Agarwal, Mona Agarwal, Sohan Chaturvehi etc With the help of VB6 and Crystal report 8.5 I want to take the Report of those student within whose name the word Agarwal exist. … Software Development visual-basic | |
Hello, I looked for this on the forums, and found an invalid link to a tutorial. But I'd appreciate it very much if someone can point me to a tutorial on hash tables, that includes a basic implementation in C or C++. Thanks a lot. Software Development c | |
hello! i have this code Private Sub rb_W_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rb_W.CheckedChanged Dim opt As Integer, d As Integer opt = Int(Me.TXT_r.Text) - 110 If Me.TXT_v.Text = opt Then Me.lbl_res.Text = ("Excellent") End If If Me.TXT_v.Text < opt Then d = opt - Me.TXT_v.Text Me.lbl_res.Text … Software Development vb.net | |
I am writing a program and I have a .txt file that has a some information about people. I would like to write that information into an array and then display that information about the person. The problem is that I don't know how many names will be in the … Software Development c++ | |
i made this just the other day, and as a new member i thought i would share this lil thing. many have probably already seen it, but its just a fun lil thing from a beginning programmer. [code] /* Name: Go Starwars! Author: Evan Cohen Date: 27/11/07 19:11 Description: Runs … Software Development c++ | |
i have a class called Employee and a method in that class called display(). When that method is called it displays a first name and a last name. In my int main() i have... [CODE] int main() { Employee emp; Employee* ptr; return 0 ; } [/CODE] I was wondering … Software Development c++ | |
Good day. My semester of c++ is coming to an end. I've got to complete a total of 7 assignments within the next 3 weeks. I've completed 5 out of the seven. I've got two left (1 has a separate thread by itself). So you can also take a look … | |
So let's say I have a class called CSprite which loads a sprite sheet. Within that class will be at least one CAnimation object which takes user-defined snippets from the sprite sheet and loops them.. so for example I might want: CAnimation m_AnimNormal, m_AnimOnFire; inside the actual CSprite object. The … Software Development c++ | |
#!/bin/bash # Bash script that will produce a text file that has a list of the files in the present working directory cd /bin ls -d ls -d >>file.txt #!/bin/bash #Bash script that will copy all the files in one directory to another directory ls -d mkdir /EgorDir cp*.*ls-d /EgorDir … Software Development shell-scripting | |
Hi Please help me with this problem Write the definition of a class Play containing: An instance variable counter of type int , initialized to 0. A method called increment that adds one to the instance variable counter . It does not accept parameters or return a value. A method … Software Development java | |
I was just wondering if anyone knew how to run two linked output windows at the same time or if it is even possible. I'd appreciate any and all help. Thanks!!! ^_^ Software Development c++ | |
For homework I'm apparently supposed to implement some functions defined in [icode] <algorithm> [/icode]. So this is what I have so far: [CODE=c++]template <class I> bool m_equal( I b, I e, I b2 ) { for ( ; b != e && b == b2; b++, b2++ ); return b … | |
I used 3 timer component and I m using one checkbox. And I have three procedures for timer1, timer2 and timer3 and I writed below these in my unit code explorer. Note that band1,band2 and band3 are images that will be animated ordinarily. [COLOR="red"]procedure TForm1.Timer1Timer(Sender: TObject); begin timer1.Enabled:=true; timer1.Interval:=2000; band1.Visible:=true; … Software Development pascal | |
Hey everyone, How do two-dimensional arrays work in MIPS? I've found a couple of sites that have told me how to set up a multi-dimensional array, but they aren't really that clear on how to access the data on the inside. My array is set up as such: board: .word … Software Development assembly | |
Hey everyone, I was wondering if someone could explain to me the following bit of code. I understand != in logic but i dont know how to read it like this: [CODE] float y = 0.01, x = 0.005, z; z = 2 * x + (y != 0.001); [/CODE] … Software Development c | |
just plz 1) correct my faults and help me 2) on freazing the command by:getch(0) 3) where to put it and the include<conio.h>,plz i have a test tomorow on devcpp compiler: #include<stdio.h> void fill-mat(int x[10][10],n) { for(int i=0;i<n;i++) for(int j=0;j<n;i++) scanf("%d",&x[j]); } void print-mat(int x[10][10],n) { for(int i=0;i<n;i++) for(int j=0;j<n;j++) … Software Development c++ | |
I have to program a simple calculator, i had all of my functions working seperatly but now that they are all together the add and the average won't compute. The problems started when i tried to get the program to loop back to the menu after you get a total. … Software Development python | |
I need help understanding why my code doesn't work while using number coordinates. I'm using a two dimensional array, I would like to post my code so you guys can check my errors, but I don't want anybody else to steal it, can anybody help? Software Development java | |
I'm attempting to revisit assembly after several years of not having used it at all, and I'm having a bit of trouble with simple I/O. My program is designed to read a number from the user and spit it right back out. The "%c" is simply to remove the newline … Software Development assembly | |
I have spent HOURS looking at this problem, and have absolutely no idea where to begin! I'm not asking for anyone to do it for me, just point me in the right direction PLEASE! For each of the following problems, use the top-down modular approach and pseudocode to design a … Software Development c++ | |
hello.....to evryone im jerlyn......im first year college..taking up accountancy... i regester hr coz we have subject about C++ and database..... i cant understand some code that our tchr want us to input or type..... like...... *what the difference about [B][U]the do while loop [/U][/B]and [B][U]the while loop[/U][/B] *what [B][U]getch[/U][/B] stand … Software Development c++ | |
Hi everyone, my name is Jono and I know basically nothing about programming, and wonder if some of you nice folks could answer a question for me. When a program is waiting for you to type something in, say a maths game waiting for the correct answer, is there a … Software Development c++ | |
I have been given a homework this is it: [QUOTE]Homework 7 Due in your lab in week 10 For this homework you are expected to write one program, which consists of a main method and an insertWord() method. You must work on the program outside the formal laboratory sessions. The … ![]() | |
We been asked to develop GUI for mobile pc 2003. Just interface, which is no problem. Part of my interface are some ComboBoxes. I found the way to add elements to them, but strangely I can't figure out how to force combo box to display selected element in the box. … Software Development gui | |
if " int*& ptr " is declared as a parameter of a function, what does it do? for example: findMax(int arr[], int n, int*& ptr) Software Development c++ | |
hei please... i need a simple game just using loops and arrays... kindly jelp me...huhuhu:( :'( thanks in advance Software Development c++ | |
ive been reading up tutorials from this website. but i don really understand how to do this to my program. ive a filename name passwordFile. and my program that i wrote using shell script can see online current users. but ive no idea how to read it into a file. … Software Development shell-scripting | |
code: def rpn(): list = [] while 1: x = raw_input(" ") if x in ["+","-","*","/","%"]: y=str(eval(list[-2]+x+list[-1])) list[-2:]=[y] elif x == "": break elif x == "=": print y else: list.append(x) How can i modify my rpn calculator in order to: 1)accept random number x = random number e.g x … Software Development python | |
I am trying to modify a program to read in a file that will then output it to a new file without all the whitespace in between the data. This is so I can convert it to a csv file and read it into paraview to make a visualization of … Software Development c++ file-system ios | |
hi, I have created servlets for hotel management. In that i want to create a search engine to search the customers by their name & by their room no so will u please help me out in that. Software Development java | |
My loop keeps looping...even after the condition is changed to false. Whether I enter a "y" or an "n" my loop still loops. I know it's never leaves the loop, because I never get the "do I get here" println. This is my first time with booleans...so maybe I'm doing … Software Development java | |
Ticket Reservation System You are asked to implement a ticket reservation system for a travel agency so that staff can book flights for their passengers. You are required to use CPP principles you have learned from the class to implement and to realize the basic system functions. The principles includes: … Software Development c++ user-interface | |
Hi. I am having a problem with one of my class functions. It compiles fine and works "when it wants to". I am using the search_inventory function in my add_product function of the same class. sometimes it works perfectly fine however sometimes the search_inventory function causes an infinite loop when … Software Development c++ | |
I'm implementing a heapsort on a void array. But I'm having trouble with line 6: [code=c]void siftdown(char *start, char *end, size_t size) { char *curr = start; char *child; while (curr*2 + size <= end)[/code] I cast the pointers to char because they have a length of one, and I … Software Development c | |
i have made a program that gives a defenition of a short form e.g. ;-) = wink [CODE]#include <iostream> using namespace std; int main() { char input[20]; char correct1 [] = "CU"; char correct2 [] = ":-)"; char correct3 [] = ":-("; char correct4 [] = ";-)"; char correct5 [] … Software Development c++ | |
I have a new project I'm working on, and I'm stuck. Notice in my code below that I originally had [B]return dayInMonth;[/B], but commented it out as it was returning the year as 27 in the array and the month and dayInMonth both as 1. My year and month should … Software Development c++ | |
Hey Folks. I am working on a project in which i have to use Classes and do multiple things with different sorts of data. The basic question i have though is this: what am i doing wrong here in terms of this class declaration etc... i have looked around on … Software Development c++ | |
the program gives me an infinite loop [code=c++] #include <iostream> #include <cmath> #include <iomanip> using namespace std; void loadScores( int [], int & ); double average( int [], int ); double deviation(int [], double, int ); void frequency( int [], int[], int, double, double); void sortScores(int [], int ); void … Software Development c++ |
The End.