132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for emzy

Hi All, I'm having huge problems with a program that i am attempting to write. What i have is a program that prints Acronyms and sentences to a text file already, now i am trying to create a new program that reads that text file and if the user inputs …

Software Development python
Member Avatar for katharnakh
0
113
Member Avatar for JaksLax

I am very confused with ADT. I get the concept of why to use ADT, but I dont know how to implement it. The problem I have to solve is to merge 2 sorted list using ADT functions provided. The ADT functions are the functions in my header file. Here …

Software Development c++
Member Avatar for John A
0
206
Member Avatar for Siebe

Hi All, Explorer.exe crashes when i run my application on a customer's computer (in fact: on all of their computers!). This happens usually when I browse through directories using a OpenFileDialog. They run on Windows NT build 2600 with Novell groupwise Error signature: AppName: explorer.exe AppVer: 6.0.2900.2180 ModName: comctl32.dll ModVer: …

Software Development novell vb.net
Member Avatar for ShawnCplus
0
186
Member Avatar for AussieCannon

Hello, I am having a great amount of difficulty understanding events for wxPython and have read many tutorials and other things so I was wondering if you could try to help me understand. First of all I am using Boa-Constructor so practially all of my code so far is autogenerated. …

Software Development python
Member Avatar for jrcagle
0
562
Member Avatar for mohiuddin.shaik

main() { if( ? ) { printf("welcome"); } else { printf("to ieg"); } } ----------------------------------------------------------------------- Output should be welcome to ieg [B]what should come in place of ' ? '[/B]

Software Development c
Member Avatar for John A
0
95
Member Avatar for lookingforhelp

need help in image quantizing using borland c++.. i do not have much knowledge about it.. got to change a 24bit image to a 8 bit image...do not have any idea on how to do it.. pls help... and the deadline is in 24hrs time.. thanks

Software Development c++
Member Avatar for John A
0
116
Member Avatar for toadzky

I am writing a program to batch rename files. I am trying to take the file name (which include folders) and remove everything before the last slash. The problem is that LastIndexOf("\\") always returns -1, even if the string contains a "\". And the Remove(0, index) doesn't ever remove any …

Software Development c++
Member Avatar for toadzky
0
99
Member Avatar for R6er

Hi, I am writing a little program in C++ that is used to read a file which contains several paragraphs. The paragraphs are not indented and there are a blank line or sometimes two blank lines before the start of each paragraph. I have written the program and can read …

Software Development c++
Member Avatar for R6er
0
163
Member Avatar for Dallos

Hi im trying to write a program that sorts an array in alphabetical order and then into phone book order, Eg input: Jane Pascal 364756 Bob Smith 364758 Joe Bloggs 253647 The output should be: Bloggs, Joe 253647 Pascal, Jane 364756 Smith, Bob 364758 The plan is to have each …

Software Development java pascal
Member Avatar for titaniumdecoy
0
70
Member Avatar for Unfettered

I have 2 applets One applet adds in some labeled text fields and reads in some user variables. The second Applet Starts a simple pong game. As you may have already guessed I'm trying to get the pong game to start up with the values I've read in. (the values …

Software Development java
Member Avatar for jwenting
0
101
Member Avatar for satish.paluvai

:?: Q) who translates the code into machine language in c++. compiler or operating system

Software Development c++ operating-system
Member Avatar for ~s.o.s~
0
163
Member Avatar for Tim Gleebitz

Hi fellow programmers. I'm quite new to 'C' and I’ve been working on this personal project recently and have struck a spanner in the works! I am quite bemused by this piece of code I am to assemble (below). I think it’s fairly simple but can’t quite grasp it! Any …

Software Development algorithm c
Member Avatar for John A
0
114
Member Avatar for daljeet_smt

hi i am trying the following code to print the message. it is working well in a system having a printer connected through com1. But is not working in other system that using usb port. what should i do. ofstream outfile; outfile.opne("PRN"); outfile<<"\nThis is test printing"; outfile<<'\x0C';

