132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for qwerty__123

Hey, I'm having trouble with an exercise from a book, here it is; " Write a program that reads the values for a random list of card from a file,(cards.txt) where each line in the file represents a single card with the rank and then suit seperated by a space. …

Software Development python
Member Avatar for bumsfeld
0
104
Member Avatar for ReeciePoo

In VB6 How do u add tabs? and also how do u add those box thingies for e.g |-------------------------------------------------| |[U] Name | Sex | Age |[/U] [U]| Mary | F | 18 |[/U] [U]| James | M | 22 |[/U] [U]| Jane | F | 104 |[/U] bad example but …

Software Development visual-basic
Member Avatar for jbennet
0
104
Member Avatar for amrbekhit

Hi all, I've been trying to understand how an assembler assembles the JMP command. Consider the following code: [code]AGAIN: OUT 0,AL JMP AGAIN[/code] The assembler turns this into the following hex: [code]E6 00 EB FC[/code] The FC at the end corresponds to a displacement of -4. I would have thought …

Software Development assembly
Member Avatar for Colin Mac
0
184
Member Avatar for pri_skit

I have application build in Embeded VC++ 4.0 project,now i want to include (.h) file in project which is produced from another (.exe) built in Win32(App) Console.I have added header file in project workspace.The problem is (.h) file is created after compiling the project.I want to include (.h) file before …

Software Development c++ file-system
Member Avatar for pri_skit
0
254
Member Avatar for JC_McGeekster

How can I initialise different video modes... like SVGA 800x600 mode, EGA 640x350 mode, et cetera using interrupts... what exactly must I do? Could you demonstrate an example or two for EGA 640x350 and how I can then write to the memory? Thank you.

Software Development c video
Member Avatar for Ancient Dragon
0
126
Member Avatar for jane7887

[COLOR=red]I need help with a program that enables a user to enter a series of numbers, calculates the total, transfers the total to memory and displays the result[/COLOR] [COLOR=red][/COLOR] [COLOR=red].:'( im stuck!![/COLOR] [COLOR=red][/COLOR] [COLOR=#000000]thanks 4 ur help[/COLOR] [COLOR=#000000][/COLOR]

Software Development assembly
Member Avatar for jane7887
0
69
Member Avatar for reabo

[URL="http://www.festra.com/wwwboard/messages/13064.html"]How do i create a insert button for a TDBCtrlGrid? [/URL]

Software Development delphi pascal
Member Avatar for reabo
0
183
Member Avatar for Knight_Blazer

I am try to create a couter that will show seconds and minutes. I need the counter to start at 0 seconds and 0 minutes. I made a label to display the the counter and named it Label1. I also have the timer object called Timer1. I think I might …

Software Development visual-basic
Member Avatar for vbCNEW
0
100
Member Avatar for DotNetUser

I'm using Visual C++.NET. I need to pass a port number to my gui. What the syntax for passing arguments to "int __stdcall WinMain()." For regular C++ it would be "int main(int argc, char* argv[])" Thanks.

Software Development c++ gui
Member Avatar for cpg
0
616
Member Avatar for PriusDriver07

Hello Master Scripters, I am in scripting nursery and I am trying to write a script that will replace string a with string b. I can get my script to replace single strings with no problem, my issue arrives when one of my strings has two words. I am pretty …

Software Development shell-scripting
Member Avatar for Infarction
0
117
Member Avatar for l0stb0y2008

hey, I'm a beginner in Java programming. I'm trying to do the vending machine program. And I'm having difficulty doing the do while loop. The scenario is if the user entered invalid input 3 times, it will loop back to the first menu using do while loop and switch case. …

Software Development java
Member Avatar for thuyyeu
0
85
Member Avatar for reabo

I'm reting to open a project from college but it want open because my access file path isn't valid. How do i change the path so it works fine again. I try to access the date module but it keeps coming up with the error and closes the program. Need …

Software Development delphi pascal
Member Avatar for reabo
0
112
Member Avatar for cyberman111

at the end of this program we have to add the average of all the students* add and divide by 3* also put a ** next to student who have over 95 % both thses should be displayed at the end so ANYONE dare to try #include <stdio.h> #include <math.h> …

