132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for songokute

Hi, i have a j2me game (in chinese): comments, button text, game guide... are in chinese! I want to make them all (chinese words) be translated into English, but Eclipese doesn't display these chinese words!! I downloaded some Chinese font and installed them, nothing change in eclipse editor! The same …

Software Development display java
Member Avatar for songokute
0
248
Member Avatar for ashuag

I am in need of an urgent Hospital Management System Software with the inter connectivity between Doctors, Labs and In house chemists. Does anybody is having. If yes, then please please send me with the code.

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
151
Member Avatar for ayat abukhadra

hello, I'm re-writing a pre-written application which i wrote years ago i wanna develop it to become accessable by phones is it easier to write a mobile application using vb.net or an asp.net web page can be accessed by mobiles ,guid me please.

Software Development vb.net
Member Avatar for Jx_Man
0
114
Member Avatar for ayat abukhadra

hello, I'm trying to write a web service using vb.net and i always get a localhost web service how can i write a web service as a server ?

Software Development vb.net
Member Avatar for ayat abukhadra
0
103
Member Avatar for jepapel

I have the following code: #include <iostream> using namespace std; int main () { char alphabet[]="abcdefghijklmnopqrstuvwxyz"; char word; cout <<"Please input a word: " <<endl; cin >> word; int res = -1; for (int i = 0; alphabet != '\0'; i++) { if (alphabet == word) { res = i; …

Software Development c++
Member Avatar for slumburock
0
4K
Member Avatar for amelia.rox

I am writing a program that calculates factorials. I have everything fixed except I can't seem to get case ('Y'), case ('y'), in the switch to start the program over. If you have another number you'd like to calculate then you say y and it starts the program back over …

Software Development
Member Avatar for amelia.rox
0
156
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> void main() { int n,i,p; printf("enter the no: "); scanf("%d",n); for(i=0;i<n;i++) { p=i*i if(p==n) { scanf("the square root of %d is %d",n,i); } } } its not working error at if(p==n)

Software Development c
Member Avatar for rubberman
0
374
Member Avatar for Sendy Hipo

hi guys, im learning c++ on my own and i have finished reading and studying E-book by Tony Gaddis ("starting out with c++, from control structures through objects, student value edition, 7th edition ") now im completely "lost" , i have searched google to see reference, but there are too …

Software Development c++
Member Avatar for Sendy Hipo
0
143
Member Avatar for hughesadam_87

I'd like to make a dictionary subclass that takes in positional keywords in addition to the standard *args, **kwargs. I found this example on stackoverflow: class attrdict(dict): def __init__(self, *args, **kwargs): dict.__init__(self, *args, **kwargs) self.__dict__ = self a = attrdict(x=1, y=2) print a.x, a.y print a['x'] b.x, b.y = 1, …

Software Development python
Member Avatar for hughesadam_87
0
726
Member Avatar for ScottFountaine

I'm trying to add a space before and after a user input. I have the space after using strcat() but cant figure out how to put one before. Here is the snippet. void find_keyword() { int len=0; int lenkey=0; int key_no=0; char teststr[50]; while((ip.keyfound==0) && (key_no!=MAX_KEY)) { // getting the …

Software Development c++
Member Avatar for ScottFountaine
0
130
Member Avatar for reyesg

hi i need to get a program done that reads a series of numbers and operations from a file using in order traversal to build a tree from the file data and evaluate the data in post order by traversing the tree while modifying a stack. here is what i …

Software Development c
Member Avatar for reyesg
0
115
Member Avatar for osiron

Hey Guys, I'm trying to create a timer program that is based on the MVC model and I'm having trouble with updating the views via `notify()` function as they should display the number of seconds or minutes and seconds elapsed. Could anyone help me with this problem? //KeyboardController.h class KeyboardController: …

Software Development c++
Member Avatar for mrnutty
0
193
Member Avatar for Ghost

When using C++, how do you find the REMAINDER of two numbers and store it in an integer. I think the answer is: [B]X % Y = Int Z;[/B] :idea: Please help. Thanks :lol: , C++

Software Development c c# c++
Member Avatar for wangchung
0
961
Member Avatar for XodoX

