132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
![]() | 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 |
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 | |
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. | |
[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 | |
[URL="http://www.festra.com/wwwboard/messages/13064.html"]How do i create a insert button for a TDBCtrlGrid? [/URL] | |
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 | |
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. | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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++ | |
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++ | |
[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 | |
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 | |
![]() | 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++ |
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 | |
[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 ![]() | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
| |
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 | |
i need to pass w variable from one form to other forms how? Software Development vb.net | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
[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 | |
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 … | |
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++ |
The End.