43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for M.Waqas Aslam

Dear All ! I need to convert date 2013/09/15 to this format Sun, Sep 15, 2013 . any type of suggestion would be greatly appreciated. Regards

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
129
Member Avatar for cobalt555

So I need all I need to do is let this info that is going through my array print out somehow. the problem is I cant get it to do that currently. I can get it to return the information one at a time for each employee . but at …

Software Development java
Member Avatar for stultuske
0
521
Member Avatar for jemartalaban_1

hi my program is need to print different forms but each forms must use different printer and all printers was connected to my pc via usb port, my problem is if i want to print a form A i will click the command box then it will use the EPSON …

Software Development printer visual-basic
Member Avatar for rishif2
0
6K
Member Avatar for android_gl

new to sml and not sure how to div two number in function? i want to run if statment, than div two numbers, than run if else statment. fun hello() = if(x = 1) then true //x = 10 div 5 if(x = 4) then true else false;

Software Development
Member Avatar for sepp2k
0
112
Member Avatar for Hazuan Nazri

Hello friends! hope someone can help me, i have a problem to display picture from database access in picturebox, i already search it on google, maybe im not lucky today to find article about it. please teach me friend.

Software Development vb.net
Member Avatar for mmcdonald
0
302
Member Avatar for dendenny01

Whenever I try to run this code in turbo c++ 4.5 I recieve an error "General Protection Exception List.c 60 List(2) 0x24DF:0x0157 processor Fault" whereas when the same Program is run in Turbo c++ 3 Dos version It Compiles and Runs Propely without any error. Please Help. #include <stdio.h> #include …

Software Development c c++ data-protection queue
Member Avatar for Ancient Dragon
0
925
Member Avatar for Sci3nc3F1cti0n

Hey guys, as the title says, this is my first encryption program. Being extremely simple, I was just looking for advice on ways I could improve it. I just recently got back into programming(I tried to learn before but unfortunately lost interest while I was still learning the basics) and …

Software Development c++ encryption
Member Avatar for nchy13
0
422
Member Avatar for flebber

Hi I am looking some advice on which Java tools to use and /or any hints you can offer a new Java user regarding XML. What I want to do is take an xml file read it, modify it and push it to a database so that it can update …

Software Development java xml
Member Avatar for flebber
0
182
Member Avatar for Hazuan Nazri

i want to auto bind data to my textbox after user click the textbox and i already make it!! but my problem is, after i click the textbox again, it still same as the first click!!! HELP ME!!!!

Software Development vb.net
Member Avatar for Hazuan Nazri
0
344
Member Avatar for irtza

In this program: 1) an integer typed 2D array named student_scores[Rows][Cols] is initialized by providing initialization list 2) then this array is passed to a function named total_scores which recevies two aurguments .- the first aurgument is for array with explicit use of column subscript .- the second one is …

Software Development c++
Member Avatar for usama sadaqat
0
520
Member Avatar for Ralk25

plss give me some code to have an idea for my program

Software Development java
-3
161
Member Avatar for andrew.mendonca.967

CSCI-15 Assignment #2, String processing. (60 points) Due 9/23/13 You MAY NOT use C++ string objects for anything in this program. Write a C++ program that reads lines of text from a file using the ifstream getline() method, tokenizes the lines into words ("tokens") using strtok(), and keeps statistics on …

Software Development c++
Member Avatar for nchy13
0
268
Member Avatar for DarkLightning7

I'm trying to implement a simple recursive list search in SML/NJ but am getting some errors i dont understand. Here is the code: fun find x y = if (null y) then false else if x = hd(y) then true else find(x, tl(y)); Here are the errors: stdIn:130.6-135.22 Error: case …

Software Development
Member Avatar for DarkLightning7
0
710
Member Avatar for Ahmed.C

Hey guys I was just wondering how can I add all the folders which are in a directory to a listbox. e.g. all the folders in C:\ should appear in a listbox on the form load event. How can this be done? Thanks :D

