199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for djustus1

I hope I am postin gin the right spot.I am new to this site. I need help with sorting the grades, please. Can anyone help?Thanks [code=cplusplus] include<iostream> #include<iomanip> using namespace std; int main() { double *grades; //point used to point to an array that holds grad double total = 0.0; …

Member Avatar for djustus1
0
127
Member Avatar for Peter_APIIT

Hello to all, as you all know FFT algorithm has many variation in terms from its pruposes. My requirement of FFT is integer multiplication and polynomial evaluation. I looking for good reference about the topic. If you have any, please post it here. Thanks.

Member Avatar for StuXYZ
0
142
Member Avatar for rasizzle

[code] import os import csv ifile = open("C:/Python26/testdata.csv", "r") [/code] here is the error i get: Traceback (most recent call last): File "C:/Python26/06_June_2009/testhenry.py", line 4, in <module> ifile = open("C:/Python26/testdata.csv", "r") IOError: [Errno 2] No such file or directory: 'C:/Python26/testdata.csv' I have no clue what to do. I can't read …

Member Avatar for rasizzle
0
157
Member Avatar for Alicito

well my friends I tried to solve a problem and it was about allowing the user to enter a paragraph , then the compiler'll count and display the number of typed words . welll I easily solved it like this -------------------------------------------------- [code] #include<iostream> #include<string> using namespace std; void main() { …

Member Avatar for tux4life
0
340
Member Avatar for shawnk

Hello, I am trying to use the awk command to print two columns. One of them has a percentage value. This is for file system monitoring. When i try to read it from a file it does not recognize the precent sign and ignores it. How can i convert it …

Member Avatar for shawnk
0
2K
Member Avatar for gnobber

Hi, I just would like to ask if there is a benefit regarding this type of relationship between tables. Say I have a table named Student. I usually relate a table (one-to-one) to extend it. What I mean is so as to not put too much columns in Student table …

Member Avatar for xpartmgr
0
135
Member Avatar for hughesadam_87

Hey everyone, I am writing a simple code, and seek to do something which I don't know whether it is possible or not. First, I have a name list: [CODE]Name_List = ["Jake", "Steve", "Adam"];[/CODE] The first thing I'd like to do is open a separate file for each name in …

Member Avatar for hughesadam_87
0
101
Member Avatar for devsaffa

I'm trying to manipulate an indexed image. In order to use the Graphics class, I first convert the image to a Bitmap. After the manipulation, I want to save the image back as an Indexed image. To do this I'm creating a blank Bitmap and using Graphics.DrawImage() to 'populate'. My …

Member Avatar for ddanbe
0
547
Member Avatar for ejazmusavi

Hi Every one. i have three timespan t1 =00:10 t2=1:20; and t3. where t3=t1.Add(t2); now t3=1:30 how i can convert this to 1:30Am or 1:30PM Please any one to help me....... Thnx in advance

Member Avatar for ddanbe
0
117
Member Avatar for ChrisJ

Greybox, the pop-up window: [url]http://orangoo.com/labs/GreyBox/[/url] I'd just like to know how I can get it to pop-up not in the center of the page. I'd like it to pop-up on the left side of the page. Is that possible? If so can you help me accomplish this? It's ben suggested …

Member Avatar for abhihome
0
92
Member Avatar for S2009

Hi all, I am trying to create an application which involves the User to change the password. I am using Microsoft Visual Studio for developing the Graphical User Interface and Microsoft SQL server as the back-end. I have created a separate form which allows the user to change the password. …

Member Avatar for sknake
0
88
Member Avatar for vuyiswamb

Good Evening All Am amazed that i cant use the Replace Function , its Probably the long that i had. i have the Following code [CODE] String Username = "Vuyiswa"; String Password = "secret"; String strBody = @"<p>Thank you for using !obooking System <br><br> Username:(Username)<br><br>Password:(Password)<br<br>Kind Regards !oBooking</p>"; strBody = Regex.Replace(strBody,Username,"(Username)"); …

Member Avatar for vuyiswamb
0
117
Member Avatar for brainbox

hi I am badly stuck with inserting and retrieving Date in SQL DB from C#. I have a C# application which needs to save date in SQL 2008 Database for various purposes. The format in DB is DateTime for my DateColumn and i am using Datetime Picker in my c# …

Member Avatar for brainbox
0
664
Member Avatar for grin2dan

I have a script written in Korn that hangs. Please see code below and advise. TIA [code] login as: dgrin dgrin@cbdp57009's password: Last unsuccessful login: Sat Jun 13 13:06:21 CDT 2009 on ssh from dbtrsqc1.chris topherandbanks.com Last login: Tue Jun 16 21:46:51 CDT 2009 on /dev/pts/0 from dbtrsqc1.christopher andbanks.com ******************************************************************************* …

Member Avatar for msvinaykumar
0
166
Member Avatar for Codesearcher

Hi All, I am a newbie to UNIX shell scripting. Kindly help me in below requirement i actually FTP a compressed file from UNIX to Windows server, while uncompressing the transfered file it actually contains a box character [] instead of a new line but i need it as a …

