199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for atman

Hello again guys! i have a simple question how to promt user to enter a number for example 444 or whatever and for c to print it as a 9 digit number, so if its 444 c would print it as 000000444? any help would be greatly appriciated., thanx!

Member Avatar for yuvaraj.tr
0
99
Member Avatar for asaness

hi to all, i am a student, 2nd yr.college taking computer science, i want to learn about in coding in SQL except (SELECT, INSERT, UPDATE & DELETE). i just wanted to learn more complex and difficult coding, syntax, command and etc. please help me. thanks!

Member Avatar for jireh
0
98
Member Avatar for samkasarla_nz

Hi , I have a question .. I would like to write/modify the my program ... i.e writing a function to find out which of the directories exists ..... for example : on my computer c:\\sam and in another mechine c:\\xyz ... only one dir should on my computer or …

Member Avatar for jlm699
0
91
Member Avatar for rutaba

plz i need urgent help i hav to giv project of web , a dynamic website using php.. gimme sum gud idea for topic plzzzz

Member Avatar for isotope
0
102
Member Avatar for bugmenot

If I initialize graphics in my program and then use cout the font appears bigger than normal and the cursor doesn't blink on the screen as it does when the graphics are not initialized.Is there any way I can use graphics as well as cout in my program?If yes how …

Member Avatar for asifjavaid
0
777
Member Avatar for Sheryl99

What I need, is one three-dimensional array that holds: 1. Column name 2. MaxLength 3. DataType My code is close, I just can't remember the syntax for adding data to the array. Please help, Sheryl [code=vb] 'get the column information Dim c As Integer = 0 Dim x As Integer …

Member Avatar for iamthwee
0
149
Member Avatar for laks_samy

hi am lakshman i have developed vb.net application and publish it. then i have login administrater user in vista os, then i have installed my vb.net application its working fine. But same pc same vista os now i have created new standard user then i installed same vb.net application but …

Member Avatar for jbennet
0
212
Member Avatar for guest11

I am creating vb appliction in which there are 20 forms i want to create two command buttons named current and previous forms. Can anybody tell me how i can do this ? I want guide line. Thanks in advance regards

Member Avatar for jireh
0
115
Member Avatar for johnray31