Software Development vb.net
Member Avatar for Ahmed.C
0
2K
Member Avatar for Meikell 'Kai'

So! I'm building a GUI for an application I'm currently developing and I'm having a bit of trouble figuring out an issue. I'll try to explain it as best as I can in the code lines. Basically, I built a class to handle the initial window for the program, but …

Software Development api gui oop python tkinter window-manager
Member Avatar for Meikell 'Kai'
0
2K
Member Avatar for MichaelCJ10

//MY Problem is that i'm trying to make a lottery program, the issue i have is when i click a button, i want it to be so that after i click 6 buttons, lets say ,1,2,3,4,5,6, the program will move onto the next stage( i have yet to build that) …

Software Development java java-swing
Member Avatar for MichaelCJ10
0
929
Member Avatar for phorce

I believe there is a function which returns the max value for a double, however, I do not need this. I'm converting the following function: public void StaticCompress(short[] samples, float param) { for (int i = 0; i < samples.Length; i++) { int sign = (samples[i] < 0) ? -1 …

Software Development c++
Member Avatar for mike_2000_17
0
8K
Member Avatar for pars99

I need to compare two numbers in a cocoa application, but it doesn't allow me to use the regular signs (>=, <=, <, >) nor will it let me use isGreaterThanOrEqualTo:[] (Which, I undestand only takes an object, but I thought I would try it). So can someone please tell …

Software Development objective-c
Member Avatar for Szabi Zsoldos
0
182
Member Avatar for RHNation

def main(): #this program calculates the total price of a meal after inputting cost of food #tip and sales tax print ('Welcome to the Meal Calculator Program') print() #get the cost of food using the input function food_cost = input ("Please enter the price of your meal: ") food_cost = …

Software Development python
Member Avatar for vegaseat
0
8K
Member Avatar for andrew.mendonca.967

CSCI-15 Assignment #2, String processing. (60 points) Due 9/23/13 You MAY NOT use C++ string objects for anything in this program. Write a C++ program that reads lines of text from a file using the ifstream getline() method, tokenizes the lines into words ("tokens") using strtok(), and keeps statistics on …

Software Development c++
Member Avatar for RonalBertogi
0
442
Member Avatar for aVar++

I have created a game where the player moves a character around the screen but if a ball hits them then they lose the game however I'm stuck with the part where the ball collides with the player as it simply doesnt work. Here is my code: // Imported libaries …

Software Development audio
Member Avatar for aVar++
0
226
Member Avatar for Dili1234

When to trying to display data to datagrid view using query i got an error "a column named date already belongs to this datatable in net 2008" Dim dt As New DataTable Try myConnection = New SqlConnection(connectionstring) myConnection.Open() Dim cmd As New SqlClient.SqlCommand With cmd .CommandText = "SELECT [Date],[Totalamount] FROM …

Software Development vb.net
Member Avatar for Dili1234
0
183
Member Avatar for dospy

i want to construct a Message class which encapsulates and handles data for sending over a network; i want to acheive something like this: Client->Send(new CMsgPacket("Some Message", CHAT_COLOR_WHITE, CHAT_TYPE_SERVICE)); // send function deletes the data after processing it // this is the CMsgPacket class class CMsgPacket { private: int Msg_Len, …

Software Development c++
Member Avatar for RonalBertogi
0
285
Member Avatar for lucpet

From http://pymbook.readthedocs.org/en/latest/modules.html I've added some code to this code to make a little header for my code snippets as an exersise. """ Bars Module ============ This is an example module with provide different ways to print bars. """ def starbar(num): ''' (int) -> integer Prints a bar with * >>> …

Software Development python
Member Avatar for lucpet
0
215
Member Avatar for SoreComet

Hey Guys, I need your expertise. Please help me. In the following program, 2 matrices and given values and then displayed. The program works fine but I really can't understand how it works. #include <stdio.h> #include <stdlib.h> void getmat(int a[50][50],int n) { int i,j; for(i=0;i<n;i++) for(j=0;j<n;j++) scanf("%d",&a[i][j]); } void printmat(int …