Software Development c++ printer
Member Avatar for iamthwee
0
91
Member Avatar for zenah

:p hi ,this is my first visit to theis web , i hope to help me, i need afull c++ programm of game called "pebble chess" , this game can execute on algorthims called "minmax", and iwill describe this game: 1- each player turn consists of moving one or more …

Software Development c++
Member Avatar for Salem
0
163
Member Avatar for dahlia_06

Hi friends, I am back. I was doing some hands-on with the C++ and I think I am a bit confident now :) I came across an Exercise question in a C++ book which is as follows: There is a structure with the variables payment_amount, method_of_payment and risk or priority. …

Software Development c++
Member Avatar for thekashyap
0
101
Member Avatar for 123abcd1983

Hi, I have some problem by using the midi file. I wish to control the left and the right channels volumes, and i got some information from msdn library, but it didn't tell me the exact way to do it. Could anyone tell me what is the meaning of [B][I][COLOR=sienna]"The …

Software Development c
Member Avatar for WolfPack
0
495
Member Avatar for ferrant

Hi, I am getting warnings when I export a class that contains an STL deque. Note that for a simple stl vector there are no warnings, only for the deque ... I applied the rules defined on the msn page : [url]http://support.microsoft.com/kb/168958[/url] But still get a compile warning that I …

Software Development c visual-studio
Member Avatar for ferrant
0
212
Member Avatar for shsh_shah

Hi, I have problem when i get an array using I get "Array Index Out of Bound" in QuickS function [code] getArray(int [] arr) for (i = 0; i < arr.Length; i++) { String val = Console.ReadLine(); arr[i] = Convert.ToInt32(val); } public static void quicks(int lo, int hi, int[] arr) …

Software Development
Member Avatar for shsh_shah
0
156
Member Avatar for anju114

Hi I am having problem compiling a java file Main.java which uses an object of another class, named Pet I am using Netbeans 5.5 and I don't know where to put the class file Pet.class. I don't have Pet.java No matter where I keep it the error message I get …

Software Development java java-netbeans
Member Avatar for thekashyap
0
147
Member Avatar for Mr Gates

I'm still using VB6 unfortunetly, but anyway, how would I go about implementing this? Say I wanted to do something so when you click a button the text in a textbox changes but has a 200-300 millisecond delay so it looks as if the words are changing really fast. But …

Software Development display visual-basic
Member Avatar for davidcairns
0
2K
Member Avatar for winz

Hey, I'm doing a project with Python right now and am wondering what the heck a "/n" command does? ANY help would be greatly appreciated!

Software Development python
Member Avatar for ghostdog74
0
125
Member Avatar for JeganathanK

Hi, I'm having a Perl Code and i want to convert it into a C Code. I want to know is there any tool is available to do so? If not available anybony can help me to convert??:?: plz mail me at [email]nrk_jegan@yahoo.com[/email] Regards, Jeganathan K.

Software Development email perl
Member Avatar for JeganathanK
0
112
Member Avatar for kahaj

I'm trying to get all of the basics down. Is there someplace I can find on either on the web or in VB 05 Express Edition that gives a comprehensive list of all the different data types, what they are used for, etc. for VB.Net? Thanks, kahaj

Software Development vb.net
Member Avatar for kahaj
0
89
Member Avatar for swordy06

Hi fellow c++ programmers, I need some help with an assignment from my c++ class. The assignment is to use a input file with the following 1 4/12/2007 34 -- 1 is the reference number, date , and temperature to be converted to farenheit. Now i have to output it …

Software Development c++ file-system
Member Avatar for John A
0
252
Member Avatar for ajay_tabbu

i m using window xp and jdk1.6.0. i set environment variables as follow user variables i creat new and in variable name "classpath" and in variable value .;C:\Program Files\Java\jdk1.6.0\bin;.;C:\World after that i edit system variable as follow i edit variable "path" in variable value I append "C:\Program Files\Java\jdk1.6.0\bin" right side …

