132,726 Archived Topics
Remove Filter ![]() | |
Just after I include D3DX9.H I get tons of errors... like these: [CODE] Error 12 error C2039: 'm' : is not a member of 'D3DXMATRIX' c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\d3dx9math.inl 1987 1 Aura2 Error 13 error C2039: 'm' : is not a member of 'D3DXMATRIX' c:\program files\microsoft directx … Software Development c++ | |
Hello, I need help to write a perl script for read a data from Mysql Database using mysql query and write it into excel sheet.. Can you help me....? | |
[CODE] Film[] callFilms = new Film[100]; static int numberFilm = 0; [/CODE] [CODE] //Search Film Method public static void searchFilm(Film[] callFilms){ Scanner scan = new Scanner(System.in); int condition = JOptionPane.YES_OPTION; boolean check = true; do{ System.out.println(); System.out.println("Search Films"); System.out.println("============"); System.out.print("Please Key-in Item Code: "); String code = scan.nextLine(); for(int i … Software Development java | |
Hi all, I have been trying to parse the a log file to plot some of the data in it. The format is something like this: [CODE]PyrateBufferManager: 2011-10-24 15:42:47.709684: CurrentAquiredBuffers: 0 ReturnBufferCount: 11527 CurrentAquiredBytes: 0 SimDataCollectorMonitor-00A: 2011-10-24 15:42:47.709684: SNProfile: {'SNLoop': 6133}[/CODE] I was trying to use regex, but didnt get … | |
Hello all, I'm using the version 6 of Eclipse JAVA development. The code below is very basic, but I'm getting warnings which is probably preventing me from running the application. Any ideas? Basically what I'm designing is a program which would input the radius and therefore it would display the … Software Development java | |
Hi,I spent all night trying to figure this out. Could someone take a look and show me what I'm missing? I getting this compiler error: [B]unterminated #ifndef [/B]. But I have [B]ifndef[/B] at the beginning and [B]endif[/B] at the end of the class. [CODE]//Header file. //Class definition for teh stack … | |
Dear all, When printing a grid, for example a chess board, I was hoping it wouldn't have the same output as the console. When I want the position to be grid[x][y] = 5, 5, it will place the counter in the bottom right corner in a 5x5 grid, (5,1) instead … Software Development java | |
pyTony i learned lots from this code you used in resoponce to thread [url]http://www.daniweb.com/software-development/python/threads/384191[/url] i first mixed up the input and was supprised at the result which only printed last occurence of the key in the dictionary list... i did work out how to sort it first and reproduce your … Software Development python | |
Hi I want to make an abstract method. But I always get the error " cannot declare a body because it is marked abstract." When I delete the return then I get the error than I need a return. can someone help me please [CODE] public abstract Graphics drawRectangle(Graphics drawarea) … Software Development | |
I was writing a code for class as follows: [CODE]import java.util.Scanner; public class Salary2 { public static void main(String[] args) { Scanner input=new Scanner(System.in); String name; float salary; float hours; System.out.print("What is the employees name?"); name=input.nextLine(); while (!name.equals("stop")) { System.out.printf("What is %ss salary per hour?", name); salary=input.nextFloat(); System.out.printf("How many hours … Software Development java | |
Hi all, I'd appreciate if somebody could shed some light on the following; I have a tabbed container, each tab has the same controls but for a different target. I am using a timer to control when to fire each event from the 5 different tabbed controls, my problem is … Software Development vb.net | |
Hi folks, (Python 2.4.x - I cannot install any modules including dateutil) Here's what I have so far. [code] mydate=['20111025.00', '20111026.12'] start_time= time.strptime(mydate[0], "%Y%m%d.%H")[:5] end_time=time.strptime(mydate[1], "%Y%m%d.%H")[:5] for myhour in datespan(time.strptime(mydate[0], "%Y%m%d.%H")[:4], time.strptime(mydate[1], "%Y%m%d.%H")[:4], delta=datetime.timedelta(hours=1)): print myhour [/code] What I'm trying to do is take the two values in mydate list … Software Development python | |
Hello Guys, I am building an application using C# as a front end(VS 2008). I have a main form which contains a main menu and other controls like labels, calendar etc.. the main form I am talking about starts as full screen, my problem is when I drag/drop/edit controls in … Software Development visual-studio | |
Hi all, I am having confusion on polymorphism 1)Is Method Overloading considered as polymorphism? 2)Is there two types of polymorphism(run time and compile time ) available? thanks in advance Software Development java | |
I am still trying to resolve the problem I described in [URL="http://www.daniweb.com/software-development/cpp/threads/388174"]this thread[/URL] where I basically have a DLL written in native C and want to develop a wrapper function for it and call the C functions from within a C++ application. The solution described in that thread works, but … Software Development c++ | |
hello. i need help with this coding, i need to bring the temporary parameter from set page (which is user input) to the retrieve page in order to trigger the color. seems like the session didn't carry the temporary value. [B]code in page set session;[/B] [CODE]Protected Sub ViewPara_Click(ByVal sender As … | |
a thesis proposal that can solve current community issues.. Software Development | |
Hello everyone, I have to create a Palindrome Programme in Pascal using Pointers and Queues. A Palindrome is a word which when spelt backwards or forward if the same ex RACECAR or RADAR. I am having a problem actually creating the Palindrome Part of the Code. Thus Far, this is … Software Development pascal | |
This snippet composes functions of the form [icode]func(infile, outfile)[/icode] which read an input file and transform its content to write an output file. A function [icode]compose((f, g, h,...))[/icode] is defined which returns a new such file transformation function which successively applies f, g, h, using in-memory temporary files. Software Development python | |
Hello all, I'll hopefully be attending a cognitive neuroscience PhD program next fall and I'd like to learn some programming beforehand (having programming skills helps for lots of neuroimaging labs). Labs I've worked in used UNIX, MATLAB, and E-Prime (visual basic) and I'd really like to improve my knowledge before … Software Development c++ unix visual-basic | |
Hello guys I had an Exercise for a Noughts and Crosses game and i thought maybe it could help whoever needs to get an idea of Classes and Arrays. [CODE]#include <iostream> using namespace std; class CNoughts { private: int grid[3][3]; public: void Initialise(); void Grid(); void PlayerInput(); int Player,i,j; int … Software Development c++ | |
Hello, I've been trying to code a TrueSkill calculator using Java that fetches scores and updates them in a MySQL database. I finished coding it however it appears to have a problem while executing. This is an example of what I want the output to be like: [QUOTE]connecting to database … | |
how to load the combo box'values from one form to another form's combobox Example: form1: cust(table name) no(textbox) name(combobox) form2: CName(combobox) now i load the form1's name which is the combo values .. to form 2's combo box whixh is name of 'CName' Software Development vb.net | |
help me pls...i want to display the total sales within the date in the two dtpicker and by the category specified...when i run the program using my code an error occurs the no value given for one or more required parameters..which i cannot understand..pls. help me..here is my initial code... … Software Development visual-basic | |
Hello everyone, I have this problem that I read over and over and over but I didn't understand what I suppose to do. I just want an explanation of how does this problem or I should say this game work. create a mouse game for a single player. Set up … Software Development vb.net | |
Building a phonebook program for school--very much a work in progress. I still need to write a sort function, tweak my delete function, etc. But actually what I'm hoping you folks could answer is hopefully simpler--for some reason I seem to have a while loop that is executing twice, and … Software Development c programming-construct | |
hi..i got a problem regarding how could populate data from adodb recordset into textbox...when i type the first letter for example of the itemname then automatically the textbox will show different records from the database starting with the first letter i type until i type the next and so forth...pls … Software Development visual-basic | |
How to create n number thread in python. i want iterate over the for loop and create a thread for iteration sample code for i in range(o,50): i want to create 50 thread here which call the same function. how start and stop each thread after completion . Software Development python | |
Hi All, I am using grid with image column. When user's click image to opened up image(jpg,jpeg,bmp,gif) via a image and fax viewer (i.e by the operating system). i have try to open but it's open in IE any one please me. Thanks Anandh Software Development image operating-system vb.net | |
Hi fellow programmers. I am having a cross os compiling problem. I want my friend to test a program I am makimg, and he knows nothing about c++. I am using linux ubuntu 11.04 and can compile on that, but I can't find how to compile for windows, and he … | |
need help.. a long distance provider charges the following rates for phone calls daytime $0.07 evening $0.12 off-peak $0.05 create an app that allows the user to select a rate category (from a set of radio buttons) and enter the number of minutes of the call, then displays the charges. … Software Development vb.net | |
hey im trying to create a program that will convert between metric and standard units.I chose length as my measurement so i have nanometer,millimeter,centimeter,meter,hectometer,kilometer,inc,feet,yard and mile. i wanted the inpu to be - number to be converted(text box) -unit number is in(combo box) -unit to convert to(combo box) i know … Software Development vb.net | |
film class [CODE] import java.util.Scanner; // Creating Class Members public class film { private String itemCode; private String title; private String description; private String language; private String runningTime; private String productionCompany; private String status; //eg, pending, premiering, running, written-off // No-argument Constructor: Without Parameters public film() { itemCode = ""; … Software Development java | |
I am trying to complete an assignment for my beginner's computer science. I have to write a program that proves that every even number greater than four is the sum of two prime numbers. I prompt the user for the top end of the range (the lowest being four) and … Software Development python | |
Hi, I'm making a snake game and I got a timer to check everything and repaint the component. How can I achieve a 60 fps without affecting the movement of the snake. I need help to come up with an equation for the speed of the snake. Need to change … Software Development apple java java-swing | |
Hi all :) I have two excel files for data(one is to retrieve data from outer source(file1) meanwhile the other one is for template(file2)) and 1 excel file for macro(file3). I would like to create a macro to copy data from the file1 to the template(file2) and save it as … Software Development open-source visual-basic | |
hi guys, i have a problem regarding on how to view the image in the database when i select one information in my list view. and change it when i select another. Public Sub studentList() Me.ListView1.ListItems.clear Set rs = New ADODB.Recordset With rs .Open "select * from tblStudentProfile", db, 3, … Software Development image listview visual-basic | |
I know this program only takes few lines. I don't now how to out put the text to print every other letter for example: shsofwbanrqeiyzobu output: h o w a r e y o u [CODE]int main() {string k; cout << "eneter a text" << endl; getline(cin,k); for(int index =1; … Software Development c++ | |
Hi there, I have to create a card game as an assignment, and i am having trouble with a part of the assignment. Basically, there is an array, 'playerHand', which holds a set of integers. What i want to do is to add the elements of the array and then … Software Development java | |
Hey i am very new to vb.net and am creating a simple unit converter, i want my unit converter to display results in a listbox and want the user to be able to specify the start, step and end value in a For Next loop. Here is the code i … Software Development vb.net | |
Hey there So, I was working on a program and unfortunately i got a blue screen while i was working. When I got back on my computer, Visual Studio wasn't able to open my Form1.cs and Form1.Designer.cs. Opened it in notepad, and it was completely empty however the filesize is … Software Development visual-studio | |
Hey, I am now programming in a MacBook Pro and for the KeyCodes in the Robot Class, there is no set key for Command. Can I set a KeyCode to do the actions of the Command key? Thanks Software Development java | |
I started a programming course about a month ago, recently we started learning about using different code outside the main string and using them in order to pass data to each other I really got lost and didn't understand a word, wonder if anyone could help explain how it works, … | |
Hi i am new to java gui, i have trouble using color constructor. please tell me what the problem . thank you . [CODE]import java.applet.*; import java.awt.*; public class AnAppletSubclass1c extends Applet { Color c = new Color(5,25,205); public void Color(int r,int g,int b); public void init() { System.err.println("Hello from … | |
Hello all, im doing this problem which will allow a store to return a invoice, I have two classes and I guess I am at the very end and need help fixing some things so I can finally have the program execute: Class1: "Invoice": [CODE]using System; using System.Collections.Generic; using System.Linq; … Software Development oop | |
When the Generate button is pressed an array of doubles with a random length of 50 to 1000 values will be created. The array will be filled with random double values ( use rndGen.NextDouble( ) ) each with a range of 0.0 to 100.0. The contents of the array will … Software Development | |
This program must calculate permutations but it gives me a result with smiley , Can someone help me, Thanks!! [CODE]#include <conio.h> #include <stdio.h> #include <math.h> const n = 10,num=4; int i,a[n]; void tipareste(){ int i; for(i=0;i<num;i++) { printf(" %d \n", a[i]); } } void permuta(int k) { int i,x; if(k==1) … Software Development c | |
hi, I have three comboboxes in my windows form. I want to relate them all with each other. the data is coming from database a table which has the following columns: id description ap code seg code now if user selects description then ap code and seg code should change … Software Development vb.net |
The End.