Software Development c matrix-multiplication
Member Avatar for deceptikon
0
167
Member Avatar for perly

I have a large data set (12,000 rows X 14 columns); the first 4 rows as below: x1 y1 0.02 NAN NAN NAN NAN NAN NAN 0.004 NAN NAN NAN NAN x2 y2 NAN 0.003 NAN 10 NAN 0.03 NAN 0.004 NAN NAN NAN NAN x3 y3 NAN NAN NAN …

Software Development dataset perl
Member Avatar for perly
0
253
Member Avatar for dweb108

I have the elements to create XSD in the DB. such as a sample row would be.. XSD_TAG XSD_DATATYPE TYPEDEF MAXBOUND MINBOUND PARENT reject string basic null null sources so basically says that one of the tags to be constructed would be reject and it is of type string. the …

Software Development java
Member Avatar for dweb108
0
221
Member Avatar for chris99

I can't find anything to help me out on this method of sorting. How do I do it?

Software Development python
Member Avatar for farmwife
0
6K
Member Avatar for Ankurjain123

hi to all i want to use c program in python or in other way i want to run c program from python

Software Development python
Member Avatar for vegaseat
0
362
Member Avatar for kal_crazy

Q: Write a program which will print all the pairs of prime numbers whose sum equals the number entered by the user. My program is able to find the prime numbers until an integer value, n, and outputs it correctly. Now how do I find the pairs of prime numbers …

Software Development c c# c++
Member Avatar for prakash4
0
218
Member Avatar for computerbear

