199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for USC_Megoy

Hi! Im a newbie here.... I got a problem with my program...My linked list is ok but everytime I export the data to the file, things don't work in a proper way..I will show my code...pls help me...thanks... [code] labname[20]="lab445.txt"; /****************FWRITE FUNCTION**********************/ void save_data(information *lab,char labname[]) { FILE *fp; int …

Member Avatar for Ancient Dragon
0
223
Member Avatar for RobBobSmith

Hello all, I have a text file called: concentrations.dat The file contains a lot of different data. Here's the data that I'm interested in: # ET: list of elements <ET> 'Cu' 'C' 'Sr' 'He' 'Mg' 'O' 'Cr' What I want to do is read the elements into a vector called …

Member Avatar for RobBobSmith
0
253
Member Avatar for ClaireShutt

Hi there I am new here and wanted to ask question I have this simple code to put elements into an array [CODE]<html> <body> <script type="text/javascript"> var numb =2; var tempstr="-26.18101|-26.161011|"; var latstr=new Array(tempstr.split("|")); document.write((latstr[0]) + "<br />"); document.write((latstr[1]) + "<br />"); document.write((latstr[2]) + "<br />"); </script> </body> </html> [/CODE] …

Member Avatar for Taywin
0
103
Member Avatar for fire_
Member Avatar for lukename
0
333
Member Avatar for jimmys_

Is there a way to list all open file handles for a certain process using the pid?

Member Avatar for jimmys_
0
572
Member Avatar for Hernan_Icon

Hi Guys! I Need some Help here please: I'm Trying to Make some Improvements on an Existing Site, so I Copied all the Files to a New Directory in the same Path And Started Working On the Files Over there. When I Tried to Access the login.aspx Page, I Get …

Member Avatar for kvprajapati
0
100
Member Avatar for toshiro101

Write an application that reads a line of text from the keyboard and prints a table indicating the number of occurrences of each letter of the alphabet in the text. For example, the phrase To be, or not to be: that is the question: contains one "a," two "b's," no …

Member Avatar for NormR1
0
122
Member Avatar for mldardy

I have a dropwdown where I select a name from the dropdown list. This populates a grid view with that record. Once I select that record it will populate a form with textboxes of info for that record. There is a delete button in that form and when I click …

Member Avatar for kvprajapati
0
111
Member Avatar for Parthmishr

I use an xslt to get some ID attribute..when new xml file is built.. Here is a input xml file.. <page num="App. A-1"/> <title>Appendix A</title> <subtitle>The Thompson Memorandum</subtitle> <para align="left"><content-style font-style="bold">U.S. Department of Justice</content-style></para> <para>Office of the Deputy Attorney General</para> <para>The Deputy Attorney General</para> <para>January 20, 2003</para> <table frame="none" width="100%"> …

Member Avatar for iceandrews
0
114
Member Avatar for handrews3583

