132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nitin1

I am curious to know how I can make my own library and use it for my C/C++ programs? I mean I want to make a library say "maths_example" which will have 2-3 files having some basic functions of maths. Then, I want to use that library for my programs …

Software Development c
Member Avatar for nitin1
0
163
Member Avatar for Sebastian_1

I have a app, that requires login with SQL server as backend. I have users who are on laptops and not always connected to the network. I want a way to check for the SQL server, and if it does not exist then roll over to local auth for local …

Software Development dataset open-source sql vb.net
Member Avatar for Sebastian_1
0
182
Member Avatar for codewar

Hello, Working on this program as to where I need to cultivate this Message to retrieve both the First and Last Name. Working with Cookies with ASP.NET. A simple log in form. Here is the code to just retrieving the First name that the user inputted; Yes, it does work …

Software Development asp.net session
Member Avatar for JorgeM
0
304
Member Avatar for Stuugie

Hi All, I'm working on a script which has a primary function to look for jpg files. I can get it to work if the folder path is just my desktop but if I try the start of the path to be C:\ it errors out. Right now the error …

Software Development shell-scripting vbscript
Member Avatar for cgeier
0
414
Member Avatar for evaldaskowka

Hello, i want to try to make a simple program that guesses the password of wifi for education purposes. And writing the guess program is the easy part but here comes the hard. this is the way you connect to wifi with cmd **C:\>netsh wlan connect name=wifiname ** But where …

Software Development shell-scripting
Member Avatar for cgeier
0
161
Member Avatar for Anitha14

I have a Windows Form application that has Web browser control. The page I access has input parameters in the Request Body. Request Body looks like below and I want to get values for Doc_Name, Area and SubArea. SearchOrder=2&Start=0&Count=-1&Query=(%5BDoc_Name%5D%3DABC+OR+%5BArea%5D%3DXYZ+OR+%5BSubArea%5D%3DQRS) How do I extract from this?

Software Development web-browser
Member Avatar for cgeier
0
309
Member Avatar for Suzie999

I am thinking about starting a new project which involes image manipulation. After a search around for some libraries ImageMagick's Magick++ kept popping up. Thing is, before I start looking into how to install it, I'd like to know if it will suit my purpose and hoping someone here has …

Software Development c++
Member Avatar for Suzie999
0
399
Member Avatar for Tycellent

Sup everyone, Does anyone have any recommended tutorials/sites for Hash maps? I'm planning to use it to create and link "locations" in a basic text-based game but i've looked around and there seems to be a lot of description on hashmaps but not much tutorial/examples for them. Any sort of …

Software Development c++
Member Avatar for Tycellent
0
288
Member Avatar for Kim_3

Description: You are to develop a program that prints out the multiplication or addition table given the users start and end range and type of table. The program will make use of 2D arrays to calculate the table. The program will make use of the System.out.printf() method to allow formatted …

Software Development java
Member Avatar for rubberman
0
222
Member Avatar for inthink

i dont understand with these codes below. nkata = Asc(Mid(skata, i, 1)) + 65 nkunci = Asc(Mid(skey, i, 1)) + 65 nenc = ((nkata - nkunci) Mod 26) splaint = splaint & Chr((nenc) + 65) please someone help me!!

Software Development vb.net
Member Avatar for inthink
0
91
Member Avatar for Benny_1

Hi. I am making a really simple program to refresh my knowledge in java (which is obviously needed). When I click the screen, I want a bullet to appear in the center and move towards the point I clicked. Right now, when I click on the left half the bullet …

Software Development java java-swing
Member Avatar for JamesCherrill
0
200
Member Avatar for James_30

I would like to import a netbeans project with dependencies into eclipse. Is there a standard procedure to do this?

Software Development
Member Avatar for James_30
0
4K
Member Avatar for AliGulSoomro1

I am desiging a Form in which I am asking user to enter: Name in Textbox1 ID Card Number in Text2 here i want to code for textbox1 that it accepts only alphabates but don't know how to control. Can anyone help me?

Software Development vb.net
Member Avatar for Deep Modi
0
179
Member Avatar for lewashby

