132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for john.kane.100483

Hello :D I would like this to be explain. What is meaning of this following codes and why are they in there? I really don't understand. void Binary2Decimal() total=0 "%16s" len=strlen(bin2); value=bin2[i]-'0'; total=(total<<1|value); void Octal2Decimal() for(i=0;i<len;++i) value=buffer[i] - '0'; if (value < 0 && value > 7) void Hexa2Decimal() digit=toupper(buffer[i]); …

Software Development c
Member Avatar for john.kane.100483
0
149
Member Avatar for Niveatha

hai.... i am doing inventory project. if sell a product it should afffect the stock. so i need a coding to retrieve the stock quantity and i have to change the value according to sales then i have to update the values into the stock table and also if no …

Software Development vb.net
Member Avatar for Niveatha
0
104
Member Avatar for johnas.delacruz

Is there a data type that can allow a user to input a 25 digit number... because the largest data type for numbers that i know is long long int and uintmax_t which can only store 18 numbers (i'm not sure about this)... because my problem should allow a user …

Software Development c++
Member Avatar for David W
0
471
Member Avatar for Quast

Like what we see in the Microsoft office word, if i wrote "This is abble" will show me a red line under the word. my project is load text file in the Richtextbox and correcting the wrong words, every thing is fine except this thing. so any information or details …

Software Development microsoft-office
Member Avatar for Quast
0
177
Member Avatar for sandeepxd

i want c++ code for a simple window with a tray icon. If i right click the tray icon it should show a context menu containing Exit item and if i click it then application should close. thanx in advance

Software Development c++
Member Avatar for panqnik
0
98
Member Avatar for butterfingerss

I am using Qt 5.2.1 and I made a program that takes some values and saves them on a text file. What I want is that everybody can see this file and read the content but nobody can edit it. To edit it, you would have to run the program …

Software Development c++ encryption qt
Member Avatar for panqnik
0
305
Member Avatar for essuku

Hi, Is there any java functions are availble to find mostly repeated characters in string ? Thanks

Software Development java
Member Avatar for C-Money
0
211
Member Avatar for 21303359

How do i use my program directly on the internet, instead of opening visual studio and running my program?

Software Development visual-studio
Member Avatar for castajiz_2
0
122
Member Avatar for nitish.mohiputlall

here is the original codes that has been set in the question paper: #include <stdio.h> #define numitems 10 int main(int argc, char* argv[]) { int data[numitems]; int i; int *ptr; for(ptr = data; ptr < &data[numitems]; ptr++) *ptr = 0; for (i=0;i<numitems;i++) printf("data[%d]=%d\n", i, data[i]); return 0; } HERE ARE …

Software Development c
Member Avatar for 2teez
0
537
Member Avatar for woomar

Hi. I am very new to hashtable concept. Here is a skeleton of the methods I need to implement; BUT, my biggest question is the inner Entry class. Am I implementing the entry class correctly?Is my constructor correct? Thanks public class HashTable<K, V> { /** define an inner class to …

Software Development algorithm java
Member Avatar for JamesCherrill
0
213
Member Avatar for Kent55

I am making a quiz for my computer science class and the basic concept is that you have 15 keywords and 15 definitions. All need to be randomly displayed and the correct answer has to appear. The user has to match the correct definition to the keyword twice and then …

Software Development data-science data-structure vb.net
Member Avatar for Reverend Jim
0
417
Member Avatar for nitish.mohiputlall

here is the original codes that has been set in the question paper: #include <stdio.h> #define numitems 10 int main(int argc, char* argv[]) { int data[numitems]; int i; int *ptr; for(ptr = data; ptr < &data[numitems]; ptr++) *ptr = 0; for (i=0;i<numitems;i++) printf("data[%d]=%d\n", i, data[i]); return 0; } HERE ARE …

Software Development c
0
93
Member Avatar for katharnakh

Hi, How do I disable Copy/Cut/Paste operations on a textbox in Tkinter. I want to implement this in simple login form, where I found I can copy or paste or cut from textbox which is meant to accept PASSWORD. Can we do that? How? Thank you, Regards, kath.

Software Development python tkinter
Member Avatar for Gribouillis
0
2K
Member Avatar for Stefce

Hello everybody i have a little problem with making a java command for program i have some code but i do not know how to continue i stuck in one place BTW the command i want to make is > /sendcash [username] [money] // how it looks like I have …

Software Development java
Member Avatar for stultuske
0
229
Member Avatar for LyingInAHammock

Basically I've created an **app drawer** and placed a **seekbar** within it. This app drawer is made up from **app_drawer.xml** whilst my fragment below is made up from **main_activity.xml**. The issue I'm having is, although the seekbar shows up perfectly and the app drawer pulls in and out as it …

Software Development android-development ide java xml
0
166
Member Avatar for virupax

I would like to draw a graph (on a PictureBox) using Graphics in VB.net The input values are added over some time which need to be presented as graph. But the problem I am facing is, I need to draw the entire graph from scratch every time a new point …

Software Development image vb.net
Member Avatar for xrjf
0
459
Member Avatar for C-Money

I am attempting to write a code with several different segment, such as combine two differents strings, compare two strings, find the length of a string. Right now, I am working on the part to get the string length, but when I run the code I have so far on …

Software Development assembly
Member Avatar for C-Money
0
13K
Member Avatar for AwkRocks

Input: Feb 15 2014 09:31:00 ERROR {http--0.0.0.0-0000-000} [54d70-54d70-54d70-54d70-54d70][478-478-478-478-478] JabberServlet - Provisioning exception while parsing protocol Feb 15 2014 09:31:00 ERROR {http--0.0.0.0-0000-000} [54d70-54d70-54d70-54d70-54d70][478-478-478-478-478] JabberServlet - Failed to extract text from response Feb 15 2014 09:31:00 ERROR {http--0.0.0.0-0000-000} [54d70-54d70-54d70-54d70-54d70][478-478-478-478-478] JabberServlet - Error while loading make model Feb 15 2014 10:31:00 ERROR {http--0.0.0.0-0000-000} …

Software Development http-protocol shell-scripting
Member Avatar for AwkRocks
0
171
Member Avatar for babyluxe03

i connect my access to vb2010 using adodb. but i cant display the datas in my listview. can someone help me to solve my problem. i would really appreaciate any help. what i need is to get the column per column datas.. like how it is shown in the access. …

Software Development listview microsoft-access vb.net
Member Avatar for cgeier
0
136
Member Avatar for zitro10

HELP ME TO CREATE MY OWN LIBRARY SYSTEM I NEED TO LEARN EDIT, DELETE, SEARCH, SAVE. IF ANYONE CAN HELP ME??? THANK YOU IN ADVANCE!!!

Software Development visual-basic
Member Avatar for jhai_salvador
0
206
Member Avatar for Hpsvtw

I have an application that is running on the inernet, done in asp.net(webforms). I want a group of users to be able to work offline so I have designed a desktop c# application (winforms) that will do the offline work. I want the desktop application to update a database server …

Software Development c#
Member Avatar for Hpsvtw
0
218
Member Avatar for rabadiyaronak

i have two different programs that compare float and double variales and gives output , i shown that below : 1. #include<stdio.h> main() { int r; float f=22.5; double d=22.5; r=(f==d); printf("r=%d",r); } **Output:- r=1** 2. #include<stdio.h> main() { int r; float f=22.7; double d=22.7; r=(f==d); printf("r=%d",r); } **Output:- r=0** …

Software Development c
Member Avatar for jwenting
0
298
Member Avatar for Yogesh_5
Member Avatar for IconKana
0
161
Member Avatar for Madhukumars

Can anyone pls refer any link to learn VB6 , bcoz im a beginners for vb6

Software Development visual-basic
Member Avatar for IconKana
0
203
Member Avatar for ashley.vanhoesen.7

Write the definition of a function named copy that reads all the strings remaining to be read in standard input and displays them, one on a line with no other spacing, onto standard output . void copy() { string x; if(cin >> x) { if(cin != '\n') { copy() } …

Software Development c++
Member Avatar for NathanOliver
0
1K
Member Avatar for SkyCross

Hello... I just wanna ask why is that my edit is not working? I have 2 tables in my database, Personal data and Spouse. And I have each datagrids for both tables. My problem was that, when I inserted this in my code ***string queryString = "SELECT BlockNo, LotNo, Numberofoccupants, …

Software Development open-source
Member Avatar for kvprajapati
0
297
Member Avatar for Zahra_1

![0930ac8855b75aa7c11605d2c389c3a5](/attachments/small/4/0930ac8855b75aa7c11605d2c389c3a5.PNG "align-left") here is the task, I don't want anyone to do the coding for me. I just would really love if I got a starting point on how to begin this code. thank you. oh and this is in python program.

Software Development python
Member Avatar for Zahra_1
0
224
Member Avatar for mavtcr

Friends please help me... I have Three text boxes 1.Bank 2.Acno 3.Name I am selecting record from database where Bank and Acno are =(txtbank.text and txtacno.text) If any record found, the focus should go to the third textbox-'Name' else message "Record not found" should be displayed.I tried the following code …

Software Development vb.net
Member Avatar for mavtcr
0
461
Member Avatar for amitesh11

I got error like syntaxt error in update statment strcmd="update emp set Name='"+txtname.Text+"',where id="+tsxid.Text cmd=new OledbCommand(strcmd,con); cmd.ExecuteNonquery();

Software Development c c# c++
Member Avatar for Jan-Willem
0
79
Member Avatar for kal_crazy

Is it possible to change the value of a const variable? My aim is to change the directory of the Shell. I have set `const char* path = "C:\\"` as current directory. So if the user inputs "gd" then it will ask a directory to be set as the new …

Software Development c++ visual-studio
Member Avatar for mike_2000_17
0
325
Member Avatar for Elharts

Hello, I'm currently writing a program that is supposed to add, subtract, divide, and multiply fractions. I've been tinkering with it all day and I just can't seem to get it to work correctly. Right now I'm getting a floating point exception and I have no idea where to begin …

Software Development c++
Member Avatar for vmanes
0
497
Member Avatar for Xabush

I a software engineering student who took a Java course last semseter.But currenlty I'm self-studying Java for expanding my Java knowledge.The problem is that Java is a very vast programming language and I'm confused where to head next. I would say I'm on the intermediate level with regards to Java; …

Software Development engineering gui java web-design
Member Avatar for C-Money
0
234
Member Avatar for garyndeborah.kuhre

Trtying to figure out how to add 5 different methods into this class when the program already does all that is required but my prof will knock me if I dont put them in here, do thet need to be put in as private?

Software Development java oop
Member Avatar for C-Money
0
286
Member Avatar for Ancient Dragon

Anyone know where to BUY (not steal) this eBook? I don't want paperback because they are too difficult for me to read. I'd rather have eBook or PDF version so that I can change the font size to whatever I want. I've looked at Addison-Wesley web site but don't see …

Software Development c++ pdf
Member Avatar for mike_2000_17
0
172
Member Avatar for firepower

i need good java eclipse tutorial iv'e watched theCherno,Thenewboston etc.i learned GUI,anonymousclass etc.i just need a good beginner tutorial on java eclipse.

Software Development gui ide java
Member Avatar for C-Money
0
218
Member Avatar for ZaneDarklace

Hello. I am working on this project and it asks me to make two columns of words that are ascending in one column and descending in the other. This is the Project: Call both your project and class AscendDescend. The first column should be in ascending order and the second …

Software Development java
Member Avatar for C-Money
0
238
Member Avatar for polpulpol

pls help me to build an applet form merge sort for our project

Software Development java
Member Avatar for C-Money
0
91
Member Avatar for frontier6444

I am trying to figure out how when a name typed in textbox1 on Form2 and a date is selected in the DateTimePicker box on Form2 that the name will show in textbox3 on Form1 when the date in MonthCalendar is pressed. I.E. Form2 opens and I enter the name …

Software Development vb.net visual-studio
Member Avatar for cgeier
0
341
Member Avatar for TheFearful

I was given a project to do, but I don't understand this notation and am rather confused, so I don't even know where to get started. I am supposed to be using the clock function to see how long it takes for the code below to finish running. Prefix Averages …

Software Development algorithm c++
Member Avatar for Schol-R-LEA
0
321
Member Avatar for mr.sweetchuck

Hi, I'm trying to use the replace() method to take out all instances of " " , (space) with an underscore, ("_"). I'm doing this because I'm using URLs to connect to a servlet. I keep getting this error: [code] replace(char,char) in java.lang.String cannot be applied to (java.lang.String,java.lang.String) url.replace(" ", …

Software Development java
Member Avatar for stultuske
0
6K
Member Avatar for rasheedraj

Function Cant() Dim cnview As New ADODB.connection Dim rsview As New ADODB.Recordset Call connection(cnview, App.Path & "\Commissions.mdb", "endromida") Call Recordset(rsview, cnview, "SELECT * FROM Commi_Cus") 'If txtShaha = ("Commi_Cus" ,"Sha_no") Then 'txtCou = Sha_no + 1 ' End If End Function

Software Development visual-basic
Member Avatar for rasheedraj
0
252
Member Avatar for butterfingerss

Hello People! I am quite new to Qt (and programming in general). And I am making a program that requires me to encrypt a file and decrypt it after asking for a password through the program. But I have no Idea where to start. What I already have - A …

Software Development c++ encryption qt
Member Avatar for sarahwilliams25
0
1K
Member Avatar for mukulnimker7751

Hi All, i am here with a problem in file handling in java. i need to search all the files on system with extention *.fdr. which are not less den one day old. then i need to convert the selected file to csv which is perfomed by a command in …

Software Development file-system java
Member Avatar for JamesCherrill
0
369
Member Avatar for Michal_3

I have some code and i want to go back into a certain line however i am not sure how i can achive such things. #SnakeFactBook v.1 #Here is the begining of the book print("Hello.\nWelcome to the Bush Viper Fact Book.") #Ask for name name = input("What is your name?") …

Software Development python
Member Avatar for Schol-R-LEA
0
2K
Member Avatar for xpzy1912

![97b9ab32445018ea1f489e9dee2120fa](/attachments/large/4/97b9ab32445018ea1f489e9dee2120fa.png "97b9ab32445018ea1f489e9dee2120fa") The combobox should be able to display the distinct value from the access database but is able to show all the record on the listbox. I tried to select distinct value through wizard but it is not working. So i need some help

Software Development vb.net
Member Avatar for xpzy1912
0
204
Member Avatar for obscurecoder

I recently started coding in Java and have been trying to use the native methods to link code from other languages like C and C++. My code for the file is: [code=java] public class NativeDemo { int i; public static void main(String args[]) { NativeDemo ob = new NativeDemo(); ob.i …

Software Development java
Member Avatar for stultuske
0
192
Member Avatar for Varunkrishna

Hi everyone I need a suggestion on detecting the faults/bugs in a java program. To say I should check whether my program is faultless. Thanks, Varun Krishna. P

Software Development java
Member Avatar for stultuske
0
239
Member Avatar for Aya Safi

import java.util.Scanner; import java.lang.Math; public class Exercise1 { public static void main(String[] args){ double x,sum = 0.0 ; Scanner scan = new Scanner(System.in); System.out.print("Enter the number : "); x = scan.nextInt(); for(double i=0;i<=(x+1);i++){ Math.pow(x, i); fact(i); double y = (Math.pow(x, i)/fact(i)); sum += y; } System.out.println("The e^"+x+" for "+x+" is …

Software Development java
Member Avatar for jwenting
0
213
Member Avatar for glao

I am trying this: int test(int **a){ return **a; } int main(){ int p[2]={1,2}; int *a=&p[0]; int **d=&a[0]; //for (int i=0;i<2;i++) // printf("\na=%d\n",a[i]); //ok this works for (int i=0;i<2;i++) printf("\n%d \n",test(&a[i])); return 0; } I want this ` printf("\n%d \n",test(&a[i]));` to work. I want to use a pointer. Thanks

Software Development c c# c++
Member Avatar for Banfa
0
211
Member Avatar for DeepKiran

HOW COULD I UPDATE DATASET WITHOUT USING FOR LOOP IN ONE COMMAND............/////////////////

Software Development dataset vb.net
Member Avatar for ryanjayson
0
202

The End.