64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Joe Shmoe

I am just starting to learn x86 assembly language because eventually I want to make my own OS. I wrote a boot sector in fasm and it doesn't load the second sector into memory. Because I just started, there is probably something obvious wrong with the code. Could anyone tell …

Member Avatar for Joe Shmoe
0
132
Member Avatar for don0369

Hello everyone this is my first post. My problem is reading from a text file. The file is in the format: name\tdouble\tdouble\tdouble int Since I have no control over the format of the file and do not know the size, I first begin by counting the lines of the file(nLineCount2). …

Member Avatar for don0369
0
120
Member Avatar for connormcleod

hello, I am working on a little database program in C++ that writes to a text file, saves, and then reads the text file into array's, but i'm not real sure how to go about converting the information in the text file back into arrays. the text file looks like …

Member Avatar for kvprajapati
0
9K
Member Avatar for Xessa

I want to insert an array into a table. Each array element is a row in the table. How can I achieve my goal? I don't want to use [code] VALUES x1,x2,x3,x4 ......[/code]

Member Avatar for humbug
0
164
Member Avatar for ankitjain_dce

Hi, Can we write javascript in iframe? I want to call a external application javascript in my iframe of the jsp i am writing....issue is we can only have one call of this JS per page,now I am importing some html tags from a 3rd party which also does this …

Member Avatar for ankitjain_dce
0
7K
Member Avatar for MDGM

Hi guys, I have a simple registration form and have had trouble getting it to check if the username is already taken in the database. This is what I have at the moment: (the code i tried to use to make the check is about half way down) [CODE] <?php …

Member Avatar for allihoge
0
2K
Member Avatar for Biolizard5000

Quicktime automatically plays files I want to download. Such as Mp3 download links and such. An example is [url]http://beemp3.com/[/url] (There are more sites than just this one.) I use FireFox and tried "Save Link As" and also tried Internet Explorer's "Save As". It does nothing. Just flashes the timer and …

Member Avatar for Biolizard5000
0
128
Member Avatar for leverin4

Picture 1 down below is of a Maze program I wrote as it looks when you open it. Picture 2 is the same Maze after the program finds its way out. I want to alter the code so the program adds each blue spot one at a time as it …

Member Avatar for VernonDozier
0
242
Member Avatar for adarshcu

[code=Cplusplus] file.open("1.txt"); file.seekp(pos,ios::beg); getline(file,temp); file.close(); [/code] i ve this small code where temp is string data type. suppose the value of pos points to a location yet to be filled with data, what would be the value stored in temp? is it NULL? temp is not been initialised by any …

Member Avatar for vmanes
0
102
Member Avatar for uykusuz

Hello, I have a php script. there is user and admin sections. The information is displayed in the user side (displaying adding new article) when added from admin side. But when I add a new article and refresh page. it does not come but after 2-3 refreshes It comes. same …

Member Avatar for uykusuz
0
126
Member Avatar for Majestics
Member Avatar for Majestics
0
120
Member Avatar for vizy