I'm reading 'C++ Programming in easy steps' and the program the book has given me will not compile. Compile line -> `g++ -g -Wall "${ARG}" -o "${ARG:: -4}" &&` ARG is command line argument 1. object.cpp:7:5: error: ‘string’ does not name a type string color; ^ object.cpp:14:19: error: ‘string’ has …

Software Development c++
Member Avatar for lewashby
0
231
Member Avatar for m.a.u.

Greetings everybody, I have been trying to convert UTC time into local time. Using ctime library, time_t, gmtime etc. But I am having nothing. When I searched the web, I saw nothing but examples with this library... I would like to ask you how could I convert UTC, a double …

Software Development c++
Member Avatar for m.a.u.
0
417
Member Avatar for kiddo39

I'm trying to use this code for a fibonocci sequence where I'm setting the starting numbers as b= and c=. What I'd like to do though is have it stop after so many numbers are added together, in this case it would be 53rd (a=53). I've tried a 'for i …

Software Development python
Member Avatar for HiHe
0
243
Member Avatar for ibrahim.sawaneh.16

Hi, I am really stuck on this problem. I am supposed to write a function that takes in the number of rows of the mountain range as a parameter. The function will then draw a number mountain range on screen using the print function. There are X number of rows, …

Software Development python
Member Avatar for woooee
0
107
Member Avatar for Afnan Mohammad
Member Avatar for BibhutiAlmighty
0
245
Member Avatar for razamughal67

I am trying to send Email using email sending software through smtp server But I am getting this Error. The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available we use 2 other email accounts but the same …

Software Development email visual-basic
Member Avatar for razamughal67
0
470
Member Avatar for pito_donje

how do I create an email with VB? when we click the button, type in all the data we sent to the email address we are headed

Software Development email visual-basic
Member Avatar for razamughal67
0
229
Member Avatar for sujith1038

#include<stdio.h> #include<stdio.h> #include<conio.h> #include<math.h> void mergeSort(int arr[],int low,int mid,int high); void partition(int arr[],int low,int high); int decimal_binary(int); int main() { int count=0,k,d[10],c[10],b[10][10],a[10],i,sum=0,n,no,j; printf("Enter the number of binary numbers"); scanf("%d",&no); printf("Enter the binary number"); for(i=0;i<no;i++) scanf("%d",&a[i]); for(i=0;i<no;i++) { n=a[i]; for(j=0;j<4;j++) { b[i][j]=n%10; n=n/10; } } for(i=0;i<no;i++) { for(j=0;j<4;j++) { if(b[i][j]==1) sum=sum+pow(2,j); …

Software Development c
Member Avatar for dinad578
0
156
Member Avatar for Sammiboy

Heyy i'm new to this language & i'm luving it. I need some help here guys. I was given this question by my lecturer and i'm not sure what the question wants The array below contains the maximum speed per day attained by mr Speedo on his daily travels to …

Software Development c++
Member Avatar for dinad578
0
346
Member Avatar for anumash