Member Avatar for msvinaykumar
0
152
Member Avatar for CaptainColossal

Hi I have an HTML document with a table that is 3 rows of 3 cells each, that presents 9 flash presentations in those cells. I want to use a pair of radio buttons to toggle the presentations in those cells as follows. The page will load with a "jpg" …

Member Avatar for Airshow
0
136
Member Avatar for Mandler

I'm writing a query to summarize survey results. There are two tables... 1) The Profiles table contains the users' answers. There are four columns: ProfileID (for the unique key), QuestionID (a number representing canned questions from another table), Answer (a number representing multiple choice answers from another table), and UserID. …

Member Avatar for Mandler
0
159
Member Avatar for jamojo

Hello Everyone, Can you give me some idea on how to connect to an https site which requires user name and password? I would like to download or upload a file to the https using Java. Is this possible? Any suggestions are greatly appreciated. Looking forward to your replies. Thanks …

Member Avatar for jamojo
0
115
Member Avatar for Zay

HELLO; see this quastion , i tried to solve it , but there is sometjing wrong , i do not know it because no errors accur ! [COLOR="Green"]A 5 letter word x is hidden in a string y such that the first two letters of x are the first two …

Member Avatar for Lerner
0
118
Member Avatar for kireol

Is there a better way to do a search within an array of associative arrays? :) Basically a way to replace the function that I did that works, but was wondering if there's a better way. [ICODE]<?php $employee = array(); $employee [] = array("name" =>"Chris Apple", "company" => "Acme inc.", …

Member Avatar for kireol
0
158
Member Avatar for slawted

hello guys i recieve errors when compiling my code [code] #include <iostream> #include <fstream> #include <string> int main() { std::string firstname, lastname, age, emailadress, message; char answer; std::cout << "Hello please imput your first name: "; std::getline(std::cin, firstname); std::cout << "\nNow please enter your last name: "; std::getline(std::cin, lastname); std::cout …

Member Avatar for Lerner
0
218
Member Avatar for scrappy

I'm taking CMIS140, and I have a project using complex numbers. I can't figure out how to write the calculations into the program. I have attached the project, and the code I have written at this point. If anyone has any suggestions on how to do this, I would appreciate …

Member Avatar for Ancient Dragon
0
221
Member Avatar for acplayer

In my application I have: Class B Class C extends B. Class C contains one method that overrides a method in B. Lets call the method myMethod and Class C has the constructors that simply call the super method in the parent class. In a JSP file that uses these …

Member Avatar for JamesCherrill
0
77
Member Avatar for ChrisJ

Thanks for looking here. I'd like to move the list of thumbnails that appears on the serch page of this php script (see attached). They appear on the left side of the right column. I'd like them to appear on the right side of the right columns and was told …

Member Avatar for ShawnCplus
0
105
Member Avatar for lexusdominus

Id like to edit a file. At first i thought this was going to be easy, but now it appears quite complex. As i understand it there is no standard way to delete part of a file? im storing data on different lines in the file, and want to target …

Member Avatar for siddhant3s
0
120
Member Avatar for DavidJ12345

Hi, i have installed VC++ 6.0 & Visual Basic 6.0. I have written a programm in C++ (MFC dialogbased), which use a dll which was written in VB. In this VB - dll i writte the data in a xls-file. the point is if i run my VC++ programm on …

Member Avatar for DavidJ12345
0
135
Member Avatar for Enrico!

Hi, every one....recently i have learn how to delete rows from a table, but i was trying to do it by mean of the row id, and i could do it...so if any one have a wonderful idea..please let me know. please could you also upload the code when you …

Member Avatar for sysel
0
8K
Member Avatar for ejazmusavi

Hi Every one. I have an MS access database table in which i have stored a data type of date/time in short time format. When i access the table from c# and diplay it into a data grid view the column in short time format diplay as long time format …

Member Avatar for kvprajapati
0
135
Member Avatar for timb89

[code] int countDigits(string word) { int count = 0; for (int i = 0; i < word.size(); i++) { if (word.at(i) < 57 && word.at(i) > 49) { count++; } } } [/code] i want to count the digits in a string "abc123". i know my problem is in the …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for aramakri

I have an idl file and it compiles successfully when compiled with jidl.exe.When it is compiled with idlcpp.exe it gives an MIDL2025: syntax error: expecting a type specification near "in". the idl file is interface auditserv { void storeLoginInformation(in string infmn1,in string infmn2); };

Member Avatar for jencas
0
141
Member Avatar for djdanjo82

Hello All. First, I thank you all for viewing this thread. Second, I was wondering if anyone here knows of a way to pull data from Wireshark and to insert it into an Eclipse Application. My eclipse application is measuring data sent across a network. If I can pull packets …

Member Avatar for djdanjo82
0
266
Member Avatar for ruchisharma

hey , do u know any tool that convert IDL(Interactive data language) to C++. plz, if u know do tell me!! thanks in advance

Member Avatar for jencas
0
1K
Member Avatar for pradeepktg

Hi, How to find number of rows affected in update statement using mysql (not using php mysql). Thanks, Pradeep

