132,726 Archived Topics
Remove Filter ![]() | |
I took the summer off from c++ and before that I had only taken one semester, so I am pretty rusty. I have this function that is supposed to add contacts into a structure of xbox gamer friends. At the end of the function It goes into an eternal loop. … Software Development c++ | |
Instructions Zululand has a congress with in theory 97 seats. These are apportioned among the three states Alpha, Bravo and Charlie in proportion to their population. To be precise, each state receives its share rounded down to the nearest whole number, even if this means the total is less than … Software Development c | |
I am making a bot for an FPS game called Combat Arms, its full screen. The problem here is my code works, but when I open up the full screen combat arms window, it does noting at all... It is a simple AFK Bot, with simple key presses, and mouse … Software Development c++ user-interface | |
Hello Everyone, Can you please give me some thoughts on how to create a folder in http(Ex: [url]http://localhost:8080/site/myfoldertocreate[/url]) instead in a local drive (Ex. C:\MYFOLDER) Here is the current code that I am using. [CODE]public static void createFolder(String Folder){ try{ File f = new File(Folder); if(f.mkdir()) SimpleLog.write(Folder + " Directory … Software Development java | |
Hello all, I have a trouble finding Magic Numbers. I'd greatly appreciate any help in writing a function in C/C++ that will find all magic numbers (with 1000 iterations or less). "Magic numbers" are 6 digit numbers that have the property that they are equal to the square of the … Software Development c++ | |
Hi: I was wondering if anybody knew anything about creating your own programming language. Thanx Software Development java | |
I need to be able to find specific characters entered into a text box. I need to find out what the 2 characters before and after [space]A[space] are. For example if "RED ROSES AND A YELLOW ONE" was entered in the text box I need a way of finding the … Software Development | |
Hello, I want to search for a given char sequence in a string. For example: I have these strings: "xpto1", "asdxpto123" If the input is "xpto", the method I called "search" should have at its ouput a list with the strings that matched the input "xpto". In this case, both … Software Development | |
For a given integer n>1, the smallest integer d>1 that divides n is a prime factor. We can find the prime factorization of n if we find d and then replace n by the quotient of n divided by d, repeating this until n becomes 1. Write a program that … Software Development c++ | |
In C++ code, how would I customize an extension. I'm using C++ and my program outputs files, if/when I make an installer for it, I'd like to know how to make a program that can assoicate a file extension ex. ".iazj" with a name, icon, and program to open. Software Development c++ | |
may someone give me a sample code of loop within a loop, and other that I may use for decision in my program. Software Development java | |
I'm trying to parse xml, but am missing something. In the following, I can get the key, but not the value [code]from xml.dom import minidom xmlstring = '''<search ver="3.0"> <loc id="USAR0433" type="1">Paris, AR</loc> <loc id="USID0192" type="1">Paris, ID</loc> </search>''' dom = minidom.parseString(xmlstring) r = dom.getElementsByTagName('search')[0] res = [] for x in … | |
.Net setup project outputs .msi file by default. i have some configuration files that i want to output along with .msi files. is that possible to add something to output of a setup project? Thanks Software Development | |
All files or project outputs that are added to setup projects are wrapped into the final .msi file. what if i dont want it to wrap some certain files and want it to output them as they are? Is that possible? Thanks Software Development | |
I'm using mysql as database . I use odbc connector to use the database , it's working fine with select statements ,but when I use insert statement with parameter it is not working. may I know if the command parameter property works with mysql or it only works with mssql. | |
Hi there, I have been working for the past 3 months at Moxconsole.net and Clarkie's-Cave forums creating/editing save game files for people using a program called CWCheats for the PSP. I have edited just over 100 files each taking a min of 5 minutes. Thats around 20 hours min of … Software Development c++ | |
The project involves the game scramble, where we have a 4x4 matrix of characters. The purpose of the program is to search through the matrix and find words in the matrix. I have a dictionary .txt file and can search that for a word correctly and can also print the … Software Development c | |
Helo frndz, I'm novice in shell scripting...I need ur frnd help to write a shell script for taking backups. This script should use cp command to take backups. Script can read the list of directories and destination directory from a file or ask user for this info interactively... Example: Only … Software Development shell-scripting | |
I am a new C++ user with emacs. Our Prof. wanted us to create a prog. which basically write the positive which is entering ascending order. I can do the ascending order program but he wanted us to make user prompt to enter the number in ascending order. The user … | |
This is causing headache, the event [B]OnGetStatusEvent[/B] is never fired... I know it has to do with the fact it's encapsulated [B]inside class[/B]. The Event is a method of a com object, I did not implement it myself... The following code always work[I] if inside a windows or console application[/I]. … Software Development | |
Hello all, This will hopefully be a quick and easy answer. I am having some difficulties with multiple lists that have certain characteristics, so what do I have: 4 lists, all the same length that signify: [row] [coumn] [VAR1] [VAR2] So basically I have 2 variables at each location (row,col) … | |
I have been googling for quite a while but I just can't seem to find a precise answer to my question. I'm able to create the setup project and the installation works fine. Included in my application is a .MDB file. What I would like to do, during the installation, … Software Development vb.net visual-studio | |
Sorry for the messy tittle.i dont know what suit with my prob. i have posted a thread last time about string array and compare them with some data.seems like no solution for that,i want to try this way.i want to use double array. same case, i have a file with … Software Development c file-system | |
Hi, There is an error on [inlinecode]DataGrid1.DataSource = Adodc1.RecordSource[/inlinecode] method or data member not found. When i do below setting manuel in properties, there is no problem. Thanks [code] Adodc1.ConnectionString = "Provider=MSDAORA.1;Password=psw;User ID=iuu;Data Source=video;Persist Security Info=True" Adodc1.RecordSource = "Select * From movie" DataGrid1.DataSource = Adodc1.RecordSource [/code] Software Development video visual-basic | |
I use the visual Borland Turbo C++ 2006. if the project is a CPP package this is the error --->[url]http://i156.photobucket.com/albums/t18/Mankind-195/NewNewBitmapFile.jpg[/url] if the project is a unit.cpp this is what I see. --->[url]http://i156.photobucket.com/albums/t18/Mankind-195/2.jpg[/url] I can compile for errors and warnings. But when I get 0 errors 0 warnings, I can't run … Software Development c++ | |
Hi, I have installed netbeans to work on java. I heard that we can simply drag and drop buttons,radiobuttons, and all and we need not write the actual java program.But I am unable to find how can i drag and drop. can any one help me. Thank you. Software Development java java-netbeans | |
Hello I have a txt file with a pattern as below ============================================= Computer name: Abc IP address: 10.10.10.10 User name: user Last pin : Aug 06 2009 10:44:35 ============================================= Computer name: Def IP address: 10.10.10.11 User name: user2 Last pin : Aug 07 2009 10:44:35 ============================================= All I require is … Software Development file-system python | |
Hi all, I am novice in the c #. Having completed the Application contains SQL database. But when I run on another machine gives me an error message as follows: [url]http://img103.herosh.com/2009/09/02/819895428.jpg[/url] Please note that I have the installation of the .net framework, And the connection string I used is: SqlConnection … | |
Hi all, I am using .net framework 3.5 by using C# to configure outlook 2007 I need to import all categories from outlook 2007 to my application particularly on dropdownlist, i want to listed all the categories from outlook to one combobox in my application, i don't know how to … Software Development c# | |
This is a noobie question due to my lack of windows programming so pls excuse me in advance if this question doesn't make sense at first. I'm working on a visual c++ project and I would like to use some routines that I have in some c files. Although the … | |
I have a DX scrolling banner running at the bottom of the desktop. The banner renders, as its backbround, anything beneath it. The problem is that if the background is renewed, I get a copy of the scrolling banner as its own background, even though I've made it invisible before … | |
Hi, i want to make a program of power by using function any one help me example 2^2=4 Software Development c ![]() | |
Attached is the start of my Breakout clone, at the moment the ball should just bounce around a couple of times (smoothly) & then quit. But the ball bounces around with varying speeds and with jerky movements, why? Software Development c++ | |
im an intern student and my task is to make a popup message every 30 minutes to remind my boss about his task its like an alrm clock so i look on to the net and ive downloaded a file called PopupMessage Form and I want it to run it … Software Development vb.net | |
sorry for the long title, but it pretty much sums it all up. I have a 2 test structures, and in one I have a 2d char array, which is essentially a 1d string list. However I can't seem to interact with it on the same level as I can … Software Development c data-structure | |
![]() | I am trying to make a python tone generator, and don't know what modules to use. Any suggestions? Software Development python |
Hi!!!!!! I am facing a problem at the run time of the java byte code. I am using JDK 1.5 in OS Win XP on and i have installed it properly... its compile time is working exactly i.e. javac command produces byte code but when i use command java class-name … Software Development java ![]() | |
I am new to OOP. Before I did my best never to use global variables and it worked fine. But with OOP I find that I am starting to use global variables... very frustrating indeed. How do you prevent it? Let me give you an example. Assume you have a … | |
As the title says, how can i convert a string value to a Microsoft.SqlServer.Managment.Smo.Datatype ??? :-/ Example of code that im looking for: [CODE] Using Microsoft.Sqlserver.Managment.Smo; public partial class 'FormName' { String datatype = "Nvarchar"; Microsoft.SqlServer.Managment.Smo.Datatype dt = datatype; }[/code] Software Development sql | |
I need help. I dont know what to do next to get the following output: groceries.csv: (file needed to input at command prompt (args)) Name, Number natto, 3 eggs, 12 shiitake, 1 negi, 1 garlic, 5 umeboshi, 1 (need to output as shown below): number of integers in file "groceries.csv" … Software Development java | |
Hi. I have wrote a basic program in delphi to perform calculations. The system the program was wrote on had the region set to English(United Kingdom). Upon testing the software, it will only perform calculations when the system is set in either English(United Kingdom) Or English(United States). If i set … | |
Hi everyOne..currently I m dOing my final yr project...I haf sOme cOdes attached..coz i realli don nOe how to continue...can anyone help mi... Thanks!! The one is bold is where i got stuck.. Thanks alot!!! [B][U]Codes[/U][/B] Private Sub cmdSendMesg_Click() ' Set up the communications port MSComm1.CommPort = 1 ' Com … Software Development visual-basic | |
This may be a gdb problem or a KDevelop problem, but I'm hoping it's a c++ problem so it's more easily fixed! If I "execute" my application either in KDevelop or from a terminal, it finishes and terminates without any problems. However, if I step through the code, when it … Software Development c++ | |
hey everybody! :D I am a major noob at programming and I am using VB '08 Express and want to use a text file to set variables on seperate forms of one program. What I would like to know is if i should use seperate files for each form and … Software Development vb.net | |
I have written a small program (it depends on big libraries, so I will not post the actual code) that performs correctly, but segfaults at the very end (main return). [code] int main() { ..... my code here... std::cout << "Finished." << std::endl; return 0; } [/code] I see "Finished." … Software Development c++ | |
I'm trying to learn the very basics of HTML parsing in python. Through these forums I learned what a parser is. [I] " Parsing often means "perform syntax analysis" on a program or a text. It means check if a text obeys given grammar rules and extract the corresponding information. … Software Development data-structure html-css python | |
Ok guys I know I should know this but I didn't do any programming all summer so I'm rusty. Basically I have to read a file into an array of structs and allow the user to print a specific employees info, print the struct, etc. That part is easy. The … Software Development c++ | |
I have my game [url]http://blogfriendlyzone.webs.com/wof/WOF.html[/url] and i tried to share it with some online friends but some complain that they can't even spin the wheel or they can't enter a consonant (after spinning wheel):-O . It won't accept their consonant from the keyboard like it should. Is there something i … | |
Hello, Im trying to open a new windows form by clicking in a menustrip item. Its not the first time I make that but now it doesn't work and I dont know why. Here it is the code I have: [CODE] private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { AboutBox about … Software Development assembly visual-studio | |
In class I have to create a java program that has to use the user method. Here is my code. 1 import java.text.*; 2 import javax.swing.*; 3 import java.io.*; 4 public class Fahrenheit3 5 { 6 public static void main (String [] args)throws Exception 7 { 8 String inFahrenheit; 9 … Software Development java java-swing |
The End.