199,125 Archived Topics
Remove Filter ![]() | |
hi... I'm new to the cppunit. I'm using cppunit framework for my c++ program. I want to build my program using a makefile. can anyone help me to compile my program using a make file. wijitha | |
Hi. I am trying to figure out this code I found on the net that allows users to chat with each other. It gives a thread error that I just can't fix. Please help me. This is the Form1.cs file [CODE]using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; … | |
Hello everybody, I want to write an email to some one by php function... I mean Mail(....) What may I write in the headers to send this message safety to another one... I mean by using the ([COLOR="red"]Cc[/COLOR]) Or ([COLOR="red"]BCc[/COLOR]). So that is a querstion.... I have another question: Can … | |
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 … | |
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 … | |
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 … | |
hey everybody!! i urgently need a project in java for electricity bill generation software kindly contribute as much as possible... i m in real trouble | |
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() … | |
Hello, I am trying to figure out how to have the data pulled from a input text box field so it displays as columns. Right now, when I hit enter to add a new line in the text box and look at it where it suppose to be displayed, it … | |
pl. help me in how to export and import MsExcel in 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. | |
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 … | |
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 … | |
How to learn in the most effective and efficient way. thank you | |
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 … | |
for the for loop for ( ; *source!='\0'; source++) what is the purpose of the semicolon in the for loop ? thank you! | |
Hi I am using 2 dropdownlists such that corresponding to the item selected in the 1st dropdownlist only the related items will appear in the 2nd dropdownlist. The problem is that the 2nd dropdownlist is never populated. My code is: Sub popdropdownlist1() Dim myConnection1 As New SqlConnection(ConfigurationSettings.AppSettings("connectionString1")) Const strSQLC As … | |
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. … | |
where do i download a php program from??? so i can start programming, or whats a programs name... any sites for tutorials, coz im thinking of doing a website | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
#!/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 … | |
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 … | |
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!!! ^_^ | |
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; … | |
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 … | |
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] … | |
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++) … | |
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. … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
if " int*& ptr " is declared as a parameter of a function, what does it do? for example: findMax(int arr[], int n, int*& ptr) | |
hei please... i need a simple game just using loops and arrays... kindly jelp me...huhuhu:( :'( thanks in advance | |
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. … | |
I am having problem with my loping. I don't know if I have chosen the correct approach. GOAL: I need to insert into a table event types for a specific date range. The calendar the event type is displayed on is divided into 15 minutes time intervals A group consist … | |
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 … | |
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 … | |
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. | |
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 … |
The End.