64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for stockton

My organisation is about to deploy 500+ Raspberry Pi's(running Debian) across the country. I have been given the task of configuring these devices. Configuration depends on specific installation, so cannot be configured before installation and the staff at the remote site seriously lack skills. BTW These remote sites are all …

0
205
Member Avatar for Mr.M

Hello Every one. I'm trying to create a VOIP SIP SDK or a VIOP application for black berry and you can call me damn becuase I have all the required Libraries files and all the related files which are writen in C# and C++ but the problem is that I …

Member Avatar for rcgoyal
0
164
Member Avatar for grafic.web

Hi everybody!! I'm starting with asp.net and i would like to try my code online.. can you advise me some free hosting for asp.net with the possibility to use sql server? Thanks

Member Avatar for smith.james.355744
0
636
Member Avatar for Emma_3

Line 49 is giving me a C2679 error and I'm not sure how to fix it. Help? #include <iostream> #include <fstream> using std::cout; using std::cin; using std::ifstream; using std::ofstream; const int MAX_SSN = 12; const int MAX_WAGE = 6; const int MAX_HOURS = 3; const char STATUS = 1; int …

Member Avatar for Ancient Dragon
0
397
Member Avatar for Covinus

greetings just started with C/C++. Im not quite comfortable porting from java to c/c++. Pointers are quite hard at start. So pls help me with this problem I want to copy the exact data of a certain pointer to an array of struct. Not just point a pointer from another. …

Member Avatar for Tuyen
0
5K
Member Avatar for shurooqalhodar

hello there i have a homework in c++ and a i dont know how to do can you help me please...

Member Avatar for Kristian_2
0
106
Member Avatar for new_2_java

Hi all, I have a J2EE web application that I am integrating with LDAP to implment Password Reset functionality to allow AD users to change their own password. My code works at times, and sometimes it stops working throwing [code]LDAP error code 52, initializing SSL/TLS error.[/code] I don't know why …

Member Avatar for new_2_java
0
2K
Member Avatar for pbarks1

I'm using a timer which counts up on a button click when i press it, and when it reaches the time i desire, usually around the 45 minute mark i click my other button which stops the timer and the time remains static, so if i click my button to …

Member Avatar for oussama_1
0
252
Member Avatar for syasya

Hi guys , I would you to help me to solve this problem First , user need to input 10 numbers Ex : 85 11 36 174 112 24 73 52 183 149 Next , user need to input the initial number . This initial number will determine whether the …

Member Avatar for Kristian_2
0
14K
Member Avatar for sussy123

PHP, jQuery and definitely not my favourite. My query is this; I purchased a social network script and there are still modifications I need to do that I am stuck with. I would like the users to have the option to upload a photo if they want to, with any …

Member Avatar for sussy123
0
337
Member Avatar for sussy123

<div class="message-container" id="message-composer"> <div class="message-form-content"> <div class="message-form-header"> <div class="message-form-user"><img src="{$url}/thumb.php?src={$avatar}&t=a" /></div> {$lng->form_title} <div class="message-form-private"></div> <div class="message-loader" id="post-loader9999999999" style="visibility: hidden"><img src="{$url}/{$theme_url}/images/preloader.gif" /></div> </div> <div class="message-form-inner"> <form id="imageForm" name="form" action="{$url}/requests/post_message.php" method="POST" enctype="multipart/form-data" > <textarea id="post9999999999" class="message-form" placeholder="{$lng->message_form}" name="message"></textarea> </div> <input type="hidden" name="privacy" id="message-privacy" value="{$private_message}" /> <div class="selected-files"><span id="queued-files">0</span> {$lng->files_selected}</div> <div class="message-form-input"><input type="text" …

Member Avatar for sussy123
0
334
Member Avatar for centenond
Member Avatar for rody9

Hello,I am Vanen,from Mauritius Island,new to c# and vs. I am getting difficulties while saving values from my datagrid to database. If possible,option for selecting all the rows and option for selecting which rows to save to database from the datagrid. Can someone guide me?please! Thanks in advance.

