132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lsu420luv

I have an assignment which will pull data from Trans.data and Lawn.data. Can I not use fin to open both the files at once or do i need to setup another stream. Here is my code I am getting the Error message I have set if Trans.data fails to open. …

Software Development c++
Member Avatar for lsu420luv
0
166
Member Avatar for TAISM2000

I am looking for someone who can create me a Java Program for 3 Excercises and 2 mini-projects. The excercises will take almost 3 weeks to finish and the 2 mini-projects will take about a month. I will pay one time online checq, after i e.mail the content to you …

Software Development email java
Member Avatar for bellars
0
162
Member Avatar for manjurekha

dear friends, In C, a program i wanna write i.e; from one text file to calculate how many single char exists and print it in one more text file. try this............... i cudn't get.

Software Development c
Member Avatar for kriti
0
106
Member Avatar for iamthwee

Hullo, Does anyone have any tutorials about using the graphics library in turbo c. I need this fast. ThanQ

Software Development c++
Member Avatar for Ene Uran
0
173
Member Avatar for HelpMeImLost

Hi there, I was wondering if anyone can help me out here...This is what I have so far: [code]#include<iostream.h> #include<conio.h> class Employee { private: int idNum; char name[20]; double rate; public: Employee(const int id); //The Constructor with Arguments Employee();//The Default Constructor void displayValues(); }; Employee::Employee(const int id) { idNum = …

Software Development c++
Member Avatar for HelpMeImLost
0
142
Member Avatar for Red7

Hi there, I’m currently doing an assignment at University, I have been set a task that includes loading the contents of a .dat file into an array of records. So far I’ve managed to get ‘something’ loaded into the array of records, but when this is displayed in a list …

Software Development pascal
Member Avatar for mrmike
0
158
Member Avatar for sbedford

Hi Just wondering if it is possible to do this? I have a form that auto-resizes dependent on the resolution of the pc it is run on, but at some resolutions, the windows taskbar overlaps the form buttons. Is there any way to hide the windows taskbar, or do I …

Software Development pascal
Member Avatar for raam
0
389
Member Avatar for blacklocist

Quick question, I know this is actually sorta a stupid question but what is the maximum number of elements in a array? Not one time has anyone told me a real answer. They all seem to sorta let that question slide by. Also have tired a google search and found …

Software Development google
Member Avatar for blacklocist
0
259
Member Avatar for pare80

Hello to all, I am trying to create a script that will go through certain directorys in Windows and pull out the files I stated by extentions. Which will then later copy to a location either on the local machine or an external HD. Any assistence will be greatly appricated. …

Software Development python
Member Avatar for sharma_vivek82
0
111
Member Avatar for puppy

Hi, I'm trying to write a class that uses a vector, but I can't get the right syntax in the Staff constructor. Can anyone help? public: Staff(); Staff (???????????); private: vector<Employee> members;

Software Development c++
Member Avatar for Bench
0
154
Member Avatar for Dabdob

This is an Assembly code and i want to know what the result for every instruction: AX and BX The code is: Mov ax, 0 Mov bx, -5 100: Inc ax++ Sub bx, ax Cmp bx, -10 Jb 100 Put ax Move ax, bx Put ax End

Software Development assembly
Member Avatar for Lord Soth
0
82
Member Avatar for turkish_girl

ı am from fatih university from turkey.now according to our country'time zone :03.01 am. and ı am still contınue working but ı couldn't solve the problem for 8 days.and there is a little bit time to handle homeworks.if one of you can help me to do my homework ı will …

Software Development c
Member Avatar for Ancient Dragon
0
110
Member Avatar for degamer106

From what I read in a few books, a static variable retains its value(s) throughout the lifetime of a program. In this stack program I've been trying to fix up, the static var doesn't seem to change or hold its contents after different function calls. I can't figure out what's …

Software Development c
Member Avatar for iamthwee
0
196
Member Avatar for degamer106

I'm kind of confused about how the modulus operator works. Suppose i have x % y with x > y. So if x was 6 and y was 2, then 6 % 2 would produce 0. But i don't really get what happens when x < y :eek: In this …

