199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Fortinbra

In an effort to give back to the community, I'd like to start writing tutorials. I'm just not sure what topics to start with, or what topics are generally needed. I'd rather not duplicate a topic already covered on other tutorial sites, but I know I could put a different …

Member Avatar for Fortinbra
1
224
Member Avatar for Soup!

Hello, I'm new with C and I've almost finished this little program but something is wrong. The program reads in a list of names from the file names.txt that I put right in C:, and prints the list to an out file called trans.txt (which it creates on its own) …

Member Avatar for jnawrocki
1
207
Member Avatar for amazed

Hi I have LAMP stack as server and doing my development work on windows. What version system would be perfect in this scenario? Thanks

Member Avatar for mschroeder
1
105
Member Avatar for chrishea

I recently came across [URL="http://www.twilio.com/"]Twilio.com[/URL] that provides API facilities to implement voice or text capabilities through the internet. They aren't the first to provide this kind of service but the capability of the API and their pricing seem to make them worth looking at for anyone who has a need …

1
156
Member Avatar for se00an

Hello all, Inverting an upper (or lower) triangular matrix is a trivial algorithm, due to the nature of the matrix. I am having an issue getting a part of my upper-triangular matrix inversion function to work, and I would like to get it working soon for a personal project. From …

Member Avatar for se00an
1
2K
Member Avatar for brynFlew

Hello, does anyone know a simple way to focus on a different text field after the user enters data in the first text field? Thanks.

Member Avatar for brynFlew
1
326
Member Avatar for brynFlew

Hello, does anybody know a simple way to strip the leading zeros out of a string? I have tried [CODE]userName.replaceFirst("^0+(?!$)", "");[/CODE] but cant seem to make it work, any ideas? Thanks. correction, this work.. [CODE]userName = userName.replace("0", "");[/CODE]

Member Avatar for Ezzaral
1
140
Member Avatar for plang007

After your program works correctly for one student, add a loop so the user can process any number of students. Prompt the user for the number of students to process; use that value to control the loop. *How do I prompt the user for the number of students to process …

Member Avatar for NathanOliver
1
814
Member Avatar for kas04

So this is my first post. I looked everywhere and can't find any help. Here is the problem: Create a 2 dimensional array of integers with 3 rows and 8 columns. Fill this array with 0’s and 1’s (binary numbers) randomly. Each row represents a byte. You are to add …

Member Avatar for kas04
1
138
Member Avatar for sambho

Hi guys I have some problem regarding getting prime factors and distinct prime factors. I manged to get the prime factors but I got stuck on how to get the distinct prime factors.........I don't know how to select unique prime factors and print them....Help me out guys........ Thank you in …

Member Avatar for rajanpathak
1
924
Member Avatar for ddanbe

I was wondering why are there so many methods for adding a row to a DataGridView consisting of textboxes. I have 4, if you find more let me know. Have made a WindowsFormsApp and put on it a DataGridView, with 3 standard columns to it and a button with the …

Member Avatar for ddanbe
1
619
Member Avatar for determine

I'm not sure where to start with this code. I would greatly appreciate if someone could write the code up for me. Here are the details. The program should prompt the user to enter the weight of an object on Earth, between 0 and 1000 pounds, and the name of …

Member Avatar for determine
1
310
Member Avatar for boshu

I am trying to split a file into 2 parts. File format is following: filename_status_date.filetype and the files are: apple_india_20110218091255.txt apple_india_20110221112444.txt apple_india_20110301112444.txt I need to split so that first part carries "apple_india" and second part carries the "20110301112444.txt". I tried the following: [CODE] my ($fruit,$end)=split(/\_/); [/CODE] But that splits the …

Member Avatar for boshu
1
155
Member Avatar for MargateSteve

I currently have two queries that separately show goals scored and appearances made by players in a football team but need to bring them together in one query so I can aggregate results against each other, as well as output records from both in one html table. The two queries …

Member Avatar for smantscheff
1
306
Member Avatar for jephthah

i dont normally work in the console/terminal window in my day job. so, i keep rewriting this every time i respond to someone needing help related to getting user input. im putting it here partly so i dont have to keep rewriting it. this function will get a string input …

Member Avatar for BNF
1
1K
Member Avatar for Mr.BunyRabit

Hey there. ahh again its the LIstbox... I have a dropdown box. with "Name" "Surname" and "student number" When the "name" option is clicked i want the listbox to show all the Names in the name field of my DAtabase in my STudent table. and then when "surname" is clicked, …

Member Avatar for Mitja Bonca
1
453
Member Avatar for IT_Student_604

hi.. i'm having problem w/ my [COLOR="Red"]UPDATE SYNTAX [/COLOR] .. I CAN'T FIGURE OUT WHAT'S WRONG WITH MY SYNTAX.. PLEASE HELP ME.. I REALLY NEED TO FINISH THIS FOR MY DTR SYSTEM THESIS.. i can't move on to my other codes.. please... --the error that i get is.. UPDATE SYNTAX …

Member Avatar for IT_Student_604
1
207
Member Avatar for mikeflash