Member Avatar for rody9
0
216
Member Avatar for M.Waqas Aslam

Dear All! I am facing a small issue in showing xml in a proper format. I am getting proper xml data from my webservice. but after receiving it browser is treating it as a text and showing all test in single line. I want to show my xml data same …

Member Avatar for minitauros
0
592
Member Avatar for sigitas.darguzas

Hi. all im new in php i need create postback file for siperrevards. what can help me. i use av arcade site :)

Member Avatar for diafol
0
167
Member Avatar for Raymond_3

this is my code, the problem the compiler is saying is i need an extra parentheses after 5 in get fahr, but i know that cant be it... help meeeeeee please :) public double getFahr() { if (tempUnit.equals('C')) { return (5(tempNum-32)/9); } else { return tempNum; } } public double …

Member Avatar for JamesCherrill
0
192
Member Avatar for ikel

I's like to simulate the behaviour of Dynamixel Pro's robot actuator, including the control table, please see [it here](http://support.robotis.com/en/product/dynamixel_pro/control_table.htm). I can simulate the robot actuator fine, but simulating the control table is a bit puzzling for me. The control table has address from 0 - 892. One way I can …

Member Avatar for JamesCherrill
0
303
Member Avatar for Labdabeta

Hello, I was recently looking through some of my code and found what I believe to be a memory leak. It is in a function that appends two strings and I am not sure how to resolve it. Here is the function: const char *strapp(const char *str,const char *s) { …

Member Avatar for mike_2000_17
0
551
Member Avatar for HacruLeian

i have a .csv file contain some name as below: William Shakespeare charlie chaplin david Copperfield and i'm supposed to write a java program that will turn the input above into the output below: WS cc dC but i still couldn't get the output that i want, i wanna ask …

Member Avatar for HacruLeian
0
1K
Member Avatar for pbarks1

I'm quite a newbie when it comes to coding, but i feel like i have done everything as it should be. I believe to get a transparent label i need to use the code - Label1.Parent = PictureBox1 Label1.BackColor = Color.Transparent I double clicked my picture box and inserted the …

Member Avatar for Reverend Jim
0
2K
Member Avatar for pbarks1

This is what i have so far. Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click Timer2.Start() Button7.Enabled = True Label8.Text = "Match Begins" End Sub Private Sub Timer2_Tick(sender As Object, e As EventArgs) Handles Timer2.Tick ProgressBar1.Increment(1) If ProgressBar1.Value = 3 Then Label8.Text = "1st Half" End If ProgressBar1.Increment(1) …

Member Avatar for oussama_1
0
1K
Member Avatar for rbyrd

I'm trying to write a program in which a message box is to appear on the application window when the application is launched. The code below produces the message box, but it appears as a separate window that is not over the application window. Is there a way to fix …

Member Avatar for woooee
0
317
Member Avatar for Satyam_1

I have table-accessonbook and second table as report register I want to fetch data from one table as name,age,sex with unique id from 2nd table i want fetch Hb with same id so that when i enter peticular id it should fetch data from both tables linked to that id. …

Member Avatar for oussama_1
0
471
Member Avatar for ziggystarman

Hi I've written this small program to demonstrate the Diffie–Hellman key exchange algorithm. The desired output from the program is for most runs correct. However occasionally there are some discrepancies in output of the shared secret keys values in that they don't match, when they should. I've found that certain …

Member Avatar for logicslab
0
993
Member Avatar for Tariq Amin

what is the usage of getch() function? how to creat recovery softwear?

Member Avatar for Ancient Dragon
0
167
Member Avatar for priyamtheone

How do I detect left mouse button down and up events on the 'Close' option of the system menu that appears when the mouse is clicked on the top left corner of a form?

Member Avatar for priyamtheone
0
399
Member Avatar for Richa_2

import java.util.Scanner; package p1; class Electricity { int cread=18634,fix_rate,due,ub_tax,curr_charge,bill,to_bill ; int pread,unit ; System.out.println("fix_rate="); Scanner sc=new Scanner(System.in); int fix_rate=sc.nextInt(); System.out.println("due="); int due= sc.nextInt(); System.out.println("ub_tax="); int ub_tax= sc.nextInt(); System.out.println("curr_charge="); int curr_charge= sc.nextInt(); System.out.println("unit="); int unit=sc.nextInt(); public void calc() { do { pread=cread-unit; System.out.println("fix_rate=" +pread); } while(unit<200) { int c1=2.75*unit; System.out.println(c1); } …

Member Avatar for Richa_2
0
297
Member Avatar for abhig

Write a program in Java to create an applet which take radius of a circle as input and find the area of a circle and draw the circle. Java Code: // Java Document import java.applet.Applet; import java.awt.Color; import java.awt.Event; import java.awt.TextField; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.geom.Ellipse2D; class Circle extends …

Member Avatar for JamesCherrill
0
453
Member Avatar for rubai

Hi All, I am making a website. I want to know how to implement loading animation in my website. user will see percentage of loading. Once 100% completed he/she will see my website. There are lot of css3 animation all around the internet but don't know how to apply it …

Member Avatar for rubai
0
325
Member Avatar for 111100/11000

/* Made in code::blocks 12.11 -randomly generated terrain mirrored to be equal for bought players - - */ #include <iostream> #include <windows.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <fstream> #include <cstring> #include <string> #include <cstdlib> #include <ctime> #include <sstream> #include <cctype> using namespace std; //Public functions char printMap(char terraniValue); …

Member Avatar for 111100/11000
0
1K
Member Avatar for tony75

Hi I got this error ImportError: No module named Crypto.Cipher Where can I find the module for windows and debian linux? How can I fix error both in windows and Linux? importerror no module named crypto.cipher windows Traceback (most recent call last): File "C:\Users\Win/\Desktop\client.py", line 2, in <module> from Crypto.Cipher …

Member Avatar for tony75
0
16K
Member Avatar for dinhunzvi

i have two classes Session and SupplierSession. SupplierSession is supposed to inherit from Session. how do i ensure that the session_start() in the __construct() method of Session does not get called in SupplierSession. here are the class definitions. session.php <?php class Session { private $loggedIn = false; public $userID; public …

Member Avatar for urtrivedi
0
143
Member Avatar for burt.munn

I need to write a script that allows a user to enter a numeric grade and then determine the letter grade. Use a PHP document and a HTML document containing a form with 5 text boxes to enter the numeric grades. Print a message to the user stating whether or …

Member Avatar for burt.munn
1
8K
Member Avatar for davy_yg

Hello, I've tried to set up moodle (php based) elearning, using Windows OS. Yet, I am receiving an error message. I already tried twice installing it in my windows system and receiving the same error message: -------------- The page isn't redirecting properly Firefox has detected that the server is redirecting …

Member Avatar for diafol
0
1K
Member Avatar for corby

Hey im trying to run background music when the user clicks the button. below is my coding. when i run the program, it says file cannot be found. any help would be appreciated [CODE]import javax.swing.*; import sun.audio.*; import java.awt.event.*; import java.io.*; public class Sound { public static void main(String[] args) …

Member Avatar for JamesCherrill
0
6K
Member Avatar for dennis.ritchie

This seemingly small code which swapps 2 numbers is giving me a headache..help!! C++ + am wondering why would one need to swapp the numbers in real life? trickery? magic

Member Avatar for Kristian_2
0
231
Member Avatar for Gl753

I'm working on a Database assigment but I'm kind of stuck. It seems to be the Double value that's causing the issue because when I use the Varchar data type I can create my table. Is there any way I can use Double without using Varchar. Any help is much …

Member Avatar for Dani
0
263
Member Avatar for knan

I have a dictionary [CODE]dict1={'18':['4000','1234'],'12':['7000','4821','187','1860','123','9000']}[/CODE] I want to sort the keys and values such that, the output is, [CODE]dict1={'12':['123','187','1860','4821','7000','9000'],'18':['1234','4000']}[/CODE] I tried something! but it didn work [CODE]>>> for values in dict1: ... dict1[values].sort() ... >>> dict1 {'18': ['1234', '4000'], '12': ['123', '1860', '187', '4821', '7000', '9000']}[/CODE] Full sorting happens for …

Member Avatar for grantjenks
0
815
Member Avatar for hussain_ahmed

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.Linq.Mapping; public partial class Default3 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } public void showgridview() { DataClassesDataContext dc = new DataClassesDataContext(); var q = from a in dc.GetTable<bio>() select a; GridView1.DataSource = q; …

Member Avatar for pritaeas
0
145
Member Avatar for ravi_14

i made a project using visual studio and opencv ,it worked fine. however later i thought of adding GUI. i googled and found abput QT.some how i managed to include libraries and build paths,when i use **C fucntions of opencv** the program works fine but when i use ***c++ features …

Member Avatar for Ancient Dragon
0
695
Member Avatar for alagez

Hi there, I am planning to create one robot choosing center. But I do not know how to use the idea to execute in python software. my idea is, let say a customer wants to choose a robot how to use the rule below to execute in python: IF the …

Member Avatar for alagez
0
278
Member Avatar for abaddon2031

I have a python code that reads several csv files and writes teh data to a single file but every time it loops back around to the next file it prints the headers again. Is there a way to stop this I can post my code if it is nessisary.

Member Avatar for abaddon2031
0
296
Member Avatar for dinhunzvi

i have the following php. the script gives me an error telling me that i have not selected a file to upload even when i have done so. if i try to access the $_FILES['minuteFile']['tmp_name'] i don't get anything but the $_FILES['minuteFile']['name'] would be having some. what could be the …

Member Avatar for dinhunzvi
0
348
Member Avatar for <HHH>

Hello every one, What i need to do is to make an array of my own class and then assign values to that array I made an array and when i try to assign value it gave me an exception Your support is highly appreciated. static void Main(string[] args) { …

Member Avatar for <HHH>
0
393
Member Avatar for ala_2

i am trying to vendor specifc attribute from this WMI class MSStorageDriver_FailurePredictData(HDD SMART information). Here is the used code : IEnumWbemClassObject* pEnumerator = NULL; hres = pSvc->ExecQuery( L"WQL", L"SELECT * FROM MSStorageDriver_FailurePredictData", WBEM_FLAG_FORWARD_ONLY | WBEM_FLAG_RETURN_IMMEDIATELY, NULL, &pEnumerator); IWbemClassObject *pclsObj = NULL; ULONG uReturn = 0; while (pEnumerator) { HRESULT hr …

Member Avatar for ala_2
0
806
Member Avatar for burt.munn

I need to write a script which can display an XHTML table with a numeric value displayed in each table cell. The script should use a nested loop construct and should be able, by changing the value of two variables (for example, $intWidth and $intHeight). to adjust the size of …

Member Avatar for burt.munn
0
564
Member Avatar for dukumanis

i have a problem to create a booking page. i currently develop a lend/borrow hardware system. my friend want me to include a list of items that still available and not been borrowed yet based on date chosen before user want to continue booking( ex: hotel reservation 'check availability'). i …

Member Avatar for dukumanis
0
157
Member Avatar for rainingblessing
Member Avatar for Mae_1

I'm doing a system in VB.net 2012 where a user inputs a data on a textbox and then if the user clicks on the button, the data in the textbox will show on the datagridview. The problem I'm having is when I input another data, the current data shown in …

Member Avatar for Mae_1
0
15K
Member Avatar for jeevan reddy

I want this structure variable as well as all the structure elements to be used in multiple source(.cpp) files. I did like this and getting did like this and getting following errors. I am using vs2010. Please help me i am a newbie. Error 2 error LNK2001: unresolved external symbol …

Member Avatar for jeevan reddy
0
1K

The End.