Hello, I have been struggling with this and it is due today. I have searched and read and am unable to determine what I am doing wrong. Thank you in advance. [CODE]class Accounts { // private class members const int arrayLength = 5; private int [] accountNumbArray = new int[arrayLength]; …

Software Development
Member Avatar for titali
0
290
Member Avatar for phorce

I might be a bit tired, but why does the following not work? class Signal { public: Signal() { } protected: std::vector<double> data; }; class Something : public Signal { public: Something() { data.resize(100); } }; class Parser : public Signal { public: Parser() { std::cout << this->data.size(); } }; …

Software Development c++ oop
Member Avatar for iamthwee
0
153
Member Avatar for pedrololarol

Hey everyone. I'm trying to use the g2 library in CodeBlocks but I can't seem to get it properly installed. Can somebody please explain me what to do, step by step? Best regards

Software Development c
Member Avatar for gusano79
0
576
Member Avatar for infatuate

So I just found out what Rot13 is and what its suppose to do but I now I have to implement a code that will allow me to execute Rot13. Does anyone have any tips on where I should start? (besides the beginning -__-). Any help is appreciated! thank you!

Software Development c
Member Avatar for L7Sqr
0
146
Member Avatar for phorce

I basically have two classes: `Signal` and `Parser` they both have differences, however, they each share the data that `Signal` has. I want to incorperate Method Chaining into the class, so my classes (at the moment look like the following): class Signal { Signal() { } Signal& Parse() { return …

Software Development c++
Member Avatar for mike_2000_17
0
189
Member Avatar for kiail

Okay, so I just realized I was doing half of what I wanted already..How do I pull just my interest gained on my savings account to print to console from main? Also is there a way to remove the part of my menu I have duplicated? Or a better way …

Software Development
Member Avatar for kiail
0
84
Member Avatar for cakka

Hello, I am in learning java. I try this code that I got from internet : static void insertionSort(int[] A) { // Sort the array A into increasing order. int itemsSorted; // Number of items that have been sorted so far. for (itemsSorted = 1; itemsSorted < A.length; itemsSorted++) { …

Software Development java
Member Avatar for cakka
0
184
Member Avatar for altic

Hey there, please help me how to solve this problem. I need to find my CPU temperature in C code on Linux for my new program. Can anyone tell me???

Software Development c
Member Avatar for nash_1
0
11K
Member Avatar for ricardo.scheufele

Hi, I have a tabcontrol with 3 tabs. Every tab has a great deal of textboxes which I use to refresh the properties of an object. To save my time, I bind the textboxes.Text to the properties of my object. The main problem happens 'cause I can make the binding …

Software Development vb.net
Member Avatar for ricardo.scheufele
0
723
Member Avatar for Ahmed.C

Hey guys, I need some help with a combobox. basically I have items in my combobox and when the user types in a letter everything starting with that letter shoudl appear and keep going until the user has typed in the item text and that's the only item remaining. Here's …

Software Development vb.net
Member Avatar for Ahmed.C
0
142
Member Avatar for RHNation

def main(): print ('Welcome to the mpg calculator program') print() #get the miles driven using the input function miles_driven = input ("Please enter miles driven: ") miles_driven = float (miles_driven) #get the gallons used using the input function gallons_used = input ("Please enter gallons used: ") galons_used = float (gallons_used) …

Software Development python
Member Avatar for farmwife
0
302
Member Avatar for koya.emer

Hi... I'm a new user here. I've stumbled across this place on a couple occasions in the past, and it worked out to my advantage when I needed a little help with some coding assignments. i need to include "parenthesis" in the equation in my program but i dont know …

Software Development java
Member Avatar for koya.emer
0
235
Member Avatar for onalenna.bobeilwe

develop a program which asks for a name and a password,and prints an acceptance message if the name is "aladdin" and the password is "sesane".the program should print a reject message in all other cases.this should be achived by combining the two tests into one using the "and"key word

Software Development python
Member Avatar for farmwife
0
235
Member Avatar for farmwife

This error frustrates me when I want to iterate over the elements of a set, for example when trying to convert the set to a list. How do I get around it?

Software Development python
Member Avatar for farmwife
0
7K
Member Avatar for giancan

Hi guys, I need some help with lists or dicts. I have a list with 2 columns like this "123.04 241.30","232.00" [and so on for about 400 lines] and another list which is more complex: "val1","val2","val3","nnn.nn nnn.nn","232.00" (where "n" is a number) [some thousands lines] Now I want to compare …

Software Development python
Member Avatar for giancan
0
347
Member Avatar for boykaa

since three days I try to insert many record in DB , I m using struts 2 and hibernate 3.I have 3 tables: 1 Evaluationglobale (id_eval ,label) 2 SousEval(id_eval ,SousItem_ID), 3 SousItems(SousItem_ID,label) my issue is how to insert many record in table SousEval when using the last insert id_eval in …

Software Development java java-jsp javascript-jquery
0
147
Member Avatar for Dunkler

Hey guys, I am new here and have found many answers to my problems from this website so I figured it was time to join. Here's the deal: I have just started trying to learn Python through MIT's OpenCourseWare. I am currently on PS1a (Problem set 1a) and am having …

Software Development algorithm python
Member Avatar for Ashley_4
0
212
Member Avatar for kingkong123

Hi, there. I have a 2D array with 208. I must concatenate the strings by twos up to index 199. So that I have 108 strings. Then I must shuffling these 108 strings. The problem is that it isn't working right. After I concatenate the strings, then shuffle, several strings …

Software Development c++ perl
Member Avatar for Ancient Dragon
0
314
Member Avatar for farmwife

As I've learned more about basic console Python script writing, I've had a look at both Tkinter and GTK+...and, at first glance, I like GTK+ better. Which do you guys prefer, and why?

Software Development python tkinter
Member Avatar for farmwife
0
4K
Member Avatar for Rebecca_2

Hi, I have a quick, and what seems like very stupid question. I have a list of files in a directory with various extensions. I want to open only the ones with the extension '.txt'. I have got as far as finding them (and can print their filenames to a …

Software Development python
Member Avatar for vegaseat
0
228

The End.