Software Development java
Member Avatar for jwenting
0
368
Member Avatar for nikkidee

Can anyone tell me why I'm getting build errors on the actual function heading and the line under it (**) saying "type bool is unexpected" and that I'm missing a ; before {? I've looked and can't find anything. Also, I get this error but there is no line 80 …

Software Development c++
Member Avatar for ~s.o.s~
0
180
Member Avatar for endsamsara

Hi. How can [B]I assign an structure with values[/B] in its fields name=doom memory=1212, time=12, files=2; but dinamically??? so i use malloc sixe of [B]the list does not begin in NULL instead "doom[/B]" i have a menu that insert a new Node, when you press F1 printinscreen when you press …

Software Development c data-structure
Member Avatar for Ancient Dragon
0
124
Member Avatar for delner

So I'm trying to write a program to simulate Conway's game of life. I thought it'd be cool to declare a class called Cell and use an array of objects instead of an array of ints or bools. My problem is that when I go to compile a function to …

Software Development c
Member Avatar for Salem
0
75
Member Avatar for tripo03

I´ve been programming a B tree structure in C and i had problems because I programmed it in Debian Sarge and when I wanted to compile the source code in other distribution of Linux the program did not work correctly... The IDE i used is Anjuta... Anybody has idea why …

Software Development c c# c++ debian ide
Member Avatar for Salem
0
101
Member Avatar for ziofu

Hi! I'd like to know how to print something when the user ends the program (with ctrl-c for example). An example is the "ping" command (in most linux versions), that gives the average ping when the user terminates it. Thank you!

Software Development c++
Member Avatar for ziofu
0
98
Member Avatar for Riazansar

hello dears! i have a question about my program i am suposed to make a program that calculates thea factors of a number and add them and see if the number is a perfect number. i made this program and it works fine but now i have to change this …

Software Development c++
Member Avatar for Riazansar
0
171
Member Avatar for qualityprocess

We have several thousand historical MS Word documents with embedded MS Excel Worksheets. This data predates a relational database system which now manages all this data. Sound familiar! We need to create a spreadsheet which has a row for each embedded MS Excel Worksheet with columns for specified values. We …

Software Development visual-basic
Member Avatar for RobertB
0
415
Member Avatar for jobra

Hi all, [code] #include<ctime> #include<string> int main() { string snapshot_time = "10:00:00" int interval = 60; string end_time = convert_hour(snapshot_time,interval); cout << end_time << endl; } string convert_hour(string &snapshot_time, int interval) { char current_time[BUFSIZ] = { '\0' } ; struct tm tm; strptime(snapshot_time.c_str(), "%H:%M:%S", &tm); tm.tm_sec = tm.tm_sec + interval; …

Software Development c++
Member Avatar for WaltP
0
120
Member Avatar for mikeallen

This is the first program I have ever written in LISP, and I am completely confused. I need to write a function that returns a list of 5 rows of entries, and each one of these rows is a list of 5 entries. I know that CAR and CDR could …

Software Development
Member Avatar for azimuth0
0
76
Member Avatar for Masood Ali

Hi All... I'v a piece of code kindly help me understanding its functionality [code] #define FLAG_CDR 0*01 #define FLAG_MSR 0*01 unsigned Flags = AFE_REG_FLAG_CDR | AFE_REG_FLAG_MSR; Flags &= FLAG_MSR; // 'turn off cdr flag' [/code] how it works...

Software Development c++
Member Avatar for Masood Ali
0
276
Member Avatar for rdsii64

My current homework assignment is to code a mortgage calculator that will allow the user to input the appropriate information and return the monthly payment, the interest paid and the principal paid. An amortization schedule for the entire lenghth of the loan is also required. I have managed to get …

Software Development c++
Member Avatar for thekashyap
0
130
Member Avatar for fredzik

G'day, I've been working with Pyhton for about six months and have been wanting to put a program into a seperate Tkinter GUI but have had no luck. I need to have a Tk GUI that has vertical scrolling exactly like the normal IDE except that positioned in the upper …

Software Development gui ide python tkinter
Member Avatar for fredzik
0
217
Member Avatar for intellogo

Hi, I have used a Flex Grid control in displaying a set of records from the MS ACCESS database (back end) with the means of VB6 code (front end). In my database i have 9 records and the flex grid control has been deisgned at design time with 7 rows. …

Software Development database-design visual-basic
Member Avatar for intellogo
0
802
Member Avatar for hellsae69

Can anybody help me on how to search a keyword in my text file. I read about eliza420 Thread but still don't get it. If i have a text file named. "animals.txt" with a content of, ------------------------------------------------------------------- Fish Pig Dog Goat Bird ------------------------------------------------------------------- and in my c++ program a question …

Software Development c c# c++ file-system
Member Avatar for thekashyap
0
80
Member Avatar for Siebe

Hello all, I'm working on an app that takes a huge computational effort. It all works fine, but while calculating all other processes are overruled: - switching between forms doesn't work while my app is computing - Progress bars aren't properly refreshed, despite my form.refresh command So basically I'd like …

Software Development vb.net
Member Avatar for Siebe
0
117
Member Avatar for grunge man

im wondering if there is a plain [COLOR="Blue"]do loop [/COLOR]instead of do while?

Software Development c++
Member Avatar for grunge man
0
96
Member Avatar for pkatt_2003

Hi, I am using MS access database with ADO control in VB. I want to display only those names in the combo box when I type a first letter in the combo box using visual basic. For Eg, When I type letter 'm' , the combo box should give a …

Software Development display visual-basic
Member Avatar for Kees Baltus
0
138
Member Avatar for Windows3.11

I'm creating a web application in VB.NET 2003 that connects to a SQL database... how do I display the data in separate controls (TextBoxes, labels, etc) instead of in a data grid? Thanks, Windows 3.11

Software Development display sql vb.net
Member Avatar for arjunsasidharan
0
208
Member Avatar for ndeniche

Hi... I have been trying to figure this out, but it has been an impossible task 4 me...:rolleyes: this is a gasoline pump counter, and i have developed an infinite cycle to print the gas counter and the cash counter...:mrgreen: the problem is, i need a stopper for the cycle, …

Software Development c
Member Avatar for thekashyap
0
397
Member Avatar for uswatun

anyone can explain to me what is the concept of inheritance and access modifier. actually, i can't understand how it be used in java program

Software Development java
Member Avatar for PoovenM
0
123
Member Avatar for amt_muk

Hello Friends, Suppose I have a function like - [code] void myFunc( char* str) { ....... ....... } [/code] And I have to pass a pointer of type "const char*" into that function. Now my question is that can I pass the pointer like following way (ie by custing it …

Software Development c
Member Avatar for amt_muk
0
203
Member Avatar for guy40az

I have only been playing with visual c++ for a couple of weeks now and was just wondering what is the advantage of using pointers. To me that seems to be the hardest thing to understand so far. I am not sure how to use them and what the advantages …

Software Development c++
Member Avatar for Lerner
0
120
Member Avatar for hgseric

How do I display a graphic waveform on BTHQ 128064AVC-SMN-06-LEDwhite-COG? Any sample code?

Software Development c++
Member Avatar for hgseric
0
152
Member Avatar for nitinloml

how do i collect ip address of browser to validate him

Software Development python
Member Avatar for ghostdog74
0
90
Member Avatar for grunge man

i have a list of words to put into an array but how do i do this the order goes from 0 to 9 so black is zero [black][brown][red][orange][yellow][green][blue][purple][grey][white]

Software Development c++
Member Avatar for grunge man
0
267

The End.