132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vonbv25

i can't find what's wrong w/ my program. the output is wrong when i type long names and names w/ less similar letters (sorry for my english i'm a filipino) [CODE]#include <stdlib.h> #include <iostream.h> #include <string.h> #include <conio.h> #include <stdio.h> char name1[20],name2[20]; int count1[25],count2[25],temp1,temp2,total; void flames(int num) { switch(num) { …

Software Development c++
Member Avatar for Schol-R-LEA
0
154
Member Avatar for begyu

Hi, I would like to read a directory, and get all the files in that with some kind of sorting, let us say sort by timestamp. Can you help me, here is my code so far: [CODE] #include <stdio.h> #include <iostream> #include <sstream> #include <fstream> #include <cstdlib> #include <vector> #include …

Software Development c++
Member Avatar for Ancient Dragon
0
1K
Member Avatar for c fan

I am new in c and dont know how to make a database in it i know that there is no database connection with c but i want to make project on employee data using file processing like this 1. add (employee name, age, contact number) 2. edit (employee name, …

Software Development c
Member Avatar for Ancient Dragon
0
241
Member Avatar for Trle94

Hey guys i tried getting CodeOrder snippet working but it really messup all my tables and such when i try to add for other groups sorting first 3 works fine but when i try to add more everything gets strange :S so if you can fix it ?? Here are …

Software Development vb.net
Member Avatar for Trle94
0
264
Member Avatar for StephNicolaou

Hi, I have a simple query I've used again and again previously, but in this case it's telling me that it is too complex. I've output this sql string into a message and cannot see any problems with the syntax, I'm completely baffled with this one so any help would …

Software Development visual-basic
Member Avatar for StephNicolaou
0
85
Member Avatar for riahc3

As some of you have read, Ive been working with JNI for these days. Ive found that JNA may be easier to manage and also allows some other things. I have this very simple program: The .cpp: [code] #include <stdio.h> #include "PruebasDeJNA.h" int suma(int a,int b) { return a+b; } …

Software Development java
Member Avatar for riahc3
0
154
Member Avatar for Blahthing

im having trouble closing this class, ive been trying for 2 hours Its a huge collection of ifs [ICODE] package net.minecraft.src; import java.util.Random; import java.util.*; public class ItemTestItem extends Item { public int TimesShot; public ItemTestItem(int i) { super(i); maxStackSize = 1; setMaxDamage(50); } public void onUpdate(ItemStack itemstack, World world, …

Software Development java
Member Avatar for hiddepolen
0
135
Member Avatar for beshoo

Dear all . :) i have 2 classes which generate a key look like this one : Lg+jExclU6WUbd2bKF1OZay1A4vzMHff8Di2TLoBnTwvtmdzZQrq4JErJCJzurKlbNrIBs05q4wf5uTirLVREQ== the 1st class : import java.math.BigInteger; import java.security.KeyFactory; import java.security.NoSuchAlgorithmException; import java.security.PublicKey; import java.security.spec.RSAPublicKeySpec; import javax.crypto.Cipher; import javax.crypto.NoSuchPaddingException; public final class c { public static String a(String paramString) { RSAPublicKeySpec localRSAPublicKeySpec = …

Software Development java php
Member Avatar for stultuske
0
2K
Member Avatar for Ahmed2

Hello there, submissiontime length finishtime remainingtime 1031 17:11 574.1025391 MB 1050 17:30 1 1326 22:06 536.0175781 MB 1343 22:23 2 2721 45:21:00 608.1279297 MB 2741 45:41:00 3 32 0:32 575.8115234 MB 51 0:51 4 1161 19:21 652.6259766 MB 1182 19:42 5 937 15:37 288.7597656 MB 946 15:46 6 3087 51:27:00 …

Software Development c++ file-system programming-construct
Member Avatar for Ahmed2
0
321
Member Avatar for muneeb213

Helloo......... how to set expiry date whenever my passport is expiry its automatically ALERT is there any code for expiration plz help me or give sum advice or sample

Software Development vb.net
Member Avatar for muneeb213
0
500
Member Avatar for dsoto

Using the file of sunset data, write a program using graphics that shows the sunset and sunrise. When I run the program, it says java.lang.NullPointerException. I want to know where I put the sunset data file. I am using eclipse. Here is my program: [CODE] import javax.swing.*; import java.io.*; import …

Software Development file-system java java-swing
Member Avatar for stultuske
0
278
Member Avatar for ibthevivin

I'm wondering if there is a way to simplify this program. I feel like I wasted a lot of time on all the ternary codes at the bottom for labeling "bill" for the three values (ten$, five$, and one$). Also for deriving the values for q,d,n, and p I feel …

Software Development java
Member Avatar for JamesCherrill
0
142
Member Avatar for iwlc
Member Avatar for vijayan121
0
3K
Member Avatar for Majestics

I am creating a project, which one start copy itself to any drive and stop execution and run other file which was copied.... No progress yet... Has any one done similar type of project before.... Need a bit for starting guidance.... Thank you.

Software Development java
Member Avatar for mKorbel
0
114
Member Avatar for mailgtauqeer

You can use and assemble with MASM611 very easily in Notepad++. Ihave find a very nice customization of Notepad++ on a blog. You can find it at [URL="http://easymasm.blogspot.com/"]http://easymasm.blogspot.com/[/URL]

Software Development assembly
Member Avatar for mailgtauqeer
0
435
Member Avatar for lothrodel

As I stated in the title i am having the issue where the object 'bj' does not call any of the functions that are within the class. I am stuck on this issue. Any help will be a appreciated. Thanks in advance. [CODE]#include <iostream> #include <cstdlib> #include <ctime> #include <string> …

Software Development algorithm c++
Member Avatar for csurfer
0
156
Member Avatar for s_j_s

Hi all, I am looking for a shareware source code for a mortgage calculator to place on a WordPress website? Greatly appreciate your help. Thank you!!!

Software Development java wordpress
Member Avatar for jwenting
0
314
Member Avatar for next_tech

Hi Guys, My final project has come and it is to make a GUI for a program that we previously wrote. So I have to use tkinter as my package for python to get this written. Now I can't find anything on tkinter and python 3.2 or any GUI "designers" …

Software Development gui python tkinter
Member Avatar for TrustyTony
0
715
Member Avatar for peterson624

I have to ask the user for a filename (that exists in the programs father file) and open that .gif file in order to play with the colors of the image... I am really new as programming and need help! I will be asking for more answers soon as well!! …

Software Development image python
Member Avatar for peterson624
0
215
Member Avatar for sofia85

Hi, I have this data set consisting of some values for which I want to get the distribution for through random sampling. How would could I do that in Python. I'm new to Python and don't know where to start. Is there a python package that could do this, i.e. …

Software Development python
Member Avatar for Gribouillis
0
105
Member Avatar for kalookakoo

I'd really like to know the simplest way to implement music while people play the game I created, and for sounds to play during certain events. (such as dying)

Software Development python
Member Avatar for TrustyTony
0
196
Member Avatar for pro_learner

I have developed a Java GUI App.I want to connect that with mysql.I have already connected a seperate java file with mysql.That java class is also in the same package in my Netbeans project.I want to know is it possible connect DB by using that seperate java class?

Software Development gui java java-netbeans
Member Avatar for pro_learner
0
149
Member Avatar for bwilson1

I have been working on my code today and have minimalized my errors. Sadly, I still have a few errors left I can't figure out how to solve. [code] 28 F:\Program6-Arrays2.8.cpp cannot convert `double' to `double*' for argument `1' to `double getInput(double*, int)' [/code] [code] #include<iostream> #include<cmath> #include<conio.h> #include<iomanip> //needed …

Software Development c c# c++
Member Avatar for MandrewP
0
122
Member Avatar for kavi4u

Hi , I am using the connection string as below in my c # .net .. i will give the connection string in all the forms and i will give con.open in the form load. is there any other shortest way is there to specify the connection at only once. …

Software Development asp.net
Member Avatar for thines01
0
189
Member Avatar for Navlag

Hello all, I am building a small file system in c++ that builds a table in a file called test.txt from information on another file. I am trying to copy the information over and then access a specific part of it based on the date. The data is copied over …

Software Development algorithm c++ file-system
Member Avatar for Navlag
0
269
Member Avatar for Srcee

Hi, I am a beginner (not a total beginner though) in C#. I am writing here because I want someone to give me advice on what to program in my free time in order to learn C# more. For example, I know how to zip/unzip files, read/write from xml files, …

Software Development
Member Avatar for berniefitz
0
192
Member Avatar for javabeg123

i have to create a Weight application that prompts the user for their gender (male or female) and their height and then determines their ideal body weight. The following formula is used to approximate ideal body weight: men: Ideal Body Weight (in kilograms) = 60+ 2.3 kg per inch over …

Software Development java
Member Avatar for IcantC
0
182
Member Avatar for AlexFG

Hello everyone, I'm taking a C++ class in college and the last assignment for the semester is to write a sub hunter game that's worth 25% of my grade so needless to say I have to do a very good job on it. The due date is in 9 days …

Software Development c c# c++
Member Avatar for AlexFG
0
203
Member Avatar for Arkinder

I am not exactly sure what information is relevant, so my apologies for any useless/redundant information. On my Mac (Snow Leopard 10.6.8) with xCode (gcc) compiled and run through the terminal the following works fine (ignore code and continue reading): [CODE]#include <istream> #include <string> #include <iostream> #include <fstream> enum Year …

Software Development c++ file-system
Member Avatar for Arkinder
0
396
Member Avatar for badnack

hi at all, i'm wirting a program (a chat) to connect two process via socket using ssl connection. In order to make portable this chat i've written a single body formed by two threads, the first has a client behaviour (users can connect to other users) and the second thread …

Software Development client-server java
Member Avatar for badnack
0
347
Member Avatar for superheroo

i want some help i have this progamm and i want to add points when a letter is found 10 points PLZ HELP ME! i also want to make it for two players Module Module1 Public zoes As Byte Sub Main () Dim un As String un = Console.ReadLine() Dim …

Software Development vb.net
Member Avatar for KingGold171
0
388
Member Avatar for ananth3125

in the below coding the files selected in the dialog box are dispalyed in the list-box, but while selecting the format i need to display only the selected format files to be displayed , how to modify the coding to keep like that. [CODE]Imports System.IO Public Class Form1 Dim fdlg …

Software Development display vb.net
Member Avatar for chriswelborn
0
126
Member Avatar for UNDER-18 FG

Hey guys, I wrote a program and this 2 lines came up with the same error declaration: [ICODE]Scanf("((%d/%d)*%d)", &Mark1, 40, 100; Printf("Average of marks is: %.3f", Avg);[/ICODE] Both these lines came up with these error comments below: Line 1: Function "Scanf" should have a prototype. Line 2: Function "Printf" should …

Software Development c
Member Avatar for UNDER-18 FG
0
155
Member Avatar for pelin

The question is ask the user for 20 numbers one at a time, saves the numbers in list, and then printsa 2 column table with each number in the list entered in the first column and its square root in the second column. Each column should be 6 characters wide …

Software Development python
Member Avatar for pelin
0
125
Member Avatar for Morten Brendefu

Dear enlighted ones. I happen to try to finsh a kind of a function library that my Main program can utilize. As of now, Everything work great... but. I would like to implement some kind of error handling. The way I do this also work, but the error is generated …

Software Development delphi pascal
Member Avatar for Morten Brendefu
0
588
Member Avatar for ibpet11

Good day, 1. Do anybody has already done code for image processing application in VB.net? in a case of none, how can I process image for (saturation, intensity, brightness, hue, darkness e.t.c) 2. What code can I pass for a button so that when I click it, PictureBox will show …

Software Development image vb.net
Member Avatar for Unhnd_Exception
0
412
Member Avatar for beforetheyknew

Hi guys, Question 1. I'm a pretty rubbish coder, haven't really done much of it in the couple of years since my degree, at work they've recently expressed an interest in getting me back into it. My problem is that i feel as though I've been taught the syntax (which …

Software Development vb.net
Member Avatar for beforetheyknew
0
106
Member Avatar for suzan alamassy

[COLOR="Red"]please i want help : i want rotate picture in (90) , (180) , (270) or any degress using this function ::[/COLOR] def rotating ( picture ,pict ) : # we have to pick to picture and then put them as parameter in th function : pic=makePicture(picture) canvas=makePicture( pict ) …

Software Development python
0
120
Member Avatar for mc3330418

What is the easiest fastest way to see what's in these three arrays. I just want to see what 's in there to make sure my function is working correctly. [CODE] #include <iostream> #include <iomanip> #include <fstream> using namespace std; const int MAX_ITEMS = 50; int readData(string studentNames [], int …

Software Development c++
Member Avatar for mazzica1
0
82
Member Avatar for MousehDragon

So I have 3 classes, matrix.h, matrix.cc, and shortestPath.cc shortestPath includes the .h file, which includes the matrix.cc file. In shortestPath I've tried to call a Get method I wrote in the matrix.cc file, but I can't figure out how to call the function on the object of that class. …

Software Development c++
Member Avatar for mazzica1
0
301
Member Avatar for iGuardian

In this excersize you will write a program that reads in two positive intigers that are 20 or fewer digits in length and then outputs the sum of the two numbers. Your program will read in the digits as values of type char so that the number 1234 is read …

Software Development algorithm c++
Member Avatar for WaltP
0
137
Member Avatar for Pointblank5600

Hey all. Im just learning VB and i want to make a login screen for my program. there will be two textboxes and a command button. When you click the command button it checks the information with whats in the database and if its correct loads the next form and …

Software Development visual-basic
Member Avatar for Auton710
0
426
Member Avatar for mazdasa

actually I had a problem to reverse my string using stack.. can anyone help me? this is a sample of my code : [ICODE]#include<iostream> #include<stdlib.h> using namespace std; void push(); void display(); void pop(); struct words { char data [20]; struct words *next; }; words *head; main() { int i; …

Software Development c++
Member Avatar for WaltP
0
254
Member Avatar for sirlink99

I have a program, and I would like to rotate the image (4 directions) I am wondering if there is an easy way to rotate the image. here is the code, and where I would like to rotate the image. [CODE] import java.awt.*; import java.awt.image.ImageObserver; import java.io.*; import javax.imageio.ImageIO; public …

Software Development image java
Member Avatar for mKorbel
0
171
Member Avatar for oldezwe

I'm having a hell of a time trying to make a login form. This is what I have at the moment.... [CODE]import javax.swing.*; import java.sql.*; import java.awt.*; import java.awt.event.*; class LoginDemo extends JFrame{ JButton SUBMIT; JLabel label1,label2; final JTextField text1,text2; LoginDemo(){ setTitle("Login Form"); setLayout(null); label1 = new JLabel(); label1.setText("Username:"); text1 …

Software Development java java-swing mysql
Member Avatar for JamesCherrill
0
2K
Member Avatar for umair jameel

public class First { public static void main(String[] args) { int a; a=EasyIn.getInt(); System.out.println(" the value of a " +a); }} // this code is showing an error of " easy In " not finding symble. // help me

Software Development java
Member Avatar for NormR1
0
842
Member Avatar for suiram

I have a text file which has data in it in the following format: string string char int double string Each field is separated by a tab character. The last string of every line contains multiple words. The file can have up to 50 lines (I am guessing if I …

Software Development c++ file-system
Member Avatar for Clinton Portis
0
258
Member Avatar for Suzan Al-amassy

[COLOR="Red"]when i try to scail picture down (( i did not have any problem )) using :[/COLOR] def generalscailing (picture ,pict , n ) : # we have to pick to picture and then put them as parameter in th function : pic=makePicture( picture ) canvas=makePicture( pict ) SourceX=0 width …

Software Development image python
Member Avatar for TrustyTony
0
156
Member Avatar for UltimateKnight

Hi guys. What my problem is basically either some typo, or I am doing something extremelly wrong. Can't think of something else. After some time off with C++ I got back with it, creating the simple project to see how well my memory serves me. I am pretty sure that …

Software Development c++
Member Avatar for UltimateKnight
0
101
Member Avatar for asif49

How is a "extends" relationship shown on a uml CLASS diagram. If [CODE]public class classA extends classB { ... }[/CODE] How will this be shown on a uml class diagram?

Software Development java
Member Avatar for JamesCherrill
0
100

The End.