132,726 Archived Topics
Remove Filter ![]() | |
Dear all, I have one problem,..I want to count how many examcode and fill in the blank in the matrix below that I have done. Example is ,, for examcode 1 how many it appear. and for examcode 2 and examcode 1, how many student take both of them?? [code=C++] … Software Development c++ | |
A bank charges $10 per month plus the following check fees for a commercial checking account: $.10 each for less than 20 checks $.08 each for 20-39 cecks $.06 each for 40-59 checks $.04 each for 60 or more checks The bank also charges an extra $15 if the balance … Software Development c++ | |
Hi. I have a program that allows users to enter their information. After they have entered their information and clicked on submit, the program will create another exe file so that when the user opens the exe file, they will be able to see their information. How can I create … Software Development c++ file-system | |
I was encoding a C program as my assignment and got stuck. Following is the part of my assignment where i got stuck Please enter the employee's pay period information : Income for the current pay period : -2400 **Value must be greater than 0.0 **Try again. : 2400.. **Trailing … Software Development c | |
Hello, I am new to SQL. I assume that this is very simple. I have had trouble understanding the relevant example in the BOL as my installation (Express edition) does not seem to have the adventureworks database that is so ubiquitous in the examples. Say I have two tables, Test1 … Software Development sql | |
I am trying to write a file that writes to a user specified folder using ofstream. The basics of the code looks like this: [code] #include <iostream> #include <fstream> #include <conio.h> #include <stdlib.h> using namespace std; int write(int id) { ofstream myfile; myfile.open ("account/"id"/example.txt"); //this is where the error pops … Software Development c++ | |
I have two checkboxes on my Form1, one is called "CheckOE" and the other "CheckCDO" I would like to have an option of sending email message using either Outlook or CDO. Both email codes work fine if placed in the button alone, but I dont' know how to skip either … | |
Help with a code in C++ of stock management program that can? Add new stock, list stock; name, buying price, current selling price. can replace stock with 1st,,2nd,,stock. this code should be able to write/read structure to the file Software Development c++ | |
If you have a comboBox on a Form that you will write dates in, in this format: YYYY/MM/DD What I wonder here is this. As default I know how to load in so the comboBox will look like this: ----/--/-- Now my question is this. Is it possible when begin … Software Development c++ | |
Hi, I have been making a program that searches in another process's memory for a value from the user. It works, but it's [B]very[/B] slow. I have used other searchers like TSearch that are really fast. If anyone has a way to make it faster, please help.:-/ Here's my code … Software Development c++ | |
Hi, I am trying to make a shell script that will parse lines off error_log of Apache and parse IPs off of it. The lines I need to parse are security warnings made by ModSecurity. Example: [CODE][Fri Feb 22 22:18:46 2008] [error] [client 111.222.11.22] ModSecurity: Access denied with code 406 … Software Development apache shell-scripting | |
Hi I've populates a DataGridView from the results of a SQL query programmatically, so I haven't had to define the number of columns, etc. Just before I display it, I'd like to change the columns with Yes/No in them with checkboxes. Any ideas how I can do this programmatically? Regards … | |
I am using bloodshed dev-c++ ide. Win XP Media Center Edition. I am trying to learn how to use winsock, I have compiled a very simple (and very sloppy) little winsock application with the help of like 3 or 4 different tutorials the client sends a hard coded string to … Software Development c++ client-server ide | |
hey i got some c homework due Monday and I'm stuck. please help me. I'm going to mark the error lines with **** in place of a tab. build errors are at the bottom. i will be eternally grateful for any insight. [code=c] //patrick allard //program4 //prof ed ryder #include … Software Development c | |
I have edit a few items in my comboBox1 on my Form. The items in the comboBox exists of dates like this 2000/01/01 2001/01/01 So these 2 dates can be selected from the comboBox. I am doing a calculation with the selected date in the comboBox1. This works without any … Software Development c++ | |
I just started using DevC++ (ty Ancient Dragon) to learn C/C++. I am starting with the basic Hello World! The online tutorial I am following (which seems pretty good to me, but what do I know...yet) does not express how to check my work. I remember seeing a C tutorial … Software Development c++ | |
I have to do a really strange thing. I have to take a string of 2 words and then separate it and put it into two other strings eg String name = "fred blogs"; move the part of the string name which says fred to the String firstname so it … Software Development java | |
hi, I'm beginning to learn how to program in C++ and though it is teached in my university, it seems noone cares about Linux users, so no one there can help me here (though I think the problem has nothing to do with my OS, but with the version of … Software Development c++ | |
What would be the best possible algorithm for finding out all the combinations a given string can be rearranged. It should even consider cases for repeated characters Any other strategy than brute force would be appreciated | |
I am working to increment lists in such a way that each item in the list is incremented incrementally, it sounds confusing but its not: If the user inputs: [CODE]list = [1, 2, 3, 4] [/CODE] I want the output to be: [CODE]2, 4, 6, 8[/CODE] in essence, the first … Software Development python | |
while (firstNodeNeedsToGo(text)) { removeFirstNode(); nodeRemoved = true; } can someone rewrite this while loop into an if - then loop or any other code you have , this will help greatly toward my upcoming test Software Development java | |
does anybody knows why this function doesn´t work very well: f=lambda n: reduce(lambda x,y:x**2+y**2, map(int,str(n))) I want that this function add the square of the digits of a number an example of what i want: f(442)=4**2+4**2+2**2=36 and it's giving me f(442)=1028!!!:S However fou numbers with 2 digits the function works! Software Development python | |
I have a highly specialized update operation which I must occasionally run against a table. I would like to just send the SQL directly to the database as an UPDATE command. I have a data adapter for the table which handles normal read/write operations but this is a special case. … Software Development | |
boolean removedlNodes = false; what is the point setting this type boolean = false? Nodes = Nodes | NodesWithText(text); what does this " | " means here ? thanks in advance Software Development java | |
Hello, What I've learnt so far is in this order: Hello world>>data types>>conditional execution>>C-style arrays>>C-style strings>>loops>>functions>>structs>>classes I'm not very good at structs and classes and haven't tried any problems, just read it from the book. I find classes kinda difficult and often forget what I read yesterday:-/ Should I move … Software Development c++ | |
![]() | Hi there!!! I am back with more problems, now in Java :) What I am trying to do is to make an application to read and output a random line from a text file, but everything I know how to do is to output the whole lot. How can I … Software Development file-system java |
Hi. How would I go about locating a file on the computer, and using it in my application. For example, say I wanted to call up a text document for a help menu to aid the user. I would also like to know how you might do this even if … Software Development c++ | |
Hello, I'm trying to solve an ACM problem [url=http://icpcres.ecs.baylor.edu/onlinejudge/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1051]"Light, more light"[/url]. The problem is actually solved, but I can get it accepted. So browsing Internet I found a C code, which is accepted: [CODE] #include<stdio.h> #include<math.h> int main(void) { long long int n; while(scanf("%lld", &n)==1) { if(n==0) break; else if( … Software Development c++ | |
Hello, I am new to Visual Basic.NET, and programming. I am wondering if someone can help me get to understand the VB.NET language. I learned some visual basic 6, but none of that seems to works anymore in the new version. Before in VB6 I could make a chat client … Software Development vb.net visual-basic | |
How to add running application to window xp taskbar notification area when minimize the windos of application and not to be stop the application from running if any one can help me Many Thanks, Software Development | |
i have the integers 100 5 5 9 in my array numbers.But when i compile this program i get 2009312941!! Please help me [CODE] int main() { int numbers[4]; int i; ifstream streamin; streamin.open("input.txt"); for(i=0;i<4;i++) {streamin >> numbers[i] ; } cout << numbers[i]; streamin.close();[/CODE] | |
Hey Guys, I am writing to a Text FIle in Java using FileOutputStream. But whatever I write is stored in the same line. What should I do if I want certain things to be stored in the next line. Basically, it is like inserting a new line into the file. … Software Development java | |
Hi ! [QUOTE] (A & 0xFF)[/QUOTE]. What does this mean? I have to optimize a program, here is the code : [QUOTE]ret += ((long) data[index + i] & 0xFF) << ((nb - 1 - i) * 8);[/QUOTE] An image is stored in the array data... whenI remove & 0xFF, It … Software Development java | |
Does anyone know how to use data to call access database ?? Software Development visual-basic | |
I have just been requested by my wife's office to get a suite of GWBASIC vers 3.23 progs currently on W98SE to run on XP Pro . I have it running, however with 2 questions: 1. It runs in a very small fixed window. I can run full screen but … Software Development office-suite | |
[COLOR="Red"]import java.sql.*; public class test { public static void main(String args[]) { // Define the url for the sample database String url = "jdbc:derby://localhost:1527/test"; Connection con; String createString; createString = "create table test " + "(NAME varchar(32), " + "NUMBER int, " + "FEEs float " ; Statement stmt; try … Software Development apache java java-netbeans | |
i got this question and started and got a bit stuck can u please help. it goes like this the questions asks us to Write a c-program to read 10 numbers from the keyboard and store the numbers in an array called numbers After storing the numbers in the array … Software Development c | |
I am trying to use a radiobutton that I have attached to a from in VC++ .NET 2008 I have Named the RadioButton "BuyRadio". From what I know a radiobutton can have to stated, either true or false, wich meen pressed or not pressed. What I am trying to do … Software Development c++ | |
Is there a way to particular select a point on a screen??? Eg. There is a (back) button on the program, I want to write a C/C++ program to just select on that button. Lot of help =) Software Development c++ | |
Are call by reference functions of type int or double legal when using an ifstream or ostream argument? Example: [code]int afunction(ifstream& in, int anumber) { /* Function Body */ } [/code] If this is/isn't legal please explain. Thank you for your help. -Arielle | |
can someone teach me k-maps and boolean algebra.... also give me the links to some ebooks which explain the basics of k-maps if u find any. Software Development assembly | |
How do I make it show text? I'm completely new to this, my dad's wanting me to make this customer display screen show text, which on paper should be easy.. It's a WD-202 model, pretty common customer display pole, I've called a friend for help and he told me to … | |
I have a string that loks like "u'mystring'". i'm wondering if ther is a easy way to remove the u'' part of the string? Software Development python | |
i need help, with the collection :: collection -construcor- i dont know what to use in that function as far as intiatiating any objects or data members. there are no data members in collection - collection is implemented using binary search tree and hash table. i also need help with … Software Development c++ | |
I have 2 strings like this: In these 2 cases I want to get "File1.txt" and "File2.txt" and put them to a string. I need the same method so I suppose I have to find the Last "/" in the string and then put the rest to a new string. … Software Development c++ |
The End.