199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for john_prince

Hi, My CSV files contains embedded double quotes, as it does not conform to the RFC 4180 standard and results in parser complication. I tried using Perl Module "Text::CSV_XS" to properly escape with double-quotes, the output file gives me the result as desired, however some of the line breaks into …

Member Avatar for john_prince
0
186
Member Avatar for antwan1986

Hi everyone and thanks for reading. Up until yesterday I was unaware of this technique, and have always just ran a user's password through md5 and stored the result to the database. From what I've been reading about SALT it sounds like a very cool way of making your passwords …

Member Avatar for antwan1986
0
103
Member Avatar for Rombosia

hi guys, I'm creating a midlet application with Netbeans. When I select build, the IDE builds my application successfully but goes ahead to run it's emulator. This has the effect of increasing the resulting jar file 7 fold in size. Does anyone know how to change the setting to build …

Member Avatar for peter_budo
0
113
Member Avatar for Potato.Head

Hi to all I'm trying to change the headers of a request, I'm trying to simulate a request from different browsers, languages... The problem is when I try to change the headers I receive an exception(see below), this is the code I'm using: [code] HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Headers.Set(HttpRequestHeader.UserAgent, httpRequest.ServerVariables["HTTP_USER_AGENT"]); …

Member Avatar for Potato.Head
0
2K
Member Avatar for Gizmo89

Hello Everyone, At the moment i'm look for some software that will help me document my code using xml comments and the integrate these help files in to VS 2008. I've had a certain degree of success with Doc-O-Matic which seems to work well, but there it one small catch, …

Member Avatar for Gizmo89
0
77
Member Avatar for legendarya49

Does anyone know any good books for introduction to assembly? I have a class with it next semester and would like to get a head start.

Member Avatar for Singh001
0
145
Member Avatar for leegeorg07

hi again i have been assigned a project to create a web crawler in python but i have no idea where to start so all help will be welcome.

Member Avatar for leegeorg07
0
126
Member Avatar for jaguar founder

Hello, I was just curious if anyone wanted to help out in game devolpment in A game called Arctic Frost I dont really wanna post it on here because it takes up alot of room I just wanna say somestuff. What I am Is I am 17 And I wanna …

Member Avatar for jtfrench
0
134
Member Avatar for yasserovic

who can find the Errors in this statments ; 1-[CODE]Assume that: char str[ 5 ]; cin >> str; // user types "hello" [/CODE] 2- [CODE=c]int *zPtr; // zPtr will reference array z int *aPtr = 0; void *sPtr = 0; int number; int z[ 5 ] = { 1, 2, …

Member Avatar for Murtan
0
183
Member Avatar for w32.sysfile

i have a jtextpane now, i want that some text on it become bold, and not all how can i possibly do this, for exmple, i want to bold all the word "cool" found in my textpane.. i know that i should use a DocumentListener(Do I need??) but i really …

Member Avatar for zawert
0
130
Member Avatar for its.romi

I am currently working in asp.net, I m all new to web programming. I have to make a website for our clients, we will give them a user id and password of thier equipment and the details (given by the clients) will be entered in the database. My questions is …

Member Avatar for its.romi
0
162
Member Avatar for ansari.wajid

I have created a user control with name menuUserControl with menu control in it. I have created a user defined property for the user control(menuUserControl) as groupid and when ever I pass groupid to the user control(menuUserControl) in a page, it should use a theme based on the groupid I …

Member Avatar for joelsmith
0
159
Member Avatar for madurai07

Hi, I want to read a line in the file and check the content in the line, for example if the line starts with the text "sample test ..." i want to check wether the line starts with sample, but my code always return no result even thou the file …

Member Avatar for madurai07
0
136
Member Avatar for dhakshina moort
Member Avatar for theimben

Im using [URL="http://uk2.php.net/manual/en/function.get-browser.php"]get_browser[/URL] and I only want to echo parts of what is returned. So say for example I just want to echo platform and browser from what the array returns. How would I do that. Thanks :)

Member Avatar for theimben
0
158
Member Avatar for websurfer

Hello, All: I have been testing and learning by building this simple CMS application and want see if works OK, but most importantly, would like to know if any of you are able to hack it. It's a simple "notepad" that allows people to register their own id/pw and able …

Member Avatar for websurfer
0
110
Member Avatar for Indianblues