Software Development c queue
Member Avatar for degamer106
0
111
Member Avatar for pokahantos

Hi all, I am a beginer in VB.NET :rolleyes: .... now, i am working on a project so as usaul we wonder if we could do something .... etc. I write the whole application in VB.NET but i observed that i need to write a few line C# code inside …

Software Development c# microsoft-access vb.net
Member Avatar for pokahantos
0
203
Member Avatar for a.baki

hi... Can any one help me about text justification("justification on both sides", or "double justification", where text lines are justified both on the left and on the right. That is, all lines except (usually) the last one have equal width; the method used to achieve that is typically to leave …

Software Development c
Member Avatar for a.baki
0
367
Member Avatar for neeludhiman

Hi friends, Can anyone please tell me how can I set echoing the characters off while I type them on the keyboard ? e.g; I have to input password in c code but that must not be displayed while typing. I am working in Linux. Thanks.

Software Development c
Member Avatar for Salem
0
92
Member Avatar for poorstudent

Hi everyone, I am a year 1 student who is having a course of data strcutures. My assignment 's deadlin is by tomorrow. the assignment is avl tree. I have completed the followings. [code]struct AVLnode_s { char element; int height; struct AVLnode *left; struct AVLnode *right; }; typedef struct AVLnode_s …

Software Development c++
Member Avatar for Salem
0
131
Member Avatar for AhmedHan

My code :[CODE]int _tmain(int argc, _TCHAR* argv[]) { HINTERNET hInternet; BOOL bResult; hInternet = InternetOpen( (LPCTSTR) "NoAgent", (DWORD) INTERNET_OPEN_TYPE_DIRECT, (LPCTSTR) NULL, (LPCTSTR) NULL, (DWORD) INTERNET_FLAG_ASYNC); if (hInternet == NULL) { DebugTest("hInternet == NULL"); } DebugTest("Internet handle created!"); bResult = InternetCloseHandle((HINTERNET) hInternet); if (bResult == NULL) { DebugTest("InternetCloseHandle((HINTERNET) hInternet) == NULL"); …

Software Development c++ visual-studio
Member Avatar for Salem
0
141
Member Avatar for alc6379

So, I've written a class, and one of the attributes of the class is an array of elements. For the sake of simplicity, say it's like this: [code] public class Arrays { private int[] myArray = new int[5]; } [/code] Now, I know if I just make it public, I …

Software Development
Member Avatar for alc6379
0
2K
Member Avatar for tuannie

Hey everyone, I' m currently having trouble getting the following code to work. What I'm trying to do is getting my program to do read from a text file which has the following information: 234323 c 343212 d 323432 a 763634 b The corresponding information shown above will correspond as …

Software Development c++ file-stream file-system first-post
Member Avatar for Ancient Dragon
0
158
Member Avatar for sam1

hi, is it necessary to close a database connection after the job is done? if yes why? thank you

Software Development java
Member Avatar for sam1
0
287
Member Avatar for sharma_vivek82

import urllib f = urllib.urlopen("http://www.mahiti.in") word = "Software" for line in f: if word in line: print line :cheesy:

Software Development python
Member Avatar for vegaseat
0
92
Member Avatar for gYbU

I alredy know hoe to send e-mail by python but is possible to receive e-mail?? thanks for all post

Software Development first-post python
Member Avatar for vegaseat
0
598
Member Avatar for tekyiman

I've downloaded Java jdk 5.0 and jre 5.0. to my Windows XP. The downloads are NOT listed in the "All Programs"; they're in the "Add or Remove Programs" in the CONTROL PANEL. How do I make java appear along with my other programs in the "All Programs" list? And once …

Software Development java windows-xp
Member Avatar for bbb777b7
0
63
Member Avatar for lulug76

Hi, I am working on a project that I had to get 2 number from a user display them in 10base. Then convert them into 2 base and display them in multiple of 8. I did this part. The next part I am suppose to do is add and subtract …

Software Development algorithm c++
Member Avatar for dubeyprateek
0
417
Member Avatar for crizzio

so i have this tic tac toe assignment in c++ and i need some help doing the moves part for both the computer and the player....i already got the board down with arrays and the specs for the functions needed are listed below...some help would be greatly appricaited and i …

Software Development c++
Member Avatar for Bench
0
111
Member Avatar for Pankaj.Patel

How do I show Tab control on my form in Win XP style Look? i have set the Drawmode=OwnerDrawFixed while Xp Style Look is disappere in vs.net2005. I tried to use Application.EnableVisualStyles but that doesn't change in Tab Control. i have used Skybound Component through that i can achive it …

Software Development vb.net
Member Avatar for Pankaj.Patel
0
104
Member Avatar for uth

I am trying to execute a batch file which in turn executes an exe and writes output to a file, through java. I do not know why but the output file is not always written. Sometimes the program terminates without writing the file and sometimes it does. Any suggestions? Is …

Software Development java
Member Avatar for uth
0
93
Member Avatar for aqs84

Hi, For my project I want to write program in C# (VS.NET 2003) that can connect two Bluetooth devices and transfer text message between them. I have no Bluetooth device with my PC, so I will use USB Dongle for Bluetooth connectivity. Any body can help me from where should …

Software Development
Member Avatar for celikada
0
198
Member Avatar for blacklocist

Hi All, Well where I work they are having a problem and I had a solution. Well I was reading on this [URL]http://www.c-sharpcorner.com/UploadFile/mgold/HowtoOepnandReadanExcelSpreadsheetinaListViewin.NET11282005034134AM/HowtoOepnandReadanExcelSpreadsheetinaListViewin.NET.aspx?ArticleID=45ca62cf-fb3e-4f0b-b9a4-031b641aae3c[/URL] Well what it does is pull a named range, sticks the data in an array, my software does it's thing, then puts the changed data back into …

Member Avatar for blacklocist
0
168
Member Avatar for Blujacker

I am using script from coed snipet how to print a page, but i dont know way how to say to printer which font and which size of font set, which colour of background and foreground.Please help Thanks

Software Development printer python
Member Avatar for vegaseat
0
99
Member Avatar for butterflyTee

[code] # windchill.py # tpm # A program that prints a nicely formatted table of windchill values. from math import * def windchill(t, v): c = 35.74 + (0.6215 * t) - (35.75 * v ** .16) + (.4275 * t * v ** .16) return c def main(): print …

Software Development python
Member Avatar for alc6379
0
503
Member Avatar for monfu

Dear All, I have a value, strObjectAPIID, and I am comparing it to a dataset value in a loop. What i want is, if the value is equal, do not do anything, but if it is not equal, write it to the table. However, i have to check the value …

Software Development dataset
Member Avatar for campkev
0
100
Member Avatar for butterflyTee

def windchill(temp, vel): wc = 35.74 + .6215*temp - (35.75*vel**.16 + .4275*temp*vel**.16) return wc def main(): print (" __ __ __Temp /n") print (" Speed /n") print ("-20 70 10 0 10 20 30 40 50 60 ") for x in range (5,55,5): print x for y in range (-20,70,10): …

Software Development python
Member Avatar for bumsfeld
0
92
Member Avatar for an051682

Hi, I am an Engineering student. i need a java code that can convert Alphabets to numbers. i.e, a to 1,b to 2.................................z to 26 kindly Help

Software Development engineering java
Member Avatar for server_crash
0
94
Member Avatar for Coach_Nate

Sorry, may seem like a dumb question, but I haven't seen anyone else ask it on here. I'm trying to create a stack of doubles, by casting them as I pop them out. The only trouble is that the compiler (eclipse) won't let me cast an object to a double. …

Software Development java
Member Avatar for server_crash
0
258
Member Avatar for butterflyTee

I WRITTEN THIS PROGRAMM IN 2 WAYS(RE-WROTE IT OVER AND OVER), AND ITS STILL NOT RUNNING CORRECTLY. IS THERE OTHER WAYS THAT IS PROGRAM CAN BE WRITTEN. I AM SO FRUSTRATED, PLEASE HELP ME. THANK YOU. 1st way: # windchill.py # tpm # A program that prints a nicely formatted …

Software Development python
0
69
Member Avatar for SharpOne

:-| Why won't this code work? [code] using System; using System.Windows.Forms; namespace Practice { class Practice { public static void Main() { // declare and assign a string variable called human string human; human = "Walking & talking life"; // declare and assign an int variable called mind int mind; …

Software Development
Member Avatar for alc6379
0
66
Member Avatar for geez85

hey i jst need a lil help with dis... [code]void main() { for(int polygon = 0;polygon < 3;polygon++) { int i, j; const int max =5; int end; int sort; int ymin = 21; int start; int ypos; int vertices=0; if(polygon == 0) { float x0[] = {20, 40, 90, …

Software Development c++
Member Avatar for geez85
0
110
Member Avatar for Dark_Omen

Hello everyone, I am having trouble getting my Javadoc to work. It runs but it doesn't show anything in the HTML file that it creates. BTW I am using java 1.5.0_6 and I am using the latest version of Eclipse. I don't know why it didn't work, and I was …

Software Development java
Member Avatar for jwenting
0
185
Member Avatar for NarenderKumarP

Hi All, Following code gives me an error when I use text field in CSV file instead of float or integer fields. `matrix_points[cnt][4] = atoi(line);` May be the problem with above line. Please see the below code char matrix_points[6][8]; std::ifstream input_file("C:/NDA/NissanNewApplication/Dev/CommonErrorManager/Src/ErrorMessageList.csv"); int cnt(0); printf("initial valie of cnt = %d\n",cnt); char …

Software Development c++
Member Avatar for NarenderKumarP
0
387
Member Avatar for SharpOne

Hi, I've just started out learning C# / .NET at a fast rate. Then, I plan to look for company to get experience even if working for free. Any ideas or suggestions would be appreciated. Anyone know where I can gain experience when I learn enough without certification and only …

Software Development
Member Avatar for blacklocist
0
108
Member Avatar for puppy

Hi, I'm trying to compare elements in two different vectors. I wrote this: if (a[i] = b[j]) same = true; and the compiler said this about the first line: assignment of read-only location What does "assignment of read-only location" mean? Thanks.

Software Development c
Member Avatar for puppy
0
101
Member Avatar for sam1

hi everyone, I was wondering, for the class diagrams do i have to create for each use case one class diagram or it doesnt depend on use case.... thank you

Software Development java
Member Avatar for sam1
0
182
Member Avatar for rookieinC++

Hi, I want to display integers 0-99 in randomize order. I can get the list on integers, but can not do in randomize order, I used rand and srand, but it’s not giving me unique numbers. Can anyone help me? -thanks Here is what I did so far… //* This …

Software Development c
Member Avatar for WolfPack
0
116
Member Avatar for tiffosi

Hi all, I am trying to share data between two simultaneously running programs. I am writing the output of one program to a file named xpos.out and reading the data in it from an other program which is running simultaneously. The value in xpos.out changes each time. So when i …

Software Development c++
Member Avatar for WolfPack
0
222
Member Avatar for YoTaMiX

Hello to you all , I have a program who i want to copy one input.txt to a output.txt and for some reason it duplicates the string and it doest create a full duplicate . i am over this for a few hours now and i can figure it out. …

Software Development c
Member Avatar for YoTaMiX
0
119
Member Avatar for crws416

Hi all, I have taken some code to read a file into an Byte array, which is then returned to another part of my code, below is what i have. [CODE] public void jButton6_actionPerformed(ActionEvent e) { String Filelocation = "c:\\temp\\hello.txt"; try{ InputStream is = new FileInputStream(Filelocation); //get the size of …

Software Development file-stream java os-x xml
Member Avatar for crws416
0
121
Member Avatar for modernage

How do you reverse a linked list using recursion, and return it as a string? String backwards(IntNode head): Create and return a string containing the values in the input list, separated by commas, in reverse order. The last number should not be followed by a comma. Spacing within the string …

Software Development java linked-list
Member Avatar for modernage
0
456

The End.