This question refers to the automatic storage class and its scope is defined as local to the block in which the variable is defined and is alive until the control is present in that block where it is defined. Consider these two snippets ... main( ) { auto int i …

Software Development c storage
Member Avatar for rubberman
0
251
Member Avatar for Transcendent
Member Avatar for Transcendent
0
165
Member Avatar for mataiasi.yabakivou

# I REALLY NEED HELP WITH THIS # The purpose of this assignment is to write a program that requests the user to enter the data per year, and that computes the EWMA of the growth rates. It then should use the EWMA to predict the GNI for the next …

Software Development c++
Member Avatar for swimincodes
0
142
Member Avatar for Mark Anthony_2

"Visual Basic 2010" I do have a similar problem, I want to display on a listview a "top 10" highest to lowest data using MySQL as database, my problem is, I dont know the codes for displaying data sorted from highest to lowest. Anyone? Please help me. I am not …

Software Development listview vb.net visual-basic
Member Avatar for Reverend Jim
0
174
Member Avatar for OFCLMAINrogieacuna

Hello! Badly need help. I need to do a program that will produce odd & even numbers using loop structure Sample output: Enter a number: 5 This number is an odd number! Input 1 to run the program again Input 2 to stop Enter your Choice: 1 Enter a number: …

Software Development java
Member Avatar for Varunkrishna
0
356
Member Avatar for Muhammad_65

i want to download JDK but i don't know jdk for windows xp 32 bit.. [Click Here](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) windows x86 or windows x64 where is it can i download for windows xp 32 bit?? i have try, but i can't download.. maybe their server down.. or something happen.. please.. give me …

Software Development java oracle
Member Avatar for JamesCherrill
0
387
Member Avatar for m.a.u.

Greetings everybody, I have been developing a C++ Win. Forms application in VS2010 to acquire data from an external device continuously. In the tutorial of the device the followings are given about commucating with device through RS-232. The external device has a communication format of 38400 baud, 8 data bits, …

Software Development asp.net c++
Member Avatar for m.a.u.
0
2K
Member Avatar for moaz.amin.37

hello i am doing my assignment on simple calculator in java.Now I want to handle exceptions in it. so i need some information about exception for exemple a user enter any expression like `(10+23+56-55)` it is corrent formate but when the user enter wrong formate like `(20++56//5)` i mean operator …

Software Development java
Member Avatar for BenWard
0
418
Member Avatar for myiwlu10

import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Scanner; public class lotto { public static void main(String[] args) { String fileName = "lotto.txt"; final int arraySize = 45; int[] count = new int[arraySize]; File inputFile = new File(fileName); // Initialize the count array; for (int i = 0; i < arraySize; …

Software Development java
Member Avatar for stultuske
0
134
Member Avatar for christinetom

Hi everyone.. Me again. I am confused about something so please correct me if I am not making sense. I have a program which outputs binary output which has been read from a file of encrypted data. When de-encrypted the output is supposed to represent numbers. Because it comes out …

Software Development c++
Member Avatar for christinetom
0
276
Member Avatar for Santanu Das

My client wants to send a SMS to his customers from his computerised billing system. But, I do not know anythig about this subject, How it can do. I want to know, how can I do that? And Which services I have to need. How do I correspond with these …

Software Development vb.net
Member Avatar for Mr.M
0
211
Member Avatar for kiddo39

Hi, If I have a sentence like this: "I now have a total of % yellow bananas!" but I need it to change the number 2 to a 3, print, then a 4, print, etc until it reaches a set number like 10, how can I go about that? sentence …

Software Development python
Member Avatar for kiddo39
0
274
Member Avatar for senaddor

Hello: I am practicing with some existing code from the book, but when I go to compile this code I get an error on line 4: .....cpp(4) : fatal error C1083: Cannot open include file: 'mystack.h': No such file or directory [CODE]#include <iostream> #include <iomanip> #include <fstream> #include "mystack.h"[/CODE] Any …

Software Development c++
Member Avatar for yonela.yonce
0
2K
Member Avatar for Varunkrishna

Hello all I am using Generics in Java to perform some arithmetic operations, but I am getting some error **The operator + is undefined for the argument type(s) T, T** here is my code package com.genericsexample; public class GenericsArithmetic<T> { private T number1, number2,sum,product,difference; public void AddNumbers(T number1, T number2){ …

Software Development java
Member Avatar for ~s.o.s~
0
10K
Member Avatar for ddanbe

How can I remove the selection triangle in the rowheader of a DataGridView? I looked here, I googled, MSDN etc. Perhaps I overlooked it on how to do it because it is such a huge class. The only thing I have right now is the [B]ShowEditingIcon [/B]property. When set to …

Software Development
Member Avatar for ddanbe
0
1K
Member Avatar for harley.roberts.56

Hi there, i have developed this code (with a bit of help) that will generate a grid of pictureboxes (function as buttons) which reserve individual seats. This is my code: Public Class Form1 Dim i As Integer Dim j As Integer Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As …

Software Development vb.net
Member Avatar for Reverend Jim
0
156
Member Avatar for silverdust

On line 21 of this code where I have self.greetWelcome() . I'll love for that function to be called after the GUI is loaded. What event do I have to listen for and on what object to call it after the GUI is loaded. As of now, it works before …

Software Development github gui python
Member Avatar for silverdust
0
3K
Member Avatar for aabbccbryanmark_1

Try DoInsertQuery("If Not Exists(" & _ "SELECT * FROM tblSchoolYear " & _ "WHERE schoolYear = 'SY " & Trim(txtAddSchoolFrom.Text) & "-" & Trim(txtAddSchoolTo.Text) & "')" & _ "INSERT into [tblSchoolYear] ([schoolYear]) VALUES ('SY " & Trim(txtAddSchoolFrom.Text) & "-" & Trim(txtAddSchoolTo.Text) & "')") Catch ex As Exception MsgBox(ex.Message) End Try …

Software Development sql vb.net
Member Avatar for aabbccbryanmark_1
0
353
Member Avatar for Tycellent

Hey guys, I'm interested in learning about simple multithreading in C++ for Windows. Does anyone have any reccommended tutorials/links thats quite good?

Software Development c++ multithreading seo
Member Avatar for dinad578
0
416
Member Avatar for borchu

Hi, I am trying to find 2nd largest number that given input of numbers. The question is actually consider that you enter 5 number : 60, 70, 30, 40, 55 randomly -the order does not matter- my function should find 2nd largest number and return it. I am trying but …

Software Development algorithm c++
Member Avatar for Magnificant
0
3K
Member Avatar for GingerDontCare

Just need some help with java Math.max and Math.min when user inputs random numbers.

Software Development java
Member Avatar for Slavi
0
983
Member Avatar for soudruhcz

Hi All, I'm using Tomcat 7 with APR. I have HttpServletRequest from which I get client certificate. X509Certificate[] clientCertificates = (X509Certificate[]) req.getAttribute("javax.servlet.request.X509Certificate"); * when I do full SSL handshake, clientCertificates are returned correctly, * when I do Session identificator handshake, clientCertificates are returned correctly too, * but when is TLS …

Software Development java session
Member Avatar for soudruhcz
0
241
Member Avatar for Agus_1

Hello, i try to develop some application for inventory and transaction using VB.Net with database access i have a problem with query result, it looks like not using newest database when application already run. for example : i have MS access table like this ID CustomerName 1 John 2 Doe …

Software Development dataset vb.net
Member Avatar for Agus_1
0
229
Member Avatar for rayan22

public static void main(String[] args) { //Enter savings amount String savingsAmountString = JOptionPane.showInputDialog( " Enter savings amount"); //Convert string to double double savingsAmount = Double.parseDouble(savingsAmountString); //enter interest String interestRateString = JOptionPane.showInputDialog( "Enter annual interest rate "); //Convert String to double double annualInterestRate = Double.parseDouble(interestRateString); //Enter number of months String numberOfMonthsString …

Software Development java
Member Avatar for stultuske
0
99
Member Avatar for prahesh

text_data = {apple \n grapes \n straberry}; FILE *fp; int i; char ch; std::string DataVal; std::ifstream in("D:\\test\\file.txt", std::ios::in | std::ios::binary); if(NULL != in) { cout<<"File Open Success"<<endl; in.seekg(0, std::ios::end); DataVal.resize(in.tellg()); in.seekg(0, std::ios::beg); in.read(&DataVal[0], DataVal.size()); in.close(); } else { cout<<"File Open Failure"<<endl; return 0; } * Here I am able to …

Software Development apple c++ file-system ios
Member Avatar for prahesh
0
461
Member Avatar for AliGulSoomro1

How to code for text box if length of textbox1 is 5 then textbox2 focus()??

Software Development vb.net
Member Avatar for Reverend Jim
0
151
Member Avatar for DawnofanewEra

Hey guys, can anyone help me to run my client program. I'm working on a simple Java RMI but I'm stuck running the client with the error. **java.security.AccessControlException: access denied ("java.net.SocketPermission" "144.120.114.32:1099" "connect,resolve")**. I have done a lot of search online but no one helps. I have tried **-Djava.security.debug=access,failure** and …

Software Development java
Member Avatar for ~s.o.s~
0
2K
Member Avatar for COKEDUDE

I know this works as expected if your command line arguments are strings. #include <stdio.h> int main( int argc, char *argv[] ) { printf("Program name %sn", argv[0]); if( argc == 2 ) { printf("The argument supplied is %sn", argv[1]); } else if( argc > 2 ) { printf("Too many arguments …

Software Development c
Member Avatar for deceptikon
0
269

The End.