Hi I am trying to add FolderBrowserDialog to my ASP.NET page. So i added a reference to using System.Windows.Forms. Now i have placed a button and in button click event i have written code like this . [code=c#]protected void Button1_Click(object sender, EventArgs e) { FolderBrowserDialog fbd = new FolderBrowserDialog(); fbd.ShowDialog(); …

Member Avatar for Kusno
0
552
Member Avatar for glamiss

i have a couple of servers that are changing perms on /dev/null so that "other" can't access it, at random (well, i'm sure SOMETHING'S causing it, but the timing is random), so i wrote a script to go in the inittab so it'll respawn if it dies (bash shell) the …

Member Avatar for eggi
0
143
Member Avatar for AllenB

Hello, Is there a way to take a String, for instance "4 * 5" from a JTextField and convert it into an expression where I will get a result? Thank you.

Member Avatar for sciwizeh
0
139
Member Avatar for BobLewiston

Within a C# program, is there any way to tell if a file is a text file or not? I mean a real way, not just basing your conclusion on a file name extension.

Member Avatar for Ramy Mahrous
0
114
Member Avatar for kateblossom

Hi I would like to create a crawler using java with mySQL as backend. It must work in such a way that it will crawl to a site and grab the data from that site. And then store that data in the database. So can anybody tell me a way …

Member Avatar for sciwizeh
0
510
Member Avatar for computercobra

Heres my problem. I can add a node to my linked list in the front and middle, and at the end. But if I add a node to the end of the list and try to print it out, the program crashes. I studied the code and didn't find any …

Member Avatar for computercobra
0
123
Member Avatar for almostbob

everybody knows strtotime is buggy in and around february first day +1month at the 29 30 31 January typically puts you in march 1 not Feb 1 last day of the month is not always 28 feb, may be march I have a script for my own use, residential leases …

0
106
Member Avatar for serkan sendur

i tried to see the preprocessed file after it is preprocessed. i created den.cpp : [CODE]#define PROC_ERR(MSGSTR, DO_ACTION) \ { \ cerr << MSGSTR << endl; \ DO_ACTION; \ } PROC_ERR(error,action)[/CODE] i run the following command on unix command prompt to create the preprocessed file : [CODE]g++ -E -o den.i …

0
60
Member Avatar for jdbarry

Can somebody help tell what they think is the matter with this code. It is supposed to be a random password generator. You will see what is the matter with when it runs. Thanks in advance [code] /** * This program generates random passwords based on the user selecting the …

Member Avatar for markhogg
0
121
Member Avatar for ejubenville

I'm porting a program that used stdio file facilities to use an std::ofstream instead. The original program uses fsync to force a file's buffers out to the disk. The fsync() is used because I'm writing a logging file, and want to ensure that data is written ASAP (i.e., before a …

Member Avatar for Freaky_Chris
0
3K
Member Avatar for Jaycee

Hi to all. I'm new to all IT stuff but well intersted and I have learn a lots those past few days reading all the Forum tipsand also the Programming FAQ by Iron_Dross. I'd like to become a programmer and I learnt a lot allready but if you can tell …

Member Avatar for LizR
0
260
Member Avatar for RyFo18

So I'm trying to create my first ever Makefile and have run into some issues. My program is broken down like this: filter.c - contains main() includes.h - #defines io/file_io.c - contains some functions that main() uses io/file_io.h - included in filter.c and file_io.c Hopefully that is clear enough. Now …

Member Avatar for RyFo18
0
138
Member Avatar for PomonaGrange

Hi There folks. I was thinking of trying to make a php function in my sites configuration file so that I could keep all mysql database info in one central file. I should mention that this is the first time I have tried to make my own function. I have …

Member Avatar for PomonaGrange
0
151
Member Avatar for FlashCreations

I am working on a project that requires a MySQL database to store important information (So a little security would be nice). I realize that some users can't find or don't have MySQL databases with their hosting accounts. I would like to provide users with the ability to get a …

Member Avatar for FlashCreations
0
357
Member Avatar for jakx12

Basically what i want is the action page to have "GET" information in it. here is the code i got so far: [ICODE]<html> <head> <link rel=stylesheet type=text/css href=style.css> </head> <body> <?php include("header.php"); ?> <center> <h1>You are currently uploading an image in gallery: <?php echo $_GET[gall]; ?> <br> <br> <br> <br> …

Member Avatar for diafol
0
84
Member Avatar for SAZAR

Is there a utility which you load with a .txt file which is a list of files and directories you made previously, so it generates, sort-of, a virtual directory tree (explorer-like, with icons and all)? _______________________________ For example: You have a list, a .txt file, which has this text in …

Member Avatar for GDICommander
0
136
Member Avatar for smashpumpkin

Hi everyone, I've been having a little trouble with an assignment I've been given and I'm looking for a little help. The assignment requires me to read in a line of text from the user, and then use Parallel Arrays (both iteratively & recursively), An Array of Object (iteratively, recursively, …

Member Avatar for smashpumpkin
0
123
Member Avatar for drsmith

We have a script that creates a .csv file that in turn is fed into a python script. Our .csv file is being generated with a line feed at the bottom, and this is hammering the python script. Is there a way to get rid of that extra line that …

Member Avatar for KevinADC
0
133
Member Avatar for LucyB

Do you do the flow chart first or go straight to the code? I find it easier to do the code first for some reason, maybe this is bad?

Member Avatar for Rashakil Fol
0
104
Member Avatar for PaulThomas

Hi, iam new to MFC programming and i was just wondering if someone could help me. Iam after creating two resources called menu and dialog. After creating then i ran into problems. I wanted to be able to click on the menu command that will then display the dialog box, …

Member Avatar for PaulThomas
0
73
Member Avatar for pocnib

I am taking a class in Assembly this semester and am currently at a loss. The first two projects I found easy enough but now we are working with strings. I have a basic skeleton for the program that gets input. [CODE] .data strbuf: .space 80 # Buffer for string …

Member Avatar for Salem
0
136
Member Avatar for ItecKid

Hello, How to call a function which takes dynamic array argument? That is to say, if I have: [code=C++] void fctn (int *a[], int n) { *a = &n; //do stuff with a. } [/code] How to call this in main? Must I have another array declared in main to …

Member Avatar for thelamb
0
107
Member Avatar for Aamit

[code] <? $sql="select * from table"; while($row=mysql_fetch_array($sql)) { $name=$row['name']; $view=$row['view']; $view1=$row['view1']; $id2=$row['id']; ?> <form name="myform" action="list.php?id=<?=$id2;?>&view=<?=$view;?>" method="post"> <td align="center" width="5%"><?=$name;?></td> <td align="center" width="5%"><?=$view;?></td> <td align="center" width="3%"><input type="text" value="<?=$view1; ?>" size="5" id="newva" name="newva"> </td> </form> <td align="center" width="5%"> <a href="/show/list?id=<?=$id2;?>&view=<?=$view;?>" onClick="document.myform.submit();" >Submit</a> </td> <? } ?> [/code] It shows out put …

Member Avatar for diafol
0
277
Member Avatar for gabec94

Hi, I am trying to write a connect four program in python, which I am not very experienced at. This is what I have so far: [Code] row7 = [' ', ' ', ' ', ' ', ' ', ' ', ' '] row6 = [' ', ' ', ' …

Member Avatar for lllllIllIlllI
0
138
Member Avatar for curtissumpter

Hi, I'm having trouble with using and updating graphics in a JFrame. I'll include my code below along with some classes. They're necessary for the program to work properly. The issue is that the paint method is painting over my UI. Then it won't display the graphics. I don't have …

Member Avatar for Ezzaral
0
998
Member Avatar for 3pid

Well what do you think about my round-robin scheduling tournament? Is it good n complete? [url]http://rapidshare.com/files/19116739...edule.exe.html[/url]

Member Avatar for 3pid
0
231
Member Avatar for smstry

Id like to use lapack to invert large martix but i am lost . i don't know even how to install it and call it in a program. i have searched for a month in the web but always the method does'nt work or complicated . can someone do something …

Member Avatar for Ancient Dragon
0
244
Member Avatar for cynical

Hi! I'm using VS 2003 and MS Access. I have this Form1 that displays Record details on textboxes (they are databinded).. The records are retrieved from MS Access using the code: [CODE] Public Sub loadFund() '[Load Items] Dim selectAllSQL as string = "SELECT * FROM Table1" Dim selectAllCMD As OleDbCommand …

Member Avatar for Jx_Man
0
162
Member Avatar for masterarcher

[code=c] void EvaluateHighScore(top10scores ListToBeChecked[], unsigned char Time) { unsigned char RankTen = ListToBeChecked[9].TimeTaken, loopcounter=0, NewRank=0; char UsersName[USERNAME_LENGTH], MoveName[USERNAME_LENGTH]; if(Time >= RankTen) printf("\n\n\tYou Took %d Seconds To Complete The Quiz Well Done\n\tUnfortunatly You Didn't Get A High Score\n", Time); else { printf("\n Please Enter Your Username: "); fflush(stdin); gets(UsersName); for(loopcounter=0; loopcounter<TOPTENSCORES; …

Member Avatar for ianvdl
0
108
Member Avatar for riahc3

Hey The title is a bit confusing so Ill explain. I have a function that returns random values from 0-4 for the computer (which has numberofplayers). Lets say number of players is 2. One is me and the other is the PC. I (myself thru a scanf and I being …

Member Avatar for Salem
0
183
Member Avatar for shadows09

I have no idea how to get started -Prompt user for an integer -If the number is even, divide it in half - If the number is odd, multiply it by 3 then add 1 - If the number reaches 1, stop; otherwise go to step 1 -Use while loop. …

Member Avatar for leegeorg07
0
186
Member Avatar for serkan sendur

Hi guys, I want to select records from the database, i need to pass start index and end index, then the result set will include those records. Let say my database table has 100 records, i want to get the records between 30-50. How can i do that?

Member Avatar for serkan sendur
0
68
Member Avatar for d4diaz

hey guys please help me out here.i really liked to know how to convert hexadecimal to binary

Member Avatar for Freaky_Chris
0
89
Member Avatar for aashaw

Hi all, Can anyone send me the Apriori Algorithm implementation in C and a dataset so that I can able execute and learn. Your help is greately appreciated. Thanks, Arthur

Member Avatar for Salem
0
108

The End.