Software Development c
Member Avatar for cyberman111
0
153
Member Avatar for Muaz AL-Jarhi

Dear all, Hello, Does any of you know prolog language well? i have a project on it that is due next week.. i just wana know how to imlement function or a struture that compares any two elements in a list and returns true if the first element comes first …

Software Development
Member Avatar for Muaz AL-Jarhi
0
88
Member Avatar for JavaNewbie07

Hi all, How do I create a bar graph in Java to hold a passed array of units and frequency? Thank youin advance for helping.

Software Development display java
Member Avatar for jwenting
0
101
Member Avatar for ammochck21

can someone please tell me why this is giving me a segmentation fault? I am sure it has something to do with the first line. Thanks!! [code] int main() { StackType<char> temp; char sym; cin >> sym; while (sym != '#') { if (sym == '{' || sym == '(') …

Software Development c++
Member Avatar for ammochck21
0
114
Member Avatar for yesm

Hello! I'm working on an assignment that requires me to store custom classes in an STL vector and do things like search, display, and delete them, then write them all to file. This is going well, but my code to delete an object (adapted from [URL="http://www.daniweb.com/techtalkforums/thread31636.html"][U]this thread[/U][/URL]) works on any …

Software Development c++
Member Avatar for vijayan121
0
582
Member Avatar for Zay

[COLOR=red][U]its about Data Structure[/U][/COLOR] [U][COLOR=#ff0000][/COLOR][/U] [COLOR=#ff0000](in doubly link List )[/COLOR] [COLOR=#ff0000][/COLOR] [COLOR=#ff0000]this is my function [/COLOR] [COLOR=blue]bool search( T item) { nodetype <T> *cur; bool found; cur=first; while(cur!=NULL && !found) { if((cur->info).name==item) return true; else cur=cur->next; }[/COLOR] [COLOR=blue] return found; }[/COLOR] [COLOR=#ff0000][/COLOR] [COLOR=#ff0000]and this is the error :[/COLOR] [COLOR=#ff0000][/COLOR] [CODE] …

Software Development c++ data-structure
Member Avatar for Zay
0
135
Member Avatar for adotl

Just trying to make my program user friendly...but I get the response 'Wrong' when I enter in a number or abcd when really I want my error message displayed when the user enters input like that and ONLY a Correct or Wrong response when the user enters 'A' 'B' 'C' …

Software Development pascal
Member Avatar for LennyC
0
153
Member Avatar for slanker70

Basically, my proggramme is CLASS ACCOUNT DEFINITION [code]class Account { public: Account(); void setBalance(int); void getBalance(); private: int balance; } [/code] CLASS ACCOUNT IMPLEMENTATION [code]#include <iostream> #include "account.h" using namespace std; Account::Account() { } void Account::getBalance() { cout << balance; } void Account::setBalance(int ammount) { balance = ammount; } [/code] …

Software Development c++
Member Avatar for vijayan121
0
158
Member Avatar for IBGhost

Dim objNetwork Dim objExcel Dim objWorkBook Set objExcel = CreateObject("EXCEL.APPLICATION") objExcel.Visible = True Set objWorkbook = objExcel.Workbooks.Add() objworkbook.ActiveSheet.Range("A1").value = "DisplayComputername" Set objNetwork = CreateObject("WScript.NetWork") Dim strComputer strComputer = objNetwork.ComputerName Msg strComputer Set objNetwork = Nothing

Software Development vb.net
Member Avatar for IBGhost
0
94
Member Avatar for javageak

[COLOR=#fa6400]I really need help with this code...I have to display statistics from each and use Scanner and Tokenizer. For displaying each character I have to use Character.isLetter(). Please help me figure out how to display all of these things from a file. //TextFileStats.java //Print out Statistics using StringTokenizer. [/COLOR][COLOR=#941edf]import[/COLOR][COLOR=#000000] java.io.*; …

Software Development java
Member Avatar for iamthwee
0
131
Member Avatar for nam5a

I was wondering if there is something in python similar to the begin expression in Scheme, and if not how would you write something in python to simulate it.

Software Development python
Member Avatar for nam5a
0
115
Member Avatar for grunge man

i created this program and it works perfictly but how do i make it so all the numbers,that this loop prints out, add together? heres the code[CODE]#include<iostream> using namespace std; int main() { int i,n,a,b; b=1; n=1; i=100; a=100; while (n<=i){ cout<<n*26*n<<endl; n=n+1; } system ("pause"); }[/CODE]

Software Development c++
Member Avatar for grunge man
0
176
Member Avatar for Coach_Nate

Hi all, I apologize if this is somewhere on here. I've looked some and I can't find it here or anywhere on the internet. With all the bright minds on this board, someone's bound to have an idea... What I would like to do is open a file using the …

Software Development c++
Member Avatar for Narue
0
330
Member Avatar for vikter

Hi, Is there a way one can create a Graphical user interface in C++, and include things like Radio buttons,Check Boxes e.t.c in one's application. Thanks alot

Software Development c++ gui user-interface
Member Avatar for Narue
0
181
Member Avatar for jibsonline

Hi, I'm new to shell scripting. I need to make a script to add on to my cronjobs. The script must get the value of load average from my server and if its greater than 10 it should stop my apache service. I cant find a way to get the …

Software Development apache shell-scripting
Member Avatar for sn4rf3r
0
122
Member Avatar for kained

right basicly i need to make a class. I have a file called book.cpp which needs to be modified and i have no brain at all today. help is so needed. [code] //book.cpp #include"bookheader.hpp" Book::Book(void) { title[0]='\0'; quantity = 0; deleted = false; } Book::Book(string tit) { strcpy(title, tit.c_str()); quantity …

Software Development c
Member Avatar for kained
0
107
Member Avatar for pockafella

hey I was wondering if any of you had an idea for this program I need to write for extra credit in my class. It involves using a rational class which is what Im having trouble writing, I understand if no one wants to take a shot at it, any …

Software Development c c# c++
Member Avatar for Narue
0
98
Member Avatar for bhavna_816

I am accessing MS Outlook Folders through VB.NET console application through Command Line Arguments.The mails are displayed in HTML table format. I am displaying all mails once at a time.I want to display it as page like first 10 items at once and rest 10 after clicking the link button …

Software Development html-css vb.net
Member Avatar for veerendranath_d
0
229
Member Avatar for nikki23

I am trying to show info at the bottom of my data grid I get error saying object reference not set to an instance of an object Here is my code [B]Imports System.data Imports System.data.OleDb Imports System.Configuration Partial Class supplier Inherits System.Web.UI.Page Dim ConnString As String = ConfigurationManager.AppSettings("ConnString") Dim dbPath …

Software Development dataset session vb.net web-server
Member Avatar for kapil.goyal
0
370
Member Avatar for countrygirl1970

I have a question I am writing this program for class where all of the output goes into one JOptionPane.showMessageDialog for instance I have the The sub total price displayes, the sales tax displayed, and the Grand total displayed in this I also want to display a message if the …

Software Development java
Member Avatar for stultuske
0
97
Member Avatar for louis7370
Member Avatar for Nick Evan
0
41
Member Avatar for JohnKelly

I have been using a call to SHBrowseForFolder to select a folder where the user can Load or Save files. We have a request to allow the user to create a new directory to save files. Is there a call to something similar to SHBrowseForFolder but one that allows a …

Software Development visual-basic
Member Avatar for davidcairns
0
121
Member Avatar for yaya_star

i need to pass w variable from one form to other forms how?

Software Development vb.net
Member Avatar for waynespangler
0
132
Member Avatar for shsh_shah

Hi, [B] I have a listview control where i added some column headers. Now the query is when i select any text on the textbox i want to import on listview control under the specific column header. ???? [/B] Currently its adding any selected text from textbox to listview control …

Software Development listview
Member Avatar for shsh_shah
0
137
Member Avatar for The Shadow

Basically I'm writing a program that reads in the number of words in a file and counts them based on the number of whitespaces, though I'm also considering using tokenising im just more familiar with whitespaces. It compares the ACII code of whitespace(I think) then adds one due to not …

Software Development c file-system
Member Avatar for The Shadow
0
270
Member Avatar for louis7370
Member Avatar for Nick Evan
0
90
Member Avatar for sushanttambare

Hi all, I want to know the optimization code for following c source code: int i=0; i=p*q<<12; if(i>20) i=15; so here i should range from 0 to 15 but if i goes beyond 20 then it should remain as 15. Here I have hint as to use bitwise operator to …

Software Development c
Member Avatar for Infarction
0
118
Member Avatar for JavaNewbie07

I need help figuring out how to put the following logic into code: I have a text file that I am reading from, I have been able to code so that it reads four seperate columns; now I need to make one of the columns read (into an array) the …

Software Development java
Member Avatar for lucky1981_iway
0
115
Member Avatar for generalGOTCHA

Ok here is what I am trying to do now ! I have everything I need to take a list of computers and run the script on them. Now I need to grab the list of computers. So this will require grabbing an intranet website that contains all of our …

Software Development c
Member Avatar for generalGOTCHA
0
120
Member Avatar for â—„Medusaâ–º

I am thinking about a landscape generation program, ie building a model from a 2D contour map or something similar. Would C++ be the best language for this or is there a more suitable language to use? P.S I am a novice to programming and so far only have experience …

Software Development c c# c++
Member Avatar for John A
0
81
Member Avatar for kmachstang

Hi guys, I need some help with file input output. I have a file that has a array size on the first line followed by a 2d array. The array size can change. I need to read this file, and place the array in a array variable. But im not …

Software Development c c# c++ file-system ios
Member Avatar for vijayan121
0
249
Member Avatar for Shad0wHawk

I am writing a simple (extremely simple) hangman program. Basically the user inputs a word, then they have double the number of letters in the word for guesses (for instance if the word has 7 letters they get 14 guesses). Please don't ask why I want the user to input …

Software Development c c# c++
Member Avatar for Shad0wHawk
0
350
Member Avatar for generalGOTCHA

say I need to the below to store as a string variable. Set autoUpdateClient = CreateObject("Microsoft.Update.AutoUpdate",strComputer) notice teh quotations ? How can I store all of this as one string with the quotations included ? I need to store this so I can manipulate it, but those quotes keep throwing …

Software Development c
Member Avatar for generalGOTCHA
0
102
Member Avatar for nottoshabi

I dont understand why I'm getting this error here. [code=c] #include <cstdlib> #include <iostream> #include <cmath> #include <string> using namespace std; int main(int argc, char *argv[]) { string value; int number; cout << "Enter an integer: "; getline( cin, value ); if( !isvalidInt( value ) ) cout << "The number …

Software Development c++
Member Avatar for nottoshabi
0
202
Member Avatar for chris99

I've successfully made an engine for a point and click game, but I want to know how to put subtitles so you know what the characters are saying. All I know is how to parent text to a background, do I just need to make an invisible layer with a …

Software Development python
Member Avatar for chris99
0
145
Member Avatar for student86

[COLOR=#000000][/COLOR] [B][COLOR=#000000]I need some assistance with this lab, any help will be appreciated. I will attach a .txt file, with my programming so far.[/COLOR][/B] [B][/B] [B][COLOR=#000000]Thanks, I appreciate all those who take time out of their day to help.[/COLOR][/B] [B][B][I][COLOR=#000000][/COLOR][/I][/B][/B] [B][B][I][COLOR=#000000]Description[/COLOR][/I][/B][/B] [COLOR=#000000]Modify the Inventory program from Lab 5 to add …

Software Development c++ open-source
Member Avatar for student86
0
153
Member Avatar for dwrick

I am new to python and Tkinter. I was trying to build an addressbook for my class. I have the Tkinter GUI looking good - nothing fancy. Now I can't get my python part working. I want to keep the GUI in its own class and file. My two files …

Software Development email gui python tkinter
Member Avatar for vegaseat
0
1K
Member Avatar for jaepi

hello there, im new in c++...i need to know how to access files in the hard disk...im having a priject of controling hdd using linux and c++...my task is to create a program in c++ using linux that get's a file from the hard disk, check's if the memory of …

Software Development c++
Member Avatar for Salem
0
88

The End.