I am just trying to explore c and i was wonder what is reason behind ... segmentation fault.. but second function is workiing .. can someone explain me reason [code=c] void myfunc1(char *t) { t = t+1; t = 'l'; //it gives segmentation fault ? why } void myfunc2(char *s) …

Member Avatar for ArkM
0
127
Member Avatar for edensigauke

hello everyone. i have been trying to code an MP3 player, but Java does not support this, it only supports wav, thus wma, mp3 and other music or audio formats are denied. i thought of incoporating a converter, but still the converter is even failing to make the conversion: here …

Member Avatar for stultuske
0
164
Member Avatar for jgelderloos

im working on an encryption program and i need some help. so far it words fine except when i enter a space. when this happens it seems to end the loop and spit out the first word. any help would be great [code] #include <iostream> #include <string> using namespace std; …

Member Avatar for cikara21
0
198
Member Avatar for pirlo

how are you every one?? I am student and i just started to study SQL,and now i will start studyabout Oracal . so i want ur advice to be a good student.

Member Avatar for moerpheus
0
101
Member Avatar for Tank50

HI Guys I Want to create service which monitor the another service in server,I search in google and find the coding part to do that,It works for local machine without any problem ,but I configure it to remote computer,it gave me error called "The RPC server is unavailable".I cant do …

Member Avatar for LizR
0
99
Member Avatar for rockX

I have about 5000 columns of data that i need to convert all of it into pecentages. for shorter colums i have been using this code: {print $1/($1+$2)*100,$2/($1+$2),$3/($3+$4)*100 .....} but this is a teadious process... with help i got this sed "s/[0-9]*.[0-9]*/&~/g" | tr "\n" " " | tr "~" …

Member Avatar for eggi
0
179
Member Avatar for caoboipro

:?: :idea: Anyone can help me or give me code C/C++ of detect sound from speaker ex If have sound from speaker report " currently have sound" If not "currently not sound:zzz: "

Member Avatar for Ancient Dragon
0
126
Member Avatar for metabex

Hi there, I am somewhat new to PHP but catching on fairly well. However, I'm currently stumped. I would like to access the newest XML file in a folder. Right now my code is hardwired so everytime I want to see the newest file I have to actually enter it …

Member Avatar for Atli
0
118
Member Avatar for ealion
Member Avatar for seanl1

Just trying to compile some code with tcc: [CODE] #include<stdio.h> main () { int x = 10; int *p; p = &x; x = 40; printf(“%d %d %d %d”,x,&x,p,&p); } [/CODE] Trying to learn about pointers and memory addresses and I took the code right out of the book, any …

Member Avatar for seanl1
0
78
Member Avatar for sourceofthought

Hello there Sorry in advance if this post is to big, not sure where else to go. I have just started out with python (last 2wks) with no previous Programming background. I have been really excited with the possibility of been able to program with python and to hopefully develop …

Member Avatar for sourceofthought
0
122
Member Avatar for Nick6425fl

I'm a newbie at posting code so I'm sorry if I make any mistakes. The 26 line won't let me compile and I don't understand why. can anyone help me??? [code=cplusplus] #include <iostream> #include <iomanip> using namespace std; double population(double pop, double birthRate, double deathRate); void printPopulations( double startPop, double …

Member Avatar for Nick6425fl
0
120
Member Avatar for piznut25

Write a C++ program that reads in the historical average monthly rainfall for NY for each month of the year and then reads in the actual monthly rainfall for each month in 2007. Finally, the program should print out a nicely formatted table showing the average rainfall for each month, …

Member Avatar for VernonDozier
0
97
Member Avatar for kyeong

I'm having trouble implementing isalpha in the correct spot. When I put it in the if statement, it doesn't determine the palindrome correctly. It says everything I entered is a palindrome. Then I try to implement it with the int k, but then it gave me "parse error before +," …

0
52
Member Avatar for Nick6425fl

I can't get it to compile. Here are the instructions for the assignment: Write a program that determines which of a company’s four divisions (Northeast, Southeast, Northwest, and Southwest) had the greatest sales for a quarter. It should include the following two functions, which are called by main. • double …

Member Avatar for VernonDozier
0
288
Member Avatar for squiddog

Hi all - I need some advice on how to handle multithreading in a GUI. I wrote an application in C# using only the GUI thread (see screenshot) and at times there are "long operations" where the database is being accessed and the right hand pane is being filled with …

Member Avatar for Jugortha
0
136
Member Avatar for DeadJustice

I can add a new node if the head is empty, but I can't attach a new node. Instead I get a null pointer error. Can anyone see what I'm doing wrong. I think I've been staring at this for too long. EDIT: Forgot to say I'm adding the Nodes …

Member Avatar for DeadJustice
0
1K
Member Avatar for jbennet

Okay i need this quick please i am kind of stuck basically i have got to find the highest and lowest numbers out of four integers. Is there a function in java.math or do i need to make one using a loop maybe?

Member Avatar for jbennet
0
107
Member Avatar for amerninja2

[B][COLOR="Red"]Can someone please help me to understand how to read and write unicode from/to a file? also how to set and print a variable to/with unicode (like a wchar_t variable or whatever.)? Im at an intermeddiate lvl in C++, and when I search this on google I don't understand a …

Member Avatar for NekoGráfico
0
118
Member Avatar for dnmoore

I have the following GUI code but my JLabel for results doesn't work when either of the buttons are pushed [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; public class TempConverterPanel extends JPanel { private JLabel input, results; private JButton output_f, output_c; private JTextField temp, fahrenheit, celsius; public TempConverterPanel() { setLayout …

Member Avatar for dnmoore
0
97
Member Avatar for desiman

I have to parse the following file in C and call like specific things like ingridients, time and stuff, so how do I go about storing it in a file. The recipes repeat over and over in same format. ************************ Recipe: "Creamy" Salmon Over Pasta By: Skinny One-Pot Meals, Ruth …

Member Avatar for ddanbe
0
112
Member Avatar for programmingme

I need to make this program pass by reference. How can I do that? [CODE] import java.io.*; import java.util.*; public class Convert { static Scanner console = new Scanner(System.in); public static void main(String[] args) { int pounds; int lb; int oz; int totalOz; int lbs; int ozs; int totalOzs; //Calling …

Member Avatar for programmingme
0
145
Member Avatar for psycho007

cut a long story short I have 2 tables, one called orders_total and another called orders_complete. the total_oders table contains rows of what the customer has ordered to eat i.e. colum called 'item' contains the item description colum called 'cost' contains the item cost for example i can sucessfully display …

Member Avatar for psycho007
0
133
Member Avatar for flying

Looking to figure out how to do set an at job up from within a shell script w/o using the -f option. The at -f option provides no method (that I can determine) for passing additional command line parameters to the file. I have explored trying to use stdin redirection …

Member Avatar for omrsafetyo
0
245
Member Avatar for MrDiaz

Hello, I'd like to create a function that accepts two objects and compares properties between them. Example [code=java]public boolean (obj1, obj2){ if obj1.property1 = obj2.property2 return true else return false } [/code] How can I do this?

Member Avatar for MrDiaz
0
116
Member Avatar for vmars

Greetings: I am chugging thru Boa Help Getting Started Guide for Boa Constructor , Kevin Gill , November 1, 2000 and am at Section: 2.7 Creating a Dialog Window doing everything as specified in Help, Save/Run and click on Help/About , no Dialog comes up. [Frame2.py , App2.py , Dialog2.py] …

Member Avatar for vmars
0
318
Member Avatar for trashed

Hi all. I am currently developing a CMS for a school project and I wanted to add the function to check, real-time, if a username is already taken. It should be a little bit like what happens when you register for a Gmail or Yahoo! account. Basically, while the user …

Member Avatar for Will Gresham
0
372
Member Avatar for 123468743867143

I operate a real estate directory site. [U][B][COLOR="Red"]Trouble of the day:[/COLOR][/B][/U] Cannot get my Back URL to go back to the previous page with all the user' search criteria still there. It goes back to the page and [U]they have to fill their criteria again[/U]. [U][B][COLOR="red"]Example: [/COLOR][/B][/U]They pick Fiji and …

Member Avatar for 123468743867143
0
141
Member Avatar for bigginge

I have set up a guestbook on a flash site and the customer has asked for a bad word filter to be incorporated. I have this code for it: $bad_words = explode('|', 'badword1|badword2|badword3|etc|etc'); foreach ($bad_words as $naughty) { $comments = eregi_replace($naughty, "#!@%*#", $comments); } Where in the following code should …

Member Avatar for bigginge
0
184
Member Avatar for prabowoadis

Hai there, I would like to ask about currency format in Bash script let say i have $US2550000, after format it, it become $US2.550.000,00 Thanks for the help

Member Avatar for omrsafetyo
0
971
Member Avatar for Erica122883

I am trying to count the number of each letter grade for a list of students and count how many are male and female and how many students there are total. The problematic section is: [code] int ItemType::CountItems(int& ACount, int& BCount, int& CCount, int& DCount, int& FCount, int& MaleCount, int& …

Member Avatar for Lerner
0
118
Member Avatar for lostandfound

Hi all, Can anybody help me out with the connectionstring for connecting VB6 to a Microsoft SQL Server 2005 Express Edition. I have tried several documented varieties which do not work. My latest attempt was a version from [URL="http://msdn.microsoft.com/en-us/library/bb264566(SQL.90).aspx"]this website[/URL]. I downloaded the application and associated files and changed the …

Member Avatar for lostandfound
0
217
Member Avatar for Venom Rush

Hi there I'm curious as to the process that happens when uploading a file. In all cases of file uploads do the files get uploaded to a temporary folder before any execution of code happens? If at all possible could someone provide a link to a page that explains the …

Member Avatar for mexabet
0
81
Member Avatar for bruce_geo75

i would like to make a winamp plug-in.can any1 help me to show me the way how to write the code,please?? thanx.

Member Avatar for bruce_geo75
0
125
Member Avatar for cooljeff1379

Hi all, I'm a C++ programmer and now about to use Visual C++. May I know the difference in terms of functionalities? will my code written in classic C++ run on Visual C++? thanks.

Member Avatar for kux
0
387
Member Avatar for vladdy191

I'm trying to read in a text file character by character. However, when I try to read it in it using the readChar method in DataInputStream it gives me a IOException. Heres what I have so far [CODE] FileInputStream stream; try { // Open an input stream stream = new …

Member Avatar for destin
0
446
Member Avatar for Sci@phy

Hello to all of you! I would really appreciate somebody telling me complete step by step tutorial how to work with MASM (or TASM, but I haven't noticed it's free to download) I've tried myself MASM and TASM (some Telemark assembly, not Borland), but for some reason it won't work, …

Member Avatar for NotNull
0
120
Member Avatar for ihatehippies

I'm fairly new to making GUI's in tk so I downloaded activestates GUI builder from sourceforge. It has a very straightforward drag and drop interface and is easy to pick up. However I ran into a problem trying to edit the widgets it creates. It makes 2 files, the first …

Member Avatar for ihatehippies
0
110
Member Avatar for Nemoticchigga

I have a buffer of chars. I want to display them in a text box as hex. is there a simple way to do this? Thanks.

Member Avatar for Freaky_Chris
0
153
Member Avatar for robgeek

Hi guys, being a beginner I have some trouble with pointers. I don't know but something about using pointers is just not getting clear to me. My assignment requires that from an array of given values, the user inputs a particular integer whose every occurrence with in the array should …

Member Avatar for robgeek
0
238
Member Avatar for mathematician

Almost every site I look on has at least one, and probably more, people who are going to write their own operating system. What's the point? When its finished the chances are nobody is going to use it - probably not even you. I might not mind spending a few …

Member Avatar for NotNull
0
128
Member Avatar for drjekil

I ve to Write a Python program that prints a random DNA sequence in Fasta format. That program should ask for the length of the sequence and suggest a reasonable sequence name. The session should look something like: > python randomdna.py Length: 34 >MySequence TGCGCATATTGTCTAACTATGGCTGTGGCCGGA The output must be in …

Member Avatar for drjekil
0
160

The End.