Hi Guys, I have 2 listboxes Listbox1,Lixtbox2.. I am moving items from Listbox1 to Listbox2.. and vice versa using Javascript with the button clicks. The code is working fine.. but I am unable to get the Updated(done using JS) Listbox Items at the backend(C#) file. I am using the UpdatePanel …

Member Avatar for vizy
0
135
Member Avatar for fatbob

Hi all I am new to programming and python and am having trouble reading particular strings from a text file and writing them out to a separate file. The file has a large number of lines, has the following format and is interspersed with signature sentences i don't need: subdoc="Book=2:chapter=1" …

0
71
Member Avatar for BillWebber

Hi I did have this code working some time ago and now for some reason it just returns a blank message box. In fact I have been trying to get this back running for many hours now and I am left with little option but to ask outside help. It …

Member Avatar for BillWebber
0
154
Member Avatar for candidz

i want to implement "http://road.fullspeedahead.com/fly.aspx?taxid=222&layout=product", i need help.....???

Member Avatar for candidz
0
87
Member Avatar for FallenPaladin

Hi I am a little confused about interfaces. Can an abstract class inherit an interface, so that interface can be used in conjunction of a class derived from the adstract? eg A is an interface, B is an abstarcat class, C & D inherit from B but have different proerties. …

Member Avatar for sknake
0
302
Member Avatar for vedro

Hello I am new to this forum. I am using MS SQL 2005 Express I have a database GK.dbo (the original databese) and I have created a database GK_2009.dbo (it is created from the original database, so it has the same structure) I want to create a script that would …

Member Avatar for vedro
0
132
Member Avatar for headacheinC

Hi all, I just get stuck with this kind of simple problem. Such a novice i am. Could you help me guys.:$ I try to built the code and for the first procedure i should open first the file. The file which i should opened its depend on the input …

Member Avatar for headacheinC
0
136
Member Avatar for ptaylor965

I have a dataset (Private DS As New DataSet) and i need to make a Crystal Report from the data held within it The data comes from multiple tables then merge into a new table held in the dataset only How do i create the Crystal Report as the new …

Member Avatar for jerry32uk
-2
206
Member Avatar for jacobus8

Hello all, I am brand new to PHP, MySQL and Apache but I have over 25 years of software development experience on other platforms and more than 15 years of client/server, object-oriented, GUI, and SQL back-end development experience, so I feel confident that I will be able to give back …

Member Avatar for kvprajapati
0
2K
Member Avatar for gagan22

Hi All, I am making an application in PHP using ajax as i dicussed in my last forums about multiple select boxes . Now the problem is coming that my application is running well . Let me explain whole of this: Like i have made one application for country , …

Member Avatar for Baldy76
0
174
Member Avatar for Xessa

I submit the form and execute a method in a servlet. I want to inform the user if the execution worked. I'm returning false from the method if it did not executed. Else if he was able to do the execution, i want to inform that he did it and …

Member Avatar for essential
0
107
Member Avatar for rithera

So, this is my hello world program for python and I have been able to solve all the problems except 1. When I grab the page data from WoWArmory in python, non-ascii characters like "ø" are printing as "ø" and "é" as "é" and so on. So, I went over …

Member Avatar for rithera
0
122
Member Avatar for JackDurden

So in a binary tree the insertion looks something like this: [CODE] void btree::insert(int num) { if(root!=NULL) { insert(num, root); } else { root=new Node; root->data=num; root->left=NULL; root->right=NULL; } } void btree::insert(int num, Node *leaf) { if(num< leaf->data) { if(leaf->left!=NULL) { insert(num, leaf->left); } else { leaf->left=new Node; leaf->left->data=num; leaf->left->left=NULL; …

Member Avatar for csurfer
0
123
Member Avatar for VernonDozier

I'm experimenting around with Server Side Includes. I have them working fine using a .html extension. Trial.html file is below: [code=HTML] <html> <body> <!--#include virtual="HelloWorld.html" --> </body> </html> [/code] The .htaccess file looks like this: [code] AddHandler server-parsed .shtml .html .htm Options Indexes FollowSymLinks Includes [/code] HelloWorld.html is just a …

Member Avatar for VernonDozier
0
134
Member Avatar for 0xCMD

I was trying out a very simple calculator program: Here's the code: [code=c] #include <stdio.h> #include <stdlib.h> // Calculator Program // By 0xCMD int main() { double number1 = 0.0; /* First operand value a decimal number */ double number2 = 0.0; /* Second operand value a decimal number */ …

Member Avatar for Dave Sinkula
0
174
Member Avatar for gujjar19

Hi; I'm learning Python, need a little help here. I have a text file which has the below data, [QUOTE] <SYNC Start=5047><P Class=ENCC> Back, back, back, back! <SYNC Start=7235><P Class=ENCC>&nbsp; <SYNC Start=10725><P Class=ENCC> Yeah, Dan! [/QUOTE] I want to strip the text only i.e. [QUOTE] Back, back, back, back! Yeah, …

Member Avatar for gujjar19
0
143
Member Avatar for gujjar19

I have a subtitle file and I want to extract timestamps from the file. e.g. from below lines: [QUOTE] <SYNC Start=106377><P Class=ENCC> Hey... <SYNC Start=107350><P Class=ENCC> close the door. [/QUOTE] I want to extract timestamps '106377' and '107350' and append them with the name of the file including .bmp at …

Member Avatar for gujjar19
0
83
Member Avatar for thacravedawg

Okay so I have a multiline textbox that accepts user input and stores it in a database. I then have another form that queries for this field and displays it. Everything is working fine, except for the fact that it won't recognize new lines when the user presses enter. I …

Member Avatar for serkan sendur
0
134
Member Avatar for Lensva

need some guidance on how to make JTable look something like this: [img]http://imgkk.com/i/pQTxSCQf.jpg[/img] so far on searching i'v found nothing concrete and what i have found is scrambled between multiple .java and hundreds of lines. not readable to me. what/where should i look into that would provide me a skeleton-like …

Member Avatar for Ezzaral
0
86
Member Avatar for TheBrenda

Looking for log4net.dll - download will not unzip I have been to [url]http://logging.apache.org/log4net/download.html[/url] and downloaded both files: incubating-log4net-1.2.10.zip incubating-log4net-1.2.9-beta.zip. Neither one will unzip. I have tried downloading twice and have used WinZip 12 and whatever comes with XP. Can anyone send me a copy of log4net.dll? bgrossnickle at@ bellsouth dot. …

Member Avatar for TheBrenda
0
221
Member Avatar for poeticinsanity

When I use the external module that runs the same code (line commented out) the program terminates. However, when I run the code inside the current module, the program seems to work just fine. Anyone tell me where I'm going wrong? I'd like to be able to use the utilities …

Member Avatar for poeticinsanity
0
85
Member Avatar for redZERO

Hi guys, I am using boolean variables as flags in a program and i want to be able to invert the value. for example if the current value is true, then it must be changed to false; doesn't matter if i don't know what the current value is.

Member Avatar for redZERO
0
437
Member Avatar for Edel_

I'm not really well versed in web development techniques so I'm not sure if I'm describing it properly. What I'd like to do is to be able to remotely access the content of a page that don't immediately appear when the page loads and don't show up on the page's …

Member Avatar for Edel_
0
314
Member Avatar for FallenPaladin

Hi I am slightly confused about interfaces for an inheritance structure. Firstly can anyone explain there purpose, secondly can anyone demonstrate there use. I have created an application that uses reflection to dynamically instantiate classes and invoke methods within those classes. During research for this app I cam accross interfaces …

Member Avatar for sivak
0
151
Member Avatar for Tank50

Hi I use C# to read excel file.So user has to enter path of the excel file into application.However problem is, if there is null value in excel sheet for particular column then it generate the exception.so i want to create another application that check null ,how do I find …

Member Avatar for Tank50
0
202
Member Avatar for 0xCMD

This is a newbie question regarding Bitwise Operators in C: The variable original is initialized to 0xABC. [code=c]unsigned int original = 0xABC;[/code] I know that 0xA = 10 in HEX but what does 0xABC mean? Testing it in the compiler I get the following value "2748". But how does this …

Member Avatar for csurfer
0
171
Member Avatar for HITMANOF44th

i want to import a file and then use the items in variables i have the file imported i also turn it into chunks with explode now i tried preg_replace to get rid of certain charaters i need to get rid of " character from the file then split it …

Member Avatar for HITMANOF44th
0
106
Member Avatar for Xessa

I want to get the row number of a specific row in the table. Also is this legal? [code] INSERT INTO (SELECT * FROM myTable WHERE mynumber=2) VALUES ........ [/code]

Member Avatar for pty
0
138
Member Avatar for Bisaye

Hi I am woring on a for loop to extract selected datas from matlab workspace.The program has some problem to give you an idea what it all about. I want to read 12 datas which follow some pattern in my case every 10 datas that follow a criteria 20 first …

Member Avatar for Bisaye
0
113
Member Avatar for MJ Pieterse

I have a Java file with sub menu’s that links (via include) to my Master Page. everything works fine, except that the menu is not linking correctly. I have used relative links, but obviously the master page inherits each page and the links are not created to link via all. …

Member Avatar for MJ Pieterse
0
227
Member Avatar for Benkyou

Hi there, this is my first post here so please tell, if im doing something wrong. Ok so heres the the struct [CODE] typedef struct _CMD { char nome[100]; char arg[100]; struct _CMD *prox; }*CMD; typedef struct _sCMD { int cont; CMD inicio; CMD fim; }*sCMD;[/CODE] The function i use …

Member Avatar for Benkyou
0
115
Member Avatar for cmick56

I am having trouble figuring out how to write the following code and having the the two void functions? I am supposed to pass the values of the integer array to the functions using the call by reference method. here is the code i have so far. [code=cplusplus] include <iostream> …

Member Avatar for Ancient Dragon
0
142
Member Avatar for okieoilman

I need to add commas to my data.. Somehow I'm missing the mark on getting this done... Currently out putting building info with: [icode]<td><?php echo $row_DetailRS1['BuildingSize']; ?> </td> [/icode] I've use some variations of [icode]number_format($number);[/icode] without results. Should be easy but I'm not getting the results. Oh, and yes I'm …

Member Avatar for okieoilman
0
51
Member Avatar for Dex09

Just a simple question, this has always bugged me. I always wondered why JS includes and code were split into separate script tags. jQuery, Analytics, and others do this: [code=javascript] <script src="/js/scriptname.js" type="text/javascript"></script> <script type="text/javascript"> //code here </script> [/code] Why use multiple tags? Why not: [code=javascript] <script src="/js/scriptname.js" type="text/javascript"> //code …

Member Avatar for Airshow
0
223
Member Avatar for mindfad

Hi Ive recently tried to move a python code from a mac version to a version of Psychopy IDE. Now the code wont work on the pc it tells me there a syntax error. Is there something different that mac uses in the python code then the pc? if not …

Member Avatar for mindfad
0
161
Member Avatar for Josh Connerty

Hey guys, Basicly my nephew has just been born and I need to put soem images on my site for my grand parents (the great grad parents) to see. I can upload smaller galleries and all is well but for some reason if I upload a larger archive, for example …

Member Avatar for Josh Connerty
0
127
Member Avatar for drjay1627

I'm trying to code a Trie in Python. Any suggestions as to where I should begin? drjay

Member Avatar for jlm699
0
113
Member Avatar for brashli

I am trying to do calculations onto a file that I created in python. But I can't seem to make a string with the data without loosing my quotations or going word by word... i have attached my code... This then produces... ['Corn', 'For', 'Grain', 'Irrigated', '1970', 'Colorado', 'Chaffee', '8', …

Member Avatar for jlm699
0
153
Member Avatar for Potato.Head

Hi to all, I have the following problem, I have a div that includes a pictures and texts, if you put the following code in a html, and see the result, you can notice that in IE the text is displayed inside the DIV, in Firefox you can see the …

Member Avatar for Potato.Head
0
106

The End.