199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Kashif

hi first of all greeting to every one i want to convert integer value into digits like input into any variable x=234678 into store in array y[8] that y[0]=2,y[1]=3 and so on. how can i do that in c++

Member Avatar for Kashif
0
109
Member Avatar for degamer106

The goal of my program is to take in 2 inputs - one for the base, and one for the number (which should be of that base type). It will then do a calculation and print out the number in base 10 form. For instance, Input Output ========== ====== 10 …

Member Avatar for degamer106
0
92
Member Avatar for saman

Plzzzzzzzzzzz Can Anyone Help Me Out Of This Problem By Tomorrow....lookin Forward For Any One So Nice To Help Me Up..saman

Member Avatar for _r0ckbaer
0
118
Member Avatar for jack223

Trace the Partition function on the following array: [0] [1] [2] [3] [4] [5] [6] 'F' 'K' 'A' 'R' 'C' 'Y' 'G' Assume that ChoosePivot returns without doing anything (the purpose of the function it to move the pivot to the leftmost position in the subarray, so by doing nothing …

Member Avatar for Narue
0
210
Member Avatar for jread

I am trying to create what should be a very simple script, though I'm having a very difficult time getting it to work. All I want to do is create a new copy of a master file once per week and do my work on the copy. I plan to …

Member Avatar for jread
0
256
Member Avatar for porterrj

Hello! I have a program that generates a rectangle based on width and height. ---I just need to figure out how to center this if the screen was 80 characters wide.------ void drawRect(int width, int height) { for (int i = 0; i < height; i++) { for (int j …

Member Avatar for Bench
0
175
Member Avatar for meenu

Hi, I am Meena. I am Java Developer. I am very much interested in C++. Because of my Basic knoeledge in C++ I easily understand Java. Now my big doubt is Java is fully used for Web Orinted. Oracle and VB for Data orinented. Like that what is main purpose …

Member Avatar for gampalu
0
158
Member Avatar for rcasinillo_s

Good day to all members! Anybody could help me or could give me a php code. What I need is I want to put link on each data that I had retrieved through array from mySQL database so that when I'm going to click each of them it will display …

Member Avatar for DGStudios
0
140
Member Avatar for ani_manit

we are making a project which converts a bmp file to a jpeg file. Can someone please tell me where to find an appropriate decription of the header used in JPEG. Basically do we need to have the header information to bring about this conversion?

Member Avatar for Ene Uran
0
76
Member Avatar for jasminemary

Hi I know the cut option which is used to cut the column from [B]file[/B]. I like to get the filename only when it is being stored in the variable with the extension attached to. file=jasmine.txt I like to fetch jasmine(file name only). I am newbie to shell scripting. Please …

Member Avatar for jasminemary
0
98
Member Avatar for student_help

Hi I am trying to delete a name from my database however my code seems to have a problem. It seems to cut out before i actually excutes the SQL statement. Is there something else i have missed in the code. PatientNumber is equal to the value to the text. …

Member Avatar for student_help
0
103
Member Avatar for registry

Hello, I'm quite new to SOAP but im trying to learn how to implement it into one of my WIN32 c++ API programs. I havn't done a lot of windows programming but i have created a few small programs, buttons, styles etc. I know the basic layout of a windows …

Member Avatar for iamthwee
0
96
Member Avatar for parvin1987

hello I,ve wrote a program but it doesn,t work correctly please help me i want to sort some strings based on the number that should be entered at first of each string for example the strings that you enter should be in this form: 12_hello it means you should enter …

Member Avatar for iamthwee
0
111
Member Avatar for csjenci

Hi All! I'm triing in MFC to insert a string into a database, which 200k is. In the case, when the string is small, it works, but it isn't working, when the string is 200k. Here is my source code: CDatabase db; rset_ekg *ekgrs; Cstring SQLQuery,cbuff; if(db.OpenEx(_T("DSN=dsn_name;UID=user_id; PWD=passw"), CDatabase::noOdbcDialog )!=0) …

Member Avatar for iamthwee
0
118
Member Avatar for porterrj

i have thought long and hard.......... It's due tomorrow at 8 AM. I would love to sleep on it.....but seriously my mental capacity for figuring this out is less than a two-year old. I've been trying for the past hour......how sad is that !! Please help me.....!!! makes the difference …

Member Avatar for SpS
0
125
Member Avatar for moon_light

i am new here and i have this Q to solve it plz help me Using class stack, write a program to read an expression and checks if the symbols : the parentheses ( ), square brackets [ ] are balanced or not. For example : (a+b-[c+d)] is not balanced …

Member Avatar for iamthwee
0
113
Member Avatar for webmasts

Hi, I'm creating a palindrome program. So far, I got that part. Now, I need to find out if the length of the integer (string) is less than 5 digits. If the length is less than 5, then don't proceed with the program. Please give your suggestions. Basically, what I'm …

Member Avatar for iamthwee
0
325
Member Avatar for thehakan

Hi everone. I need some help about o-notation. Actually I don't know so much things about that and I want to learn. If somebody send me some powerpoint documents, lecture notes or links about that, I will be happy:)

Member Avatar for thehakan
0
88
Member Avatar for gokul

Hai all, I am new to all.. Currently i am doing a "Video Conferencing" project in Java which implements SIP and JMF.. but i didn't know how to interact SIp and JMF in J2EE..? could any one help me..? pls give the related informations or links.. Thanks Regards, Gokulakrishnan.M

Member Avatar for metamit
0
106
Member Avatar for dors_zone

i need to write a function called bmiCalculator, which calculate based on: a) the function is to be passed the weight n height as parameters. the weight and height in pounds and feet, respectively. b) the function should convert pounds to kilograms (0.454kilograms per pound) and feet to meters (0.3046 …

Member Avatar for dubeyprateek
0
596
Member Avatar for porterrj

Hi I'm new to C++ and to here. I have an assignment. Make a HOLLOW rectangle using Functions. Have the user imput the amount of rows and columns....and border width . It should look something like this (It's supposed to be a HOLLOW rectangle) : Enter number of rows and …

Member Avatar for porterrj
0
1K
Member Avatar for porterrj

Hi I'm new to C++ and to here. I have an assignment. > Make a rectangle using Functions. > > > Have the user imput the row size and column width. It should look something like this (It's supposed to be a rectangle...hollow) : ********** * * * * * …

0
85
Member Avatar for degamer106

Ok..I get how to do binary division and have written this simple program (everything except the output with putchar()). My goal, however, is to invert my input and print it out. I ran into a few problems trying to accomplish this: - How do I get the one's complement operator …

Member Avatar for degamer106
0
91
Member Avatar for complete

I wonder what I am doing wrong here: [QUOTE] INITCOMMONCONTROLSEX InitCtrlEx; InitCtrlEx.dwSize=sizeof(INITCOMMONCONTROLSEX) InitCommonControlsEx(&InitCtrlEx);[/QUOTE] And why I get this error: [QUOTE]error C2440: 'type cast' : cannot convert from 'int' to 'struct tagINITCOMMONCONTROLSEX'[/QUOTE]

Member Avatar for complete
0
99
Member Avatar for osean

hi, i created a listbox[code] List list = new List(); list.addItem(".....:P"); list.addItem("...:("); add(list); list.makeVisible(1); setVisible(true);[/code] how can i make the listbox enabled (readable, but not disabled), so the user can't select anything from it? also, does anyone know of any good sites with full tutorials for beginners, for java?

Member Avatar for Dark_Omen
0
112
Member Avatar for pavankishore

Hai group, im a newbie in HTML,CSS,JAVASCRIPT.. I was involved in dev of a prototype using the above 3... everything went fine...but the pending requirement is .. when we right click on a row in table in a prototype, we have coded such that a context menu appears..its working fine..but …

Member Avatar for Comatose
0
168
Member Avatar for HelpMeImLost

Hello everyone. I am in desperate need of help. I have this question: [I]You have been developing a Fraction class for Teacher's Pet Software. The class contains two public data fields: one numerator and one for denominator. In keeping with the object-oriented concept of encapsulation, you make the Fraction's data …

Member Avatar for HelpMeImLost
0
122
Member Avatar for iamthwee

How can I put this? Is generics only supported by the very recent versions of java? If so... Does that mean if I use it, it might not work for people who have older versions of the JVM, or java plugin or whatever it is?

Member Avatar for jwenting
0
108
Member Avatar for cware

Hello, I am currently a sophomore CS major and have a C++ assignment I need help with. I have browsed the boards to see if asking for hw help was appropriate, and I did not find anything saying that it was not. If this is not appropriate, please let mek …

Member Avatar for Lerner
0
105
Member Avatar for Ene Uran

Python uses the directories listed in PYTHONPATH to find a module. How can I assure that the module I am importing is on this list of paths?

Member Avatar for vegaseat
0
176
Member Avatar for ramareddy_dotne

Im creating dynamic checkboxes on page_load(by getting the number of floors of a building from database) if user checks any one of floor checkboxes and hits generateflats button(Postback) then I will refer to the flats existing in that particular floor and I will generate flats(checkboxes ) dynamically. the problem is …

Member Avatar for SergioGP
0
128
Member Avatar for Moe

Hello everybody! I would like to know "how to link header file (.h file ) and source file (.c file ) in c. I have downloaded many .h files and .c files. I have noticed that the functions are declared in .h files and denined in .c files. I don't …

Member Avatar for WolfPack
0
2K
Member Avatar for C#Bobby

Hi, I am new here and was looking for a little help. I am writing a console application to play yahtzee. I have a die class, a dice class (with a dice array composed of five die), and my yahtzee class that has my Main method. My die has a …

Member Avatar for plazmo
0
152
Member Avatar for kennethwcn

i have written the following codes to implement the tower of hanoi but it doesn't work properly..... i have spent almost a week to find out the problem, but i still don't know what's going on... can any one can help me ??? Really Thanks for your kindly help!! Below …

Member Avatar for andor
0
329
Member Avatar for Ene Uran

I keep hearing that the eval() function is unsafe. It is a nice function, because you can use it like print eval("2.5*49.7/(23+3.14)") and it will solve the math. Is there any way to protect against some nasty minded person to enter a "os.system(command)" where the command will erase a file …

Member Avatar for Ene Uran
0
104
Member Avatar for Micko

Hello people of Python community, I'm back with (so far) strong will to learn Python, just like you. I remember once, Narue told me that good way to learn different prog. languages is to concetrate on algorithms and data structures and their implementation in language of choice. That way, she …

Member Avatar for Ene Uran
0
543
Member Avatar for softwarecaz

Hello I need to write my own mid function, have do I do that, just someone know, I know the mid function definition is mid(String, Start As Long, [Length]), if I wanted to create my own function, how do I do that, does someone have an example

Member Avatar for Comatose
0
133
Member Avatar for musicmancanora4

Hey guys im having allot of trouble im using a rather modulized solution which is how i need it for my assignment. However when i enter input using a function called getUserInput() that i created it accepts input correctly, but when it validates the input using my validateMonth() function it …

Member Avatar for Narue
0
133
Member Avatar for some one

Hi every 1 i need to have some application of the priority queue thanks :cool:

Member Avatar for Narue
0
111
Member Avatar for prasath

hi, is it possible to declare constructors as private? if yes, will some one explain me how to do it or please provide some links regarding that. thanks & regards prasath

Member Avatar for Narue
0
75
Member Avatar for hbmarar

hi, It wud be great if any one of you could let me know or share with me a sample code or how to in finding out the intersection of two arcs and plotting it. I cud not find any useful info on the Net thru search Reqeust your concern …

Member Avatar for iamthwee
0
113
Member Avatar for JoshBebbington

I have been looking over Vegaseat's Word Count program. I have two thoughts about what I want to configure it to do, but I'm not sure how to go about it. Idea 1; This is most important. I want users to be able to put a text file in the …

Member Avatar for a1eio
0
128
Member Avatar for rio

The problem we have been set is to make 3 classes which derive from a base class and 2 of these derived classes has a relationship with each other, now i can get only one of the derived classes to have a relationship with the other, but when i try …

Member Avatar for rio
0
148
Member Avatar for Kiba Ookami

In VB we could export all the code and make a standalone executable file. I was wondering how you did that in java with console/jframe based programs? I understand that an applet would have to be in a pages HTML, but as for the other types of applications, how are …

Member Avatar for server_crash
0
90
Member Avatar for vaisakh

hw can i validate the radio button for if it si checked or not can i do this by required field control.if no hw can i do this

Member Avatar for vaisakh
0
80
Member Avatar for johannesselhofe

Have made an OLE DB connection for an ASP.NET page in Dreamweaver 2004. The OLE DB connects to an Access Database. The alert tells me the connection was made successfully, yet I when I click (+) on the Icon on the Database Panel there are no tables or views. Can …

Member Avatar for johannesselhofe
0
68
Member Avatar for Dabdob

[COLOR=DarkRed][B]Q-write an Assembly code that read a student ID, Name, TMA1, TMA2, Midterm and Final....[/B][/COLOR] [U]The output of this programm should be like:[/U] ID Name Total of Marks Result 2345 ABCD 78 pass 2456 Bulin 30 Fail [COLOR=DarkOrange][B]The code:"i am not sure if the code is right?" you give a …

Member Avatar for Dabdob
0
137
Member Avatar for manal

Slam evey one... i have question i hope i find its answer here..... i want to read date from datatimepicker that user select then store value in database i know how to connect to database and how to get value from datetimpicker but need to know how to store it …

Member Avatar for manal
0
87
Member Avatar for ivernrawks

i wana know how to change time format from 12hr format to 24 hr format.. i browsed thru many websites and cannot find the answer to it.. played around with the codes and cant get the output right.. help !

Member Avatar for ivernrawks
0
120
Member Avatar for vaisakh

i created a session variable and try to call it on page load on another page the following error occur : System.NullReferenceException: Object reference not set to an instance of an object. code is Session("name")=request(religion_list.selecteditem.text) server.transfer("profile.aspx") // then call religion.selecteditem.Text = CStr(Session("name")) Session.Remove("name") plz help me to solve this

Member Avatar for web_developer
0
137

The End.