Here is my code: [code] import java.util.*; public class SavingAccount extends BankAccount { // Begin public class SavingAccount extends BankAccount private double minAmount; public boolean withdraw(double amount) { // Begin public boolean withdraw(double amount) if (getbalance() >= amount + minAmount) { // Begin if statement super.withdraw(amount); return true; } // …

Member Avatar for JamesCherrill
0
271
Member Avatar for ryathegr8

hi.... can anybody give me link for php compiler exe file???? and mysql...whateva needed to build a web application.... i'll be thankfull....

Member Avatar for akvlko
0
193
Member Avatar for Stefano Mtangoo

There are many decent sites for C++. However, some of Dev, including me, works most of the time offline. So I need to have one for reference. If anyone knows a decent one then please post a link Thanks

Member Avatar for onoffon
0
150
Member Avatar for artvor

Hello, it's about a week that I'm searching for a simple script that do this: So when value is 0 checkbox must be not checked and the opposite if value is 1... So when I check box it must send value= 1 to my mysql DB and if it's not …

Member Avatar for akvlko
0
230
Member Avatar for myk45

Hello. Can anyone please explain why the following code is not producing any runtime error? [CODE]int a[] = {1, 0}; printf("%d", a[-1]); [/CODE] PS:im using VC++ 2008. Thanks.

Member Avatar for myk45
0
317
Member Avatar for aro_kai

hey i had started coding in java.I want to display the pixels format of image with the following code but i get errors...Can anyone suggest my code?? [code]public void Pixelvalue(Image img){ int[] pixelss = new int[w * h]; PixelGrabber pg = new PixelGrabber(img, 0, 0, w, h, pixelss, 0, w); …

Member Avatar for JamesCherrill
0
192
Member Avatar for arnas

I think I have a hard time understanding the return() statement. I have to make a program where a user gives the lower limit and upper limit as input. After that, the program should give all prime numbers that are between those 2 numbers. A testcase would be: input: 10 …

Member Avatar for Adak
0
166
Member Avatar for pavan146

Hi , can any one explain me this code public class Howcome { public static void main(String[] args) { System.out.println(“Bank of America”); [B][url]https://www.bankofamerica.com[/url][/B] System.out.println(“Online Banking”); } even though https:// BofA lyin as orphan string in between this codes compiles and executes fine..???

Member Avatar for pavan146
0
108
Member Avatar for Jack_1

My friend said me a document that contains a large no. of spaces for eg- Where is the CeBit computer show held annually Hannover, Germany What is Error 403 ? Site Access Forbidden/Password Protected What is Error 404 ? Page/Site not found -in HTTP What is HotJava First web browser …

Member Avatar for mitrmkar
0
129
Member Avatar for aabundle

Hey Guys, I am pretty new to C#. Below is some code that i am using to send data serially to an Arduino controller. It just has some push buttons which move the wheels/motors etc of an RC car i have. I have put some text boxes onto the form …

Member Avatar for aabundle
0
644
Member Avatar for churva_churva

[CODE]import java.util.*; public class EmployeeNames{ private String EmpYee []; private int count; int x; public EmployeeNames(int size){ String EmpYee []=new String [size]; count=0; } public EmployeeNames(){ this(10); } public boolean isFull(){ return count= EmpYee.length; } public boolean isEmpty(){ return count=0; } public void add(int x){ if(! isFull()) EmpYee[count++]=x; else System.out.println("\n …

Member Avatar for javaAddict
0
424
Member Avatar for gishi

Hi Everyone, Do you know how i can get the values using Regular Expression between the opening and closing tags of xml files? I need to process xml files using python and i just need to get the values between tags. For example: [CODE]<name value>my name is </name value>[/CODE] i …

Member Avatar for Gribouillis
0
292
Member Avatar for zunnur

I am new to Microprocessor 8086. i should submit this assignment by monday evening. Can anybody help me with this question? Q1 Write an 8086 assembly language program that will compute: 2.0 * log10 X for x = 0.1, 1.0, 10.0, 100.5, 1000.0, and six other values using a loop. …

Member Avatar for rjong
0
544
Member Avatar for Archenemie

I made a quick program as my first venture into c++ but it seems to be buggy. As far as i can see my code seems logical, but the endl; above firaddress seems to be interfeering. Can anyone help please? [CODE]#include <iostream> #include <string> using namespace std; int main() { …

Member Avatar for Valaraukar
0
175
Member Avatar for novice20

hi all... whats the difference between os.popen and subprocess.popen?? what does shell=True in subprocess.call really mean? if os.popen is used for snmpwalk, will there be any problem such as exceeding pipe capacity? what is the capacity of the file objcet connected to pipe using os.popen?/ how much data can it …

Member Avatar for Gribouillis
0
140
Member Avatar for hi5.ankit

I have 10 buttons and a textbox on my widow form. 11th button to fire the operation. Task is that i need to input a no. in the textbox ranging from 1-10, and press the fire button. This should change the forecolor of the respective button in the form. Suppose …

Member Avatar for ddanbe
0
95
Member Avatar for malvi

Hello, I have made a program based rs 232 port with MFC. I want to get system call which gives me state, wether power is turn on or off. is there any system call which gives information of powerstatus? Thanks to all.

Member Avatar for malvi
0
93
Member Avatar for Ankur_tces

Hi all, I am trying to use Ajax and Jquery on master page. In my existing project i have used the Ajaxpro2.dll it's working fine. but when i am trying to use jquery then its not working. Then in jquery script instead of `$` i have used 'jquery' keyword then …

Member Avatar for Ankur_tces
0
168
Member Avatar for patishere

how to randomize JLabel array? and how to put image in JLabel array?

Member Avatar for JamesCherrill
0
101
Member Avatar for Bhargavi V

Can anyone help me in join the 3 combo boxes with filters The main idea is there are 3 combo boxes when we select an item in the first combo box the related items should apper on the remaining 3 combo boxes and when we select an item on the …

Member Avatar for Bhargavi V
0
339
Member Avatar for corby

Hey guys/gals for some reason in my main function my first while loop will not take in more than two values. any reasons why that wont happen? and just to be on the safe side, did I implement my remove function properly? [CODE]#ifndef SORTEDLIST_H #define SORTEDLIST_H #include<iostream> using namespace std; …

Member Avatar for prvnkmr194
0
160
Member Avatar for FredrikDuwell

Hey! I want to create a program that should be able to run Android OS like VMWare does, is this possible in C#? I do not have very much knowledge in C#, but is this possible? - Have you got any examples? - Could you point me to a direction …

Member Avatar for fdsa99
0
132
Member Avatar for Mr.Barca

Hi everyone Im just a new student in c++ and im trying to read data from a file this file looks like 36 69 115 226 278 343 345 358 368 370 401 450 489 494 573 577 581 583 610 682 692 705 722 832 862 886 908 923 …

Member Avatar for Mr.Barca
0
121
Member Avatar for Mr.Kazaam

I was following this tut. on how to install Apache, PHP, Mysql, and PHPmyadmin. I need a bit of help! I get a [B]"Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mysql_test.php on line 15"[/B] everytime I test the mysql thing. What ive …

Member Avatar for R1Programmer
0
280
Member Avatar for Naveed_786

Hi guys, Please help me when i install my application on clients it only connect with one user like Naveed/Password on domain but when i login on domain by using other user it gives me connection error what should i modify in my connecting string. [CODE]"PMS.My.MySettings.ConnectionString" connectionString="Provider=SQLOLEDB;Data Source=ITS;Integrated Security=SSPI;Initial Catalog=Payment"[/CODE] …

Member Avatar for kb.net
0
181
Member Avatar for novice20

hi all can u pls help me regarding iterating through an integer variable within a subprocess call here is what i exactly want to do for n in range(1,16): subprocess.call(['snmpset', '-v2c', '-c arct1c', '192.168.5.157', '.1.3.6.1.4.1.18489.1.2.1.5.1.2.0', 'i ','n']) i.e., i want to iterate through snmpwalk..but its not working:( it shows 'bad …

Member Avatar for Gribouillis
0
129
Member Avatar for JaksLax

So what I am trying to do is to have a header file which declares lists in it. Everytime I complie it, it does not know what a list is. Here is my header file called MergeSort.h [code] #include<list> class MergeSort{ public: MergeSort(); bool sortedIsEmpty(); int sortedGetLenght(); bool sortedInsert(int); bool …

Member Avatar for nikash
0
3K
Member Avatar for abelingaw

Ok, i have this form which contains a Datagrid control, i have fix the 1st problem i encountered which is how to connect it to my Dbase to display the content of one of my tables. Now my problem is, i cant delete records in my Dbase thru selecting it …

Member Avatar for AndreRet
0
141
Member Avatar for dustbunny000

[CODE]for i in range(len(sumprop3)): for j in range(len(x2)): if j==i: print x2[j], atomnumber[i:i+8] [/CODE] For atomnumber[i:i+8] it is printing the range ie [1,2,3,4,5,6,7,8]. I want it to print just [1,8]. How would I do this?

Member Avatar for cghtkh
0
90
Member Avatar for shoeson

Hi i am using C# to connect to Access database. The problem i am facing is not with database though. I have used a statement like [CODE]string.Format("UPDATE TABLENAME SET FIELDNAME = '{0}' ", txtMembers.Text);[/CODE] the problem i am facing is if the user enters 'hello', the whole text along with …

Member Avatar for chiwawa10
0
86
Member Avatar for Stefano Mtangoo

I haven't noticed this until I tried it today and boom! Compiler complained: [COLOR="Red"] error: constructors cannot be declared virtual[/COLOR] Why then Constructor is not okay while destructor is, in such as class as this? Thanks [CODE=C++]class MyAbstractClass{ public: virtual MyAbstractClass(std::string username, std::string password)=0; virtual ~MyAbstractClass(std::string username, std::string password)=0; virtual …

Member Avatar for Stefano Mtangoo
0
576
Member Avatar for AngelicOne

I'm on a shared computer and i'm using sql server 2005. I'm in a limited user account, everytime I click a database it says 'database not accessible', also there's a error 916 when I tried attaching a database. How to fix this?

Member Avatar for AngelicOne
0
62
Member Avatar for crapodino

Hi! i am trying to compile/link a simple application that uses a library called OpenDBX. I have already compiled and installed that library. Now, i am trying to do a simple client of it. The client (Prueba.c) is just like this: [CODE] #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <odbx.h> …

Member Avatar for vinodhkumarvk
0
331
Member Avatar for radmaker3

I want to begin working on a project and I'm not sure which programming language is best suited for the job. This application will be a GUI based project, so something that can easily design forms and such would be ideal. This project would be something similar to an office …

Member Avatar for 1seo
0
148
Member Avatar for TinhornAdeniyi

Can someone tell me what wrong with this code i am supposed to create an array of struct of cars and then add 1 to the car sold then find the inventory value comprising of all car values this is my infile lexus IS 35000 10 bmw 740 90000 5 …

Member Avatar for TinhornAdeniyi
0
163
Member Avatar for markdean.expres

Hi everyone! How do I make a drop-down menu in vb 2008. This menu would appear when the user right-click anywhere in the form. The menu that I am referring to is just like in windows when you want to refresh your computer, open a file, copy or cut some …

Member Avatar for lolafuertes
0
315
Member Avatar for inam2001

I m new in c#.net, i m working on project which generate menu dynamically, i have done this point, but not retrieve menu text at menu click, i just want to get text of menu. my code is follows: namespace myProg { public partial class frmMenu : Form { DataTable …

Member Avatar for inam2001
0
124
Member Avatar for BhuvanRam

hi friends, i am doing a project which is based on smtp mail server.. i need a class that ho we are accessing an message header or custom header for an incoming mails...

Member Avatar for Momerath
0
114
Member Avatar for bigwhiteegg

the following are my utility.h which i got from my professor there is error 2332 on line 5 & 6 after doing a bit of searching i do understand what does the error means but i just not quite sure how to fix it! can someone explain it to me?? …

Member Avatar for Ancient Dragon
0
130
Member Avatar for chinchan

Can anyone give me an idea of peralel program using mp.i and shared memory

Member Avatar for Stefano Mtangoo
0
72
Member Avatar for Python_noob!

Im honestly going to die in this class! We have a project that we need to do on adding binary numbers and I cannot manage to get past the first step...checking the users strings for 1's and 0's. If it contains anything else...the code is supposed to reject the users …

Member Avatar for TrustyTony
0
115

The End.