Member Avatar for Atli
0
2K
Member Avatar for scriptkiddie

Hi. I have a VB .net application which retrieves large amount of data from the database. It can take upto 4 mins to retrieve the data. I would like to know if there is I can do at the application end to speed up the process. Caching ?? Paging ? …

Member Avatar for scriptkiddie
0
55
Member Avatar for sciguy77

I'm ready to put up my Python web server, but before I do I would like to know what security risks hosting a web server presents. And more importantly how do I make it more safe and secure? Thanks.

Member Avatar for leegeorg07
0
61
Member Avatar for flip121

I need to change a character inside of a string in a list ex horizontal=2 across=2 List=['abcdefg', 'hijklmno', 'pqrstuv',] I would want to change just one character like the third character in the third string(but I don't know that the program will know using horizontal and across) to 'd'. if …

Member Avatar for flip121
0
83
Member Avatar for jcmeyer

I have a textentrydialog and my goal is that the user cannot leave the the text entry blank or just empty whitespace. So the dialog should not go away until the user enters some characters in the box or hits cancel. This is what I have: [CODE]def OnNewButton(self,event): error=1 while …

Member Avatar for JasonHippy
0
98
Member Avatar for thilinam

I need to handle dates and times in a vb.net program. If there is a data type to handle that please let me know how to work with it. that class should have capability to compair, increase, decrease, add, substract and support to ms access date and time data type.

Member Avatar for jbisono
0
112
Member Avatar for Firefly1985

Hi, i know my following question may seem rather stupid but im having some problems understanding the static concept especially in the following code and id appreciate some help. [code] 4: using System; 5: 6: public class myClass 7: { 8: static public int sctr = 0; 9: public int …

Member Avatar for kvprajapati
0
80
Member Avatar for havejeet

Dear All, I have developed C# application to import data from CSV to SQL Server using sqlBulkCopy. However I am facing couple of problems listed below 1. whole transfer fails when one record has column width issue (source column width is 30 and destination is 20) so how could I …

Member Avatar for sknake
0
153
Member Avatar for smelf1

Hi all, I would like to be able to show all the websites visited on a machine. How would i go about doing this. Thanks

Member Avatar for rapture
0
836
Member Avatar for zoner7

This program is frustrating me. I cannot for the life of me figure out what is causing this error message. It's the sort of thing where I fix one issue only to cause 10 more. The compiler is giving me like 8 identical pairs of errors, one for each Ball.itsPosition.getX/Y …

Member Avatar for Sky Diploma
0
120
Member Avatar for MJ Pieterse

i'm not sure if this is the correct place to post this, but i have a li menu with a sub menu that uses javascript. my normal code for a menu would be for instance: [code] function mmLoadMenus() { if (window.mm_menu_123456789_0) return; window.mm_menu_123456789_0_1 = new Menu("Tables",80,16,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#004E69","#C6282B","center","middle",3,0,1000,-5,7,true,true,true,0,true,true); [/code] the …

Member Avatar for Airshow
0
124
Member Avatar for BradenMurphy

Hey, I would like to know how to only allowing one instance of a program to run at once. Ie: You can't run the application multiple times creating multiple processes. I only want to allow one instance of that application to be running at any given time.

Member Avatar for mediastar
0
171
Member Avatar for rmlopes

Hello, I am developing a library, which untill a few days ago was working perfectly. With some changes I needed to perform I started having a segmentation fault. The problem is that I cannot understand why the fault is happening since the conclusion from gdb is the following: [code] Program …

Member Avatar for rmlopes
0
157
Member Avatar for grvs

Hi I am trying to display time in a text box which updates itself every second. I am using visual C# and I am pretty new to it. (My first program in visual C#) (Actually its part of a little bigger problem in which I have to implement a timer …

Member Avatar for grvs
0
617
Member Avatar for Manak

hello everyone..I would be grateful if anybody could help me in performing subtraction from diffrent tables... My Database has a Asset table which has opening balance and balance left coloums in it.and i have one store table which has received/issued item and its quantity.Wat i want to do is if …

Member Avatar for sknake
0
116
Member Avatar for virang_21

Hi, I have hosted a website that has MSSQL Server 2005 database on different machine. I am using the following connection string [code]<add name="ConnectionString" connectionString="Server=mssql2005.ableos.com.au;Database=visualinventory_ableos_com_au;Uid=myuserid;Pwd=mypassword;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />[/code] I am getting the following error. [B]A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server …

Member Avatar for smithroy9
0
151
Member Avatar for J-P

Hi, Is there any (free) graphical engine for Visual Basic .Net that can be used to show 3d graphics and/or create games? Anything is appreciated... Thanks,

Member Avatar for J-P
0
220
Member Avatar for k2k

say i have: document.writeln("0") document.writeln("1") document.writeln("2") document.writeln("3") document.writeln("4") how i do generate them in different order each time but all of them must display? ... please help ex: .... 1 ........ 3 ...........0 ...........4 ........... 2 then another output would be: ........3 .........2 .........4. .........1 ............0 ... all random but …

Member Avatar for essential
0
136

The End.