132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nurulshidanoni

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++
Member Avatar for nurulshidanoni
0
376
Member Avatar for sam1

hi everyone. I need few good books for beginners, trying to learn C. thanks

Software Development c c# c++
Member Avatar for rohoni
0
137
Member Avatar for micah1983

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++
Member Avatar for carnage
0
118
Member Avatar for rickykoh1983

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
Member Avatar for RamPrasad710
0
234
Member Avatar for Parsu7

Why JVM is platform dependent?

Software Development java
Member Avatar for jwenting
0
92
Member Avatar for mayank24

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
Member Avatar for mayank24
0
67
Member Avatar for AaronASterling

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
Member Avatar for AaronASterling
0
206
Member Avatar for thecraig

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++
Member Avatar for thecraig
0
102
Member Avatar for leokuz

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 …

Software Development email vb.net
Member Avatar for leokuz
0
136
Member Avatar for Ajuddy

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++
Member Avatar for venomlash
0
95
Member Avatar for Jade_me

how to get comp name or user name ??? anyone know this ?? thank you :)

Software Development vb.net
Member Avatar for Jx_Man
0
79
Member Avatar for nikoasumi

Hi, I am new to python and new to this forum. So how are you all? What I am trying to do is create a script editor, with syntax highlight and unicdoe support. It doesnt need to link to ANY compiler, it simply have to display my script with highlights, …

Software Development python
Member Avatar for nikoasumi
0
221
Member Avatar for Jennifer84

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++
Member Avatar for Jennifer84
0
92
Member Avatar for TheBeast32

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++
Member Avatar for TheBeast32
0
321
Member Avatar for ionzone

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
Member Avatar for dandan
0
208
Member Avatar for ads248

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 …

Software Development sql vb.net
Member Avatar for ads248
0
1K
Member Avatar for prushik

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
Member Avatar for prushik
0
52
Member Avatar for chopficaro

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
Member Avatar for chopficaro
0
510
Member Avatar for Jennifer84

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++
Member Avatar for Jennifer84
0
133
Member Avatar for jeffige

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++
Member Avatar for Ancient Dragon
0
134
Member Avatar for piers

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
Member Avatar for Parsu7
0
156
Member Avatar for onemanclapping

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++
Member Avatar for onemanclapping
0
216
Member Avatar for casperguru

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

Software Development algorithm c++
Member Avatar for sarehu
0
170
Member Avatar for Carlo Gambino

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
Member Avatar for jrcagle
0
143
Member Avatar for Danii

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
Member Avatar for VernonDozier
0
102
Member Avatar for RMartins

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
Member Avatar for Ene Uran
0
169
Member Avatar for fishsqzr

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
Member Avatar for Jugortha
0
311
Member Avatar for Danii

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
Member Avatar for Parsu7
0
83
Member Avatar for Google Spider

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++
Member Avatar for codeaa
0
159
Member Avatar for Lioshenka

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
Member Avatar for ~s.o.s~
0
3K
Member Avatar for cosmos22

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++
Member Avatar for vijayan121
0
109
Member Avatar for Infeligo

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++
Member Avatar for vijayan121
0
475
Member Avatar for William

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
Member Avatar for arjunsasidharan
0
608
Member Avatar for IT_Techno

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
Member Avatar for IT_Techno
0
211
Member Avatar for dkwantee

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]

Software Development c++ display
Member Avatar for mitrmkar
0
254
Member Avatar for mayank.aga

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
Member Avatar for mayank.aga
0
199
Member Avatar for Spartan552

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
Member Avatar for bugmenot
0
225
Member Avatar for dnk

Does anyone know how to use data to call access database ??

Software Development visual-basic
Member Avatar for dnk
0
116
Member Avatar for angrita

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
Member Avatar for jwenting
0
183
Member Avatar for pranavdv

[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
Member Avatar for pranavdv
0
77
Member Avatar for 88omar

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
Member Avatar for Google Spider
0
200
Member Avatar for Jennifer84

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++
Member Avatar for Jennifer84
0
163
Member Avatar for Ken JS

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++
Member Avatar for codeaa
0
103
Member Avatar for Squeeker

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

Software Development c++ legal
Member Avatar for vmanes
0
141
Member Avatar for arun.gerrard

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
Member Avatar for arun.gerrard
0
561
Member Avatar for fgn89

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 …

Software Development c++ delphi display
Member Avatar for Ancient Dragon
0
154
Member Avatar for implor

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
Member Avatar for jrcagle
0
17K
Member Avatar for C++masterinneed

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++
Member Avatar for Ancient Dragon
0
111
Member Avatar for jeffige

First let me say sorry to all the experts out there. I just don't know where else to turn. A friend of mine who was teaching me c, even set up borlands compiler for me on my laptop, quit the tour that I am on. My old laptop crashed I …

Software Development c++
Member Avatar for Ancient Dragon
0
114
Member Avatar for Jennifer84

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++
Member Avatar for Jennifer84
0
87

The End.