I can nto find anything that explains semaphores well. From what I understand, you can create an array of the type sem_t , for instance. Like a "semaphore array", I guess. And you use loops somehow to create them. Or can somebody explain this to me, please? I'm trying to …

Software Development c++
Member Avatar for XodoX
0
115
Member Avatar for 111100/11000

#include <iostream> #include <cmath> #include <string> #include <cstdlib> #include <cstring> using namespace std; char Outputing(char shifted_letter); int found_match; int searching_alphabet; int main() { const char ORIGINAL_alphabet[26]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}; //maybe const isn't necesery char alphabet[26]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}; cout << "This program encrypts messages using Ceaser Cipher\n"; cout << "\n---------------------------------------------------------"; cout << "\n---------------------------------------------------------"; cout << "\nEnter …

Software Development c++ encryption
Member Avatar for Labdabeta
0
328
Member Avatar for imobby

I need to highlight the current key pressed in my C# application. To get the keyboard keys code during keyDown and keyUp events i tried returning the keycodes as protected override void OnKeyDown(KeyEventArgs keyEvent) { // Gets the key code lblKeyCode.Text = "KeyCode: " + keyEvent.KeyCode.ToString(); } Other way i …

Software Development
Member Avatar for mvxg
0
285
Member Avatar for hughesadam_87

Hi, I think I have a pretty simple question but my google searches are giving me more information than I need. I think my terminology is not clear. Let's say I'm making a dictionary to hold a datatype very specific to some filetype or data of interest. Let's say I …

Software Development python
Member Avatar for hughesadam_87
0
441
Member Avatar for skran

I try to filter my datagridview with a datetimepicker. When the datetime value is just date (eg.15/5/2010) everything work fine. But when there is also date and time value occurs conversion problem "conversion failed when converting date and/or time from character string". Iused also combobox populated with the dattime values …

Software Development vb.net
Member Avatar for G_Waddell
0
558
Member Avatar for rhm532005

hi every one i'm writing a program in vb.net in visualstudio i want to know how can i update my database by using dataadapter dataset dataconnection and command builder can you give me an example thank you

Software Development dataset vb.net
Member Avatar for M.Waqas Aslam
0
97
Member Avatar for m.tompkinsnz

Hey Guys, I'm working on a practice Project at the moment where I'm recalling user information from a database, placing it into a form with several textBoxes, comboBoxes, etc and then proceeding to update the information in the database when the user clicks save. I understand this is simple, however …

Software Development sql vb.net
Member Avatar for M.Waqas Aslam
0
273
Member Avatar for DeeperShade

Ok, basically i'm putting together a win32 wrapper based on various tutorials I've seen. But when I try to close it via the close buttong (top right) or via the esacpe button it doesn't do anything, with the first it closes the window but doesn't end the program, with the …

Software Development c++
Member Avatar for DeeperShade
0
138
Member Avatar for muhd.ardany1

hello..i got a probem here.. You see that i have been given a task that is to make group of 4 people. The data i had received were 79 names including their ID, gender and races.... There are condition need to be satisfy that are in a group there should …

Software Development pascal
Member Avatar for pritaeas
0
140
Member Avatar for arunod

hi what are service threead in java

Software Development java
Member Avatar for arunod
0
60
Member Avatar for collinsislee

OK here is my code to print all prime numbers less than 100 and also print the first 36 numbers in the fibonacci series. I want to change it so that the fibonacci prints 9 numbers per line and the prime numbers print in 5 per line. Im new to …

Software Development java
Member Avatar for JamesCherrill
0
368
Member Avatar for 47pirates

HOw can i convert the String "2012-07-30" to Date object with same format 2012-07-30 which is date not a string. I've tried but i get the result in string. plz help

Software Development java
Member Avatar for Taywin
0
191
Member Avatar for rithish

in java we use import javax.swing when we want to use frame and panel we write like this class frame extends jframe but in c++ we use <iostream.h> and <conio.h> where we use cin and cout from these libraray functions but we dont inherit anything .we use normally we dont …

Software Development c++ java java-swing
Member Avatar for Taywin
0
151
Member Avatar for manticmadman