hey all, The server where I host my website went into unscheduled maintenance, a few minutes later I noticed that the IP of the server changed (they probably moved my website to another server since it's paid hosting although shared). So, my website was back online but some things weren't …

Member Avatar for joefarang
1
1K
Member Avatar for mrnutty

The simplest sort, although inefficient. Below is a demonstration of bubble sort and insertion sort. The bubble sort just consists of 2 for loops and std::swap. The insertion sort uses 2 loops as well but not as much swap as bubble sort. Any questions ?

Member Avatar for 88omar
1
434
Member Avatar for aman rathi

first of all thanks to all for helping me from last 2 years. now a days i am learning Visual basic, i have one book that is for beginner. while studying that book i feel it is insufficient for me. so please can any one tell me a book which …

Member Avatar for debasisdas
1
110
Member Avatar for atticusMom

I have all figured out I think except exercise 7.20 Extend zuul by adding an Class called item. Each item is created with a description such as rock or stick and a weight. When creating rooms and setting their exits, items for this game should also be created. When player …

Member Avatar for atticusMom
1
5K
Member Avatar for onlinessp

Hi, Good Evening,I am new to use Keil and Proteus.From last week i am writing a program,To show Alphabets on LCD, using 89c52.I am in great trouble. The code and simulation files are attached herewith.Plz elaborate my mistake and give me some hints so, I can learn. Respected, Advance Thanks …

1
249
Member Avatar for Kieran Y5

I am writing this thread not to ask how to make an operating system, but to say how to make an operating system. There always seems to be new threads created asking how to make an operating system. [b]The simple answer[/b] There is no simple answer. Making an operating system …

Member Avatar for Beo_Airwolf
1
297
Member Avatar for george61
Member Avatar for vegaseat

Here we experiment with a gauge or progress bar made from a label displaying a variable number of spaces in color. In this example, we use from 0 to 100 spaces. This label based gauge allows you to choose many different colors, and you can even change the color as …

Member Avatar for naytanl
1
592
Member Avatar for cassyjack

I need a little help. Here are the specs: Create a method called findLargest, which takes an array of integers as an input parameter and returns the array index of the largest integer in the array. If there are positions that are tied for largest, the method should return the …

Member Avatar for rosellejane
1
714
Member Avatar for PhilHernandez

How do I add a Macro to an Excel Sheet using Late Binding? I had the code working using Excel(2010) PIA: [CODE] //create a new VBA control module oModule = oWorkbook.VBProject.VBComponents.Add(VBIDE.vbext_ComponentType.vbext_ct_StdModule); //Add the VBA macro to the new code module oModule.CodeModule.AddFromString(sCode) //sCode is the VBA macro I created;[/CODE] I now …

Member Avatar for Sebastian_
1
447
Member Avatar for crapgarden

Just to clarify, the text I'm reading defines the lifecycle of a program as: -idea -plan -source code -object file -executable. In gaming terms would this be comparable to: -an Italian plumber goes on an adventure to save a princess from evil turtles and mushrooms. -sketch out level designs. Write …

Member Avatar for jonsca
1
186
Member Avatar for tracydo

[I]Hi, I'm just 2 weeks into computer science 1. New to the world of java. I'm working on the Monthly Mortgage Payment program and having some problems that I don't know how to fix. Any help greatly appreciated! I'm using JEdit & Terminal on imac. Thanx.[/I] [code]import java.text.*; //for Decimal …

Member Avatar for FireBlah
1
163
Member Avatar for berben11

Hi All! Been working on the following XNA game engine for the past 3 years… [B]See website for pics and videos;[/B] [URL="http://www.temporalwars.com/dotnetnuke/Home.aspx"]http://www.temporalwars.com/dotnetnuke/Home.aspx[/URL] [URL="http://www.temporalwars.com/dotnetnuke/GameEngine.aspx"]http://www.temporalwars.com/dotnetnuke/GameEngine.aspx[/URL] Contains the following features; Graphics * Per-pixel dynamic lighting * Normal occlusion mapping * Reflection handling * Powerful explosions, fire, and smoke particle systems * Glow post …

Member Avatar for ajst
1
324
Member Avatar for rgpii

I have been trying to communicate between my client and server program. I have checked and rechecked the man pages and it seems my syntax is correct. I'm trying to send packets from my client to my server and the server prints out the host name. My server seemed to …

Member Avatar for rgpii
1
1K
Member Avatar for fabzster

Hi I am using the following join query to get a list of stores that have sold policies during the day. But I need it to be distinct [CODE] $Query = mysql_query("SELECT tblpolicies.StoreId , tblpolicies.DateReceived , DailyGroup.GroupName , DailyGroup.StoreName , DailyGroup.PortfolioName FROM tblpolicies LEFT OUTER JOIN (SELECT StoreId , GroupName, …

Member Avatar for jlego
1
239
Member Avatar for azegurb

hi i have created function that automatically adds rows with chekcboxes. i can create two button that one serves checking all checkboxes and the another one serves for unchecking rows. but i would like to check/uncheck all checkboxes with single checkbox. then i have created checkbox for the purpose to …

Member Avatar for azegurb
1
123
Member Avatar for JBLDW

How would I go about altering every table in a MySQL database? I have read several posts on this subject, regarding altering a table for foreign character sets and the like, or altering specific tables, but can find nothing for what I am trying to do, which is to use …

Member Avatar for JBLDW
1
112
Member Avatar for abebosco

Hi, As said in the title, the program needs to accept only integer values.. It should not accept float point numbers or characters or spaces or integers mixed with characters .. I know it has to do something with the while statement but i cant figure it out .. Your …

Member Avatar for WaltP
1
10K
Member Avatar for jonsca

I recently was using the BinarySearch method and I was curious about why the designers had coded the method with the following for a return value: "Return Value The zero-based index of item in the sorted List, if item is found; otherwise, a negative number that is the bitwise complement …

Member Avatar for ddanbe
1
125
Member Avatar for Srinivasrajan

How to find errors in a given xml file, for e.g., in the following xml file.... <?xml version="1.0" encoding="ISO-8859-1"?> <bookstore> <book category="cooking"> <title lang="en">Everyday Italian</title> <author>Giada De Laurentiis</author> <year>2005</year> <price>30.00</price> </book> <book category="children"> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>29.99</price> </book> <book category="web"> <title lang="en">XQuery Kick Start</title> <author>James McGovern</author> …

Member Avatar for mrame
1
164
Member Avatar for zachattack05

I tried asking this at the MSDN website and didn't get an answer at all...I was hoping someone here could help. If I indicate that SQL Server Express is to be a pre-requisite for my application, how does the installer interpret this? For example: If end user A already has …

Member Avatar for zachattack05
1
237
Member Avatar for bumsfeld

Just curious how you got started. For me it was science class that used Python as the main tool.

Member Avatar for vegaseat
1
128
Member Avatar for mesamb1

I am new to PHP and I am trying to create an application for a friend with a good sense of humor, the app takes quotes and randimly loads one when the page is loaded. I had no idea how to do it so I took some coading for a …

Member Avatar for frops
1
154
Member Avatar for juanp

I'm having a lot of trouble getting my code to compile. It basically has this structure: [CODE]Headers: a.h, b.h, c.h CXX: a.cxx, b.cxx, c.xx[/CODE] And my main.cpp of course. The problem is that my classes link each other, ie. a uses something from class b and b uses something from …

Member Avatar for Fbody
1
119
Member Avatar for memory100

here is the current code i have : [code] Sub Remove_Blank_From_PivotTable1() ' The purpose of this macro is to remove the word (blank) from apprearing ' on any pivot table report.' Dim counter As Integer ' setting up a counter to loop through the worksheet Dim lastRow As Integer, lastColumn …

Member Avatar for AndreRet
1
118
Member Avatar for RolandTheNerd

Hello, My whole life I've wanted to make a video game. I've been influenced by notable programmers; Shigeru Miamoto and Tetsuya Nomura. I'd like to learn how to do C++ programming so I can make a game. I'm only a freshman in high school, so you can imagine, I don't …

Member Avatar for vinayakgarg
1
199
Member Avatar for KevinADC

A bare-bones code snippet to remove duplicate lines from a file. There are a number of ways to accomplish this task but this is a fast and dependable method using perls inplace editor and a simple hash to get the job done. This probably should not be used for really …

Member Avatar for sensamurai
1
1K
Member Avatar for sach_ak47

hi , guys i am created one application using jsp and java but i dont know how to make jar, and what configuration nedded in manifest file i want to play that application in my mobile which is supportion java application

Member Avatar for Hakoo
1
948
Member Avatar for abelingaw

[URL="http://www.daniweb.com/forums/thread341763.html"]http://www.daniweb.com/forums/thread341763.html[/URL] Regards to that, i also wanted the system not to be able to delete Administrator Accounts via my code also posted there. Here's the code again: [CODE] Private Sub cmdDelete_Click() ' On Error GoTo err Dim intYN intYN = MsgBox("You are about to delete a record." & vbCrLf & …

Member Avatar for AndreRet
1
146
Member Avatar for ntrncx

hey,thats my first post,i started recently to have for hobby programming,and i am really interesting to learn. anyway i have a problem i write a program that use some classes objects my problem is probably fundamental but i couldnt find answer on net. i have one header file that i …

Member Avatar for ntrncx
1
452
Member Avatar for Tech B

This is a facial recognition system. Supports one face so far. This is an example ported from C++ to python. To see the original and to obtain the dll used visit [URL="http://www.kyb.mpg.de/bs/people/kienzle/facedemo/facedemo.htm"]this site.[/URL] I do not take credit of the dll, only the ported python code. The comments in the …

Member Avatar for Tstrv
1
659
Member Avatar for purell

HI, I would like to load a aspx page based on a session parameter. I have a "login name" in the session parameter and i want to show this aspx page if the "login name" session parameter matches a particular "login name" How can i do this? Thanks in advance.

Member Avatar for kvprajapati
1
270
Member Avatar for Fjolsvidr

I'm looking to learn C++ from online sources. Which would you recommend considering I have no prior programming experience. Also, is it necessary or helpful to learn C beforehand?

Member Avatar for mike_2000_17
1
128

The End.