132,726 Archived Topics
Remove Filter ![]() | |
I am a c++ Beginner - Im looking to store a "Location" for a later use in this function and cant figure out how to do it still after hours of research. [CODE] if(pUnit) { if(GetUnitDist(Me, pUnit) <=10) { //Right Here need to store GetOldPlayerX() if(pUnit->dwMode == PLAYER_MODE_CAST) { if(GetOldPlayerX() … Software Development c++ | |
I have attached that file. The sample of data are as below: PUBLT 167_89 656 PB -38321.478 6807.984 657 PB DAUD 200005041 278.271074.5150 69.4035 08370074.1830 69.2755 083800254.1925290.4620083900254.5615291.010008400008390098.2710 74.3630 20.3943 278.27100.0211 15.5954 74.3726 278.2748 PUBLT 167_89 656 PB -38321.478 6807.984 657 PB DAUD 200005042 278.271074.4940 68.1425 08430074.1610 68.0010 084400254.1720292.1650084500254.5400292.315508460008450098.2710 74.3418 22.0833 … Software Development vb.net | |
I'm reading a whole xml file in as a string. Some of the Node values are directories, e.g. "C:\" When I print out the string, to make sure that the file has been read in correctly, I see that it has completely ignored the Nodes that have directories in them. … | |
Hi, i get [CODE]undefined reference to 'boost::gregorian::greg_month::get_month_map_ptr() '[/CODE] on the following code using Eclipse CDT and MinGW .. [CODE] #include "boost/date_time/gregorian/gregorian.hpp" #include <iostream> int main() { using namespace boost::gregorian; std::string s; std::cout << "Enter birth day YYYY-MM-DD (eg: 2002-02-01): "; std::cin >> s; try { date birthday(from_simple_string(s)); date today = … Software Development c++ | |
this is my code. I have no clue what could be wrong with it. The error that keeps coming up is: class, interface, or enum expected. The five errors it pointed out are the 'v' in public void actionPerformed at the bottom of the code, the 'g' in the green … Software Development java java-swing | |
Hi, I've got a problem when I was using LoadLibrary function to load a library "MSVCR90.dll". It is a dll with manifest, but I don't know how to load this kind of library. Should I load the manifest first and how? Any suggestions will be OK. Thanks. Software Development c++ | |
hello..im trying to do a student registration system i used access as a database the system must have a search button to search student name then whenever i click the student name it will automatically fill the name in a ready made .doc form any one can help me?? im … Software Development vb.net | |
Hello, I'm new to using C++ and am using dev-c++ as a compiler only I'm having a problem as the code I've written doesn't stay open after the user has stated the name, here's the code. [CODE] //Game 3,0 //Using constants and strings. #include <iostream> #include <string> using std::cout; using … Software Development c++ | |
I just learned about linked lists, so i decided to experiment a little. I'm trying to make a linked list that automatically keeps all of the data in consecutive order (like bubble sort built in :P). Anyways, the problem is that while it adds data, the second thing added disappears, … Software Development c++ linked-list | |
Hi, i'm having problem on the computation of working hours, regular pay, overtime and gross income... on a time-in and time-out of an employee for a week including holidays and overtime... please help on making it work. e.g. of employee.txt Name: kiroyzki Code: A02-004 Level: 1 Salary/Day: 500/day ############################################ [code] … Software Development c++ | |
I need some help... i am the beginner vb.net developer, so i need someone correct my coading to insert data from text field into database mssql... below is my coading; Protected Sub btnSimpan_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSimpan.Click Dim dtTemp As New DataSet Dim ddClass As … | |
Hi everyone! I have an assign ment that says: create an application to let the user enter his or her name (first and last name), then displays the Initial in Upper Case. FOr example: you enter "John Wow", then the Label will display "JW". I know that I'm supposed to … Software Development vb.net | |
Hello, My friend and I are trying to program a basic 3D modeler. Nothing fancy just a very basic program. I was wondering if anyone here could help me with reading material. We need to figure out the math and that is what I can doing now. Any good books … Software Development c++ | |
Hello all, I am Lisa and fairly new to C++/MFC. For a class project, we are to develop any software of our choice and add as much functionality as possible. I have chosen to build a program similar to MS Paint since MFC has functions that makes building shapes very … Software Development c++ data-structure | |
How to kill a process? I tried this and gives me an error [code] Dim RunningProcess As System.Diagnostics.Process = Process.GetProcessesByName("explorer.exe")(0) RunningProcess.Kill() [/code] and also Any code for enabling Task Manager, Regedit and Folder Option in VB 8? Software Development vb.net | |
How can i find the difference between two date like '01/01/2008' and '01/01/2010' my date format is "mm/dd/yyyy" Software Development visual-basic | |
This is what I have so far. This program should contain a recursive function that will compute the binomial coefficient according to the definition if k=0 or k=n [CODE]#include <iostream> #include <algorithm> using namespace std ; int C(int n,int k) { if (k < 0 || k > n ) … | |
how would this be done [CODE]int main(void) { char string[]="231 number 73 word 1 2"; char *ele; ele=strtok(string," "); while (ele != NULL) { if (*ele == '0' || *ele == '1' || *ele == '2' || *ele == '3' || *ele == '4' || *ele == '5' || *ele … Software Development c | |
So I'm using Mysql to make a text-to-speech engine. Basically any given phrase by the database is returned to my script, which has to say every word and number, if any, by way of voice . For the voices I'm using Asterisk, but that's another problem of my own lol … | |
hi, 1) what q signify and how can it be of any use? int* p = 0; int* &q = *p; 2) what does it do? int main() { return main; } It compiles with gcc (not g++) and running the executable does not do anything without error. Thanks. Software Development c | |
hello my friends ... in C# Forms ( application form) my question is about the (DateTimePicker) is there any way to calculate the days between two different times which were entered by the tool DateTimePicker by an existing method or something else ... thank you in advance Software Development | |
Hi, I'm in my second year of computer science and we're currently learning about design patterns. As part of this we have been given an assignment to include the Abstract Factory design. I'm having trouble understanding exactly how it fits together so I was wondering if someone could explain, in … Software Development java web-design | |
![]() | Hi, ive just started C# and have a little problem. The below code is the program. [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Diagnostics; namespace killer { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private … Software Development ![]() |
Hello all, I am new to VB and need to make a program that does the following: Write a VB.Net program that allows users to enter a series of numbers (separated by a comma) in a text box called series. When the users clicks the command button called Average, the … Software Development vb.net | |
I just started an advanced C++ course and my instructor sent around a file with this piece of code: [code]class smallobj // specify a class { public: smallobj() : iData(0){} // Constructor smallobj(int iInValue) : iData(iInValue) {} // Overloaded Constructor ~smallobj() {} // Destructor void setdata(int d) // member function … | |
Hi, is there a quick way to format a float variable that is 0.775 to display it as 77.5? Thanks To better clarify, im doing a simple little tasks of variable = variable / variable to find the percentage of something. Software Development c++ | |
hi , iam new asm and i heave problem exercise the exercise: 1-Make a data file named "file.txt" with 10 integers, each on a separate line and each between 0 and 160. 2. Write an assembly program which does the following: a. looks for the above file in your working … Software Development assembly | |
Hi..I am trying to connect oracle which is on my pc.i am using oracle 9i. i am creating 1 customer table & trying to display it. [code] import java.sql.*; import java.net.*; public class JdbcDemo{ public static void main(String args[]){ Driver d; Connection con; Statement stmt ; ResultSet rs; try{ d=(Driver)Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); … | |
Hi all I want the data shown in MSH flex grid to be shown in crystal report. I am using Crystal report 8.5 If the value in the grid changes then the crystal report must be updated accordingly. Is this possible to do? Software Development visual-basic | |
Hello, I have in one textbox this values separated by comma: 2,4,5,6,7,8,9,0,2,0,2,3,4,5,1,2,3,4 In a new textbox I want only some portion of this vector, from the 7th position to the 15th. 9,0,2,0,2,3,4,5,1 How can I do this? Best regards! Software Development | |
.......1234 .....*1234 ------------- .......4936 .....3702 ...2468 .1234 ------------- .1522756 | |
I'm kind of a noob at this, I have an error and i -sort of- know what it means, but I have no idea how to fix it. [CODE]#include "Sprite.h" int Sprite::LoadSprite(LPDIRECT3DDEVICE9 device, std::string Filename) { dImageScale = 1.0; D3DXIMAGE_INFO ImageInfo; D3DXGetImageInfoFromFile(Filename.c_str(), &ImageInfo); dImageHeight = ImageInfo.Height; dImageWidth = ImageInfo.Width; }[/CODE] … Software Development c++ | |
Hi, I am looking for best approach to query db table and get corresponding values on the basis of Ids passed. I have ids in String array, please provide best approach for point (a) and (b), what to use ArrayList, HashMap, etc... so that there are minimum loops... Sample code: … Software Development java | |
Ok here is the new thread now could you help me JavaAddict? Please:icon_sad: Software Development java | |
how does the ramdomize function works?? does it have some formulae to bring out its output? Software Development c++ | |
How can I convert a char that has this info in it "312,000" to a double? I know I can use atof but it doesnt work with the comma.. is there any way to remove the comma.. or to use atof when theres non numeric values in the char? Thanks Software Development c++ | |
i have been searching about how to create an executable jar file, [url]http://csdl.ics.hawaii.edu/~johnson/613f99/modules/04/jar-files.html[/url] by seing the above site i have created a jar file,while double clicking the jar file an error saying that "jar file couldnt be loaded check for possible console errors" is being displayed,i had tried by downloading … Software Development file-system java | |
Hi there! First off I´m new here, so, I'd say HELLO EVERYONE an thanks for years helping. I have the following problem: I need create a installation of a C# app that uses a SQL SERVER 2008. I am using INNO Installer because I thought it could be the best … Software Development c# client-server microsoft-access sql | |
i have written program for a text editor,how can i turn it into an application??? Software Development java | |
Hi experts I am supposed to design a VB application wherein the following requirement is needed: The user will select the type of software and information about who uses the software available in my database to be shown in flex grid. Now the user can choose one, two or all … Software Development database-design visual-basic | |
i am creating a text editor using java swings concept this is the code i am using to save a file jfr.setTitle(fname.getName()); FileOutputStream fop=new FileOutputStream(fname); fop.write(jta.getText().getBytes()); fop.flush(); fop.close(); where fname is the name given in save file chooser bye the user jta is the text pane in which the text … Software Development java | |
I try again in a new thread, the other went out of hand. I use this code line to create a n value. n = random.randint(0, 99), i use this n value as a lap index to my while loop. The loop is in a function called "def run(self)" in … Software Development python | |
The form consist of three textfields and two buttons(add and show buttons). User enters the candidate first name and last name and the respective number of votes received in textfields.On clicking the add button the candidate object is created and the candidate object is added to the arraylist object. On … Software Development java | |
Hi all.. I had a part of code like below.. CPropertySheet oPropSheet("Page", NULL, 0); oPropSheet.m_psh.dwFlags |= PSH_NOAPPLYNOW; oPropSheet.m_psh.dwFlags &= ~(PSH_HASHELP); oPropSheet.AddPage(&oPropSettingCriteria); oPropSheet.AddPage(&oPropAdvancedSetting); if(oPropSheet.DoModal() == IDOK) { } ... now I would like to hide or disable OK button..just left only CANCEL button there.. I tried using oPropSheet.GetDlgItem(IDOK)->EnableWindow(FALSE); but will have … Software Development c++ | |
Hi; I have made a MCQ based game in Visual C++ using MFC. It runs fine but it shuts down when some key is pressed unintentionally. Like, if you click the options with mouse click, it works fine but even if you press ENTER key during the game, it quits … Software Development c++ | |
Basically searching all files in a directory and locating those that contain a certain word within them. For example, I want to know what files contain the word 'apple', if there is just print the filenames that contain 'apple' somewhere in the text. The only thing I really need to … Software Development apple shell-scripting | |
i wanna create my own commands in linux shell ?what should i do for this ? Software Development shell-scripting | |
Please explain about the Right and Left shift operators in java.. I am new to programming concepts.. So please explain me with examples.. Thank you Software Development java | |
Hi, it's me agian... I was asked to do reasearch on how to upload a txt file's data into a MS SQL Database (corresponding columns etc.) I've searched a bit on the internet but don't find what i'm looking for... I just want to ask does anyone have an idea … |
The End.