I am a fledgling at best when it comes to programing. I am trying to acclimate myself with Python's date and time functions. Below is a program I wrote to calculate the Sun rise and set times for a given lat, long. What I am hoping to find out is …

Software Development python
Member Avatar for hughesadam_87
0
376
Member Avatar for abbelylee

I want to be able to read data from a csv file (comma seperated,tab seperated or space seperated) and pass the data into an array.my intentions are to combine four classes. such as a class for the data model,file reader, driver and textui. i can handle the textui and the …

Software Development java
Member Avatar for NormR1
0
156
Member Avatar for triumphost

How can I compare Dimensional arrays using iterators? My attempt is below but I gave up and used indexing instead. I plan to change comparing doubles with == to use epsilon later. Also should I be using vector of vectors? //In my class, Data is defined as std::vector<std::vector<double>> Data; bool …

Software Development c++ matrix-multiplication
Member Avatar for deceptikon
0
187
Member Avatar for ashuag

Getting error "OleDBException was Unhandled: No value given for one or more required parameters" while submitting the insert query through VB.Net. Below is the sample code I am using: custid = txtcusid.Text custname = txtcustname.Text age = txtage.Text gender = cmbgender.SelectedItem.ToString phno = txtcontact.Text custadd = txtadd.Text comm.CommandText = "INSERT …

Software Development vb.net
Member Avatar for Reverend Jim
0
119
Member Avatar for miramiey

Hi, I try to open vb6 file to visual basic 2008 but have a problem during a converting. here's the error that appear, ![26-7-2012_11-44-11_AM](/attachments/large/3/26-7-2012_11-44-11_AM.jpg "26-7-2012_11-44-11_AM") Can anyone please help me to fix this error. Thank you in advance.

Software Development vb.net visual-basic
Member Avatar for AndreRet
0
311
Member Avatar for Israelsimba

Im running an accounting package using crystal reports. all my fields are coming from the table except the totals. the problem is i have a running total where the **total income**-**the total expenditure = net income** for each month. the problem is that the opening balance is supposed to be …

Software Development visual-basic
Member Avatar for AndreRet
0
291
Member Avatar for senergy

hi, I have trouble with getting info from my table, this is my code: [code]#include "stdafx.h" #include <iostream> #include <mysql++.h> #include <manip.h> using namespace std; #define HOST "" #define USER "senergy" #define PASSWORD "" #define DATABASE "" #define PORT 3306 // deleted info :) int main(int argc, char *argv[]) { …

Software Development c++ mysql
Member Avatar for godinac
0
490
Member Avatar for innocentpaul

Can there be a way of connecting a vb 6.0 application to SQL server, how possible is that if am using ADODB?

Software Development visual-basic
Member Avatar for AndreRet
0
159
Member Avatar for thechampp

Hello everyone i need help with this task : "Write an expression that checks for given integer if its third digit (right-to-left) is 7. E. g. 1732 -> true"

Software Development
Member Avatar for thechampp
0
154
Member Avatar for daviddoria

For a while now I've been doing this when I want to check the input of a function (in this example, to make sure they are not equal). [code] void foo(int a, int b) { assert(a != b); } [/code] But when the assert fails, I always find my self …

Software Development c++
Member Avatar for vibhor48
0
295
Member Avatar for hughesadam_87

Hi guys, This is more a general discussion of methodology than a specific question. I have been working on a, the primary purpose of which is to store an oddly formatted data file (aka not you classic CSV). At the end of the day, the data is stored in a …

Software Development python
Member Avatar for hughesadam_87
0
159
Member Avatar for I_m_rude

hi.. #define loop() for(;b<c;b++) #define print(a) printf("%d ",a); int main() { ............ ........... ............ .............. int i=0,j=0; loop(i,15) { loop(j,15) { print(z[l][m]) } printf("\n"); } } This code print some integers , but isn't printing all in the desired way. But, when I change the #define statement in this way, …

Software Development c
Member Avatar for I_m_rude
0
210
Member Avatar for Huck44

I am trying to write a program that prompts for 5 signed integers that need to be put into an array. and then I have to do a 4th degree polynomial. The array stores a,b,c,d,e and there is a seperate x value. Can someone help please?

Software Development assembly
Member Avatar for GunnerInc
0
182
Member Avatar for techy23

well, i want to create the classic "snake game" in pure c language. how to do it. should i use graphics.h or "NCurses" library. what new and cool features can i add in my game. can i add a "Background " music and any cool graphics. what new feature can …

Software Development c
Member Avatar for WaltP
0
706
Member Avatar for Plazmotech

As the title says, I have a flash drive, and a script on that flash drive. Whenever I plug my drive into my Mac OSX, I want a specific Python script that is on my drive to run, and be able to access directories on my computer. Why am I …

Software Development flash python
Member Avatar for Plazmotech
0
242
Member Avatar for bendoveryou

My script is sapposed to have you choose a number and then spit out that number of 1's and 2's randomly chosen and then count and post how much.could someone help me by telling me what is wrong, i would really apreciate it, here is the script(it is a cmd …

Software Development python
Member Avatar for TrustyTony
0
119
Member Avatar for Vasthor

this is an unusual error, but maybe if the code presented here it's easier to recognize?! void sLetter(Word_store& s) { for ((s.words_input)::iterator it = (s.words_input).begin(); it != (s.words_input).end(); ++it) tolower(*it); (s.sWords).push_back(s.words_input); return; } the function is aim to converting each character in a string from a member of Word_store into …

Software Development c++
Member Avatar for Vasthor
0
158
Member Avatar for funnyguy1

Write a program that opens a file, reads records into a container of data structures, and prints out the sum in order. You can use Vectors to contain the data structures. 1. Create a data structure to represent the record (struct cost in cost.h) 2. Write a function called parse_account …

Software Development c++ data-structure
Member Avatar for iamthwee
0
368
Member Avatar for phil.robison.5

I need some help with my code for my bulls and cows game... the requirements for the program are below: To start your gaming career, you have decided to write a math game. You want to create the following Menu: Bulls and Cows --------------------------------- 1. Play new game - New …

Software Development career gaming java regex
Member Avatar for NormR1
0
638
Member Avatar for ingus16

Hi all ! I have a code which search registry key value in specific key path, not all registry. In registry key `SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}` find all keys with `0000 , 0001 , 0002 , 0003` and so on at the end of registry key. `{4D36E972-E325-11CE-BFC1-08002BE10318}` . In each key ( for …

Software Development
Member Avatar for ingus16
0
2K
Member Avatar for manishanibhwani

if we print a float using %d garbage value is printed....but if we scan a float value using %d & int...the value gets truncated...What is the reason behind it...

Software Development c
Member Avatar for deceptikon
0
170
Member Avatar for Mark2349845

hi i don't know where the problem i have forum contain listview i want change some value in this listview from class example Public Class Test Private Shared vidlist As Integer = 1 Public Shared Sub Hello() Try start: If CInt(frmMethod1.ListView2.Items.Item(vidlist).SubItems(1).Text) < CInt(frmMethod1.ListView2.Items.Item(vidlist).SubItems(2).Text) Then '.. ElseIf CInt(frmMethod1.ListView2.Items.Item(vidlist).SubItems(1).Text) >= CInt(frmMethod1.ListView2.Items.Item(vidlist).SubItems(2).Text) Then …

Software Development listview vb.net
Member Avatar for Reverend Jim
0
142
Member Avatar for nishant.rathee

I am trying to call functions from a DLL `function oziRepositionWP(Number:integer;lat,lon:double):integer;stdcall; ` I have written the code in python no = c_int(1) lat = c_double(34.00962) lon = c_double(74.80067) var =windll.OziAPI.oziRepositionWP(byref(no),byref(lat),byref(lon)) But i get the message var =windll.OziAPI.oziRepositionWP(byref(no),byref(lat),byref(lon)) ValueError: Procedure probably called with not enough arguments (8 bytes missing) where am …

Software Development python
Member Avatar for HiHe
0
580
Member Avatar for OsamaJutt

Hi, i am new here and i want an help in add the actionListener to the component of JCombo Box. Like there is Combo Box in Which there are components like name of color. When i click any component, for example i click Green color the background turns into Green. …

Software Development java
Member Avatar for JamesCherrill
0
176

The End.