132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for fatalaccidents

Hello all, I was writing code that was supposed to spawn multiple jobs from a sqlite DB and my first idea was to implement the multiprocessing Pool function. I'm not sure if this question would be better suited somewhere related to shell scripting, but I'm not sure how to call …

Software Development python shell-scripting sqlite
Member Avatar for vegaseat
0
493
Member Avatar for Freddy Kreuger

So I have a couple of problems with this assignment and I need a bit of help. The first is Went ever I input the name of a college or university that I know is on the list, it causes an infinite loop and repeats the menu forever. This will …

Software Development c++
Member Avatar for NathanOliver
0
269
Member Avatar for kidkardel

OK, hi again and thank you for your continous answering, I cant repay you but I am truly grateful... anyway, I have a datagridview where i manually add 4 columns (A,B,C,D) respectively and has 4 textbox outside (ta,tb,tc,td) respectively. now i have a button where when i push it strings …

Software Development
Member Avatar for kidkardel
0
123
Member Avatar for yingfo

Hi I am having trouble trying to get my add and remove function to work. We had to create an ADT List using array's. It keeps giving my program errors any help would be great, I think my problem might be my second part of the add function where it …

Software Development java linked-list
Member Avatar for stultuske
0
922
Member Avatar for chubbyy.putto

I know how made an arraylist but i dont know how make an arraylist inside an arraylist? let says: Alex age is 31 alex and age is gonna be in one arraylist alex 31 burren java burren and java is alex dogs; how can i store burren and java under …

Software Development java
Member Avatar for Schol-R-LEA
0
354
Member Avatar for Daniel_30

I am a student in Computer Science, and am writing a small guide for my fellow students. It will contain a large list of the most commonly used and studied functions in C++ (e.g. Bubble Sort, linear search, file writing, etc.) and the code used to perform each function. I …

Software Development c++
Member Avatar for oboumat
0
131
Member Avatar for Glaven

I need to find the smallest number in my 10x8 array grid fileld with random numbers I know im doing it wrong but I do not know what to do. Please Help! Heres my Code: //ArrayGrid #include <iostream> using namespace std; int main() { int total,average,smallest; int row=0; int col=0; …

Software Development c++
Member Avatar for Glaven
0
622
Member Avatar for Zyxl

I'm about to begin developing an application that requires some basic 3D rendering, so I'm looking into C++, as this seems to be the usual language for this type of thing and I have a book to help me with this project that includes some snippets of C++ code (not …

Software Development c++ opengl
Member Avatar for Zyxl
0
748
Member Avatar for lithium112

Hi, I was just playing around with using a linq query on a dataTable that has information from sql. I was using var q = from Email in dtEmail.AsEnumerable() where Email.Field<string>("Email") == "yay" select Email; But for some reason it will not query the email datatable. And yes, I actually …

Software Development sql
Member Avatar for lithium112
0
140
Member Avatar for batoolhussain

hi everyone .I have this code to convert color image to grayscale image but the problem is that the image after converting does not display on the picturebox2 . I am using visualbasic.net 2010 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim pic As Bitmap …

Software Development image vb.net
Member Avatar for batoolhussain
0
4K
Member Avatar for filipgothic

Hello, I need help real fast for my exam matric 3x5 which will multiply with Pi Thanks in advance

Software Development vb.net
Member Avatar for filipgothic
0
113
Member Avatar for Mya:)

I have a huge project to do for my Gr11 PAT(Practical Assessment task) We have to create a project based on Geocaching [Click Here](http://www.geocaching.com) and I need ideas to start planning my Fase 1 - wich constructs of a basic descrption of at my program wil do. I need at …

Software Development delphi pascal
Member Avatar for Deonas666
0
747
Member Avatar for mxwarning

Hello, I am having trouble with how my program displays the items with a $ sign. I do not want a dollar sign and I ma not sure how it got there as I did not put one in. Is there a way to get rid of the $ sign …

Software Development java
Member Avatar for mxwarning
0
123
Member Avatar for edrewc

Hello java friends, I'm new to the concept of ArrayList and I want to solve this problem in my code. my main problem: I don't know how to sort itemA and itemB to appear only once then It will just add the total prices together. this is the behavior of …

Software Development java
Member Avatar for zolymo
0
1K
Member Avatar for cd88

Hi, I am trying to use an exception catch properly but I am getting lost and frustrated. I've changed my code so many times and cannot figure out why when it catches the exception it will not let me continue to enter data into the array. It just displays it …

Software Development java
Member Avatar for JamesCherrill
0
236
Member Avatar for rayhaneh

this is my program and every time shows me this error:18 26 :: [Error] statement cannot resolve address of overloaded function:: #include <iostream> using namespace std; int pow(int a,int b); int mabna(int n, int k){ int a,b,s=0 ; for(int i=0;i!=0;i++){ s=(a%b)*pow(10,b); s+=(a/b)*b; return s;} } int main (){ int a1,a2, …

Software Development c++
Member Avatar for Moschops
0
129
Member Avatar for Victoria_1

For a homework assignment in my intro to java class I was given the following problem: Write for, do-while, and while statements to compute the following sum and product 1. 1 + 7 + 25 + 79 + .... + (3^20 - 2) 2. 1 x 3 x 9 x …

Software Development java
Member Avatar for stultuske
0
256
Member Avatar for fugio

How can I filter records from the clock set at right angles In data if I add a column is minute Time from start plus column-minute any help? thanks a lot Imports System.Data.OleDb Public Class Form1 Dim con As OleDbConnection Dim dt As DataTable Dim da As OleDbDataAdapter Dim str …

Software Development open-source vb.net
Member Avatar for Santanu.Das
0
179
Member Avatar for Jack_9

Hello. I'm running injection tests on an SQL database and I found a good script to do so....But it takes command line parameters which I can't execute properly because the command would normally look somthing like this...... python sqlmap.py -u "url.com" --batch. But I can't seem to do that because …

Software Development python
Member Avatar for HiHe
0
3K
Member Avatar for KetraCoder

Hi, I've recently just discovered that there is something called ByteCode in Java, and I was wondering what it is used for. I am trying to make a simple Typing Test Word Typer Bot, basically it reads the words on the browser for a typing test called 10FastFingers, then it …

Software Development java oracle
Member Avatar for JamesCherrill
0
254
Member Avatar for Pyler

Suppose I have the following class in a header file //tray.h #include <vector> #include "Eggs.h" #ifndef TRAY_H #define TRAY_H class Tray{ std::vector<Eggs> dozen; public: Tray(); ~Tray(); std::vector<Eggs> getTray() const; }; #endif And the following class file //tray.cpp #include "Tray.h" #include <string> Tray::Tray(){ } Tray::~Tray(){ } How do I initialize the …

Software Development c++
Member Avatar for rubberman
0
259
Member Avatar for jeffersonalomia

Please Help me with my problems as follows below : 1 What is the connection string to connect database to vb.net 2 How do i INSERT UPDATE DELETE AND SEARCH records using sql.. 3 How do i start creating a database application using vb.net and sql Thats all... hope you …

Software Development sql vb.net
Member Avatar for Santanu.Das
0
303
Member Avatar for shahera.arafat

#include<cstdio> #include<string> #include "inventory.h" #include "node.h" #include<iostream> using namespace std ; int main (){ inventory*obj1=new inventory(); int size; int id,i; char A[100]; char S_string; cout<<"plz enter the size of the list "<<endl; cin>>size; for(i=0;i<100;i++){ cin>>S_string; A[i]=S_string; } int a=strcmp(A[i],"new"); if(a==0){ for(int j=0;j<size;j++){ cout<<"enter the id"<<endl; cin>>id; obj1->new_id(id); } } getchar(); …

Software Development c++
Member Avatar for sepp2k
0
119
Member Avatar for Mr.UNOwen

Hello, So I'm having trouble figuring out what the correct syntax is for a function with a return type that is a template type and is within a namespace. Anyone see anything wrong with the code below? -------.HPP file: #pragma once #ifndef EC_UTIL_H #define EC_UTIL_H #include "../CommonHeaders.hpp" #include "../core/common/APVertex.hpp" #include …

Software Development c++ qt
Member Avatar for sepp2k
0
347
Member Avatar for somyms

while mining medical data set privacy is a major concern.i want to mine medical data and preserve privacy.so i need to mine medical data and group them according to diseases so that it can be used for research and publishing without revealing patients information .i planned to use lkc privacy …

Software Development algorithm cybersecurity publishing
0
297
Member Avatar for J.C. SolvoTerra

Did you know that you can data bind a bitmap to a PictureBox's image property, and the source image doesn't have to be in a binary format stored in a data table? Using a standard object setup for data binding (iNotify etc.) you can easily update your program's image propertie's …

Software Development image vb.net
0
1K
Member Avatar for chubbyy.putto

I trying to understand the ArrayList let say the user input in 1st Person Name : Alex Sex : M Dog Name: Java 2 Person Name: Joe Sex: M Dog Name: Is 3 Person Name: Anna Sex : F Dog Name: Fun in Arraylist how can you separate out from …

Software Development java
Member Avatar for zolymo
0
211
Member Avatar for osama.11

c program to print table of a given number by user defined value

Software Development c c# c++
Member Avatar for osama.11
0
81
Member Avatar for Odyssey2001

Hello! I'm new to Python,so I'm sorry if it's a simple question. I have a text file where each line contains a path.Under some of the "final" subdirectories there are 1 or 2 lines that contain some values.The text file looks like this: folder1 folder1\folder2 folder1\folder2\folder3 'something1','something2' folder4 folder4\folder5 folder4\folder5\folder6 …

Software Development file-system python
Member Avatar for Odyssey2001
0
235
Member Avatar for zapman2003

Ok, so I have been trying to google the heck out of this thing to absolutely no avail and I'm really and truly stuck! The assignment, as posed to the class by my operating systems concepts teacher, was to start work on creating a file system. To begin with, he …

Software Development c file-system operating-system
Member Avatar for sharawy
0
916
Member Avatar for zolymo

Hello. Im making an webapp using Eclipse Keppler. REQUIREMENTS: - Eclipse for Java EE (or JBoss Developer Studio 7 o 8) - JBossTools installed on eclipse - JBoss Aplication Server 7.1.1 (not eap) - MySQL connector J 5.33 Structure of project: i use this package structure - persistence and ejbdao …

Software Development data-structure java session
0
89
Member Avatar for Tycellent

std::endl vs \n Are any particular one which should be used at specific times? I understand endl flushes the stream (although i'm not 100% what this means) while \n is simply a newline.

Software Development c++
Member Avatar for rubberman
0
407
Member Avatar for kidkardel

hi can u guys help me find what is my error in my line. cmd.CommandText = "SELECT * FROM TblLogin where Username='"+ usr_lgn.Text +"'and Password = '" + pswr_lgn.Text + "'where STAFFSTATUS="+"ACTIVE"+""; im having an error saying incorrect syntax near the word where. thank u

Software Development sql
Member Avatar for vijay.soni
0
124
Member Avatar for samuel1991

Hi all, actually I have a requirement to remove all non letter character. (Numbers, Punctuation, symbols, non printing characters etc.) string.punctuation does a good job, but it does NOT remove any non English punctuation (Like '。' which is a full stop in Chinese) So I come accross such code: import …

Software Development legal python
Member Avatar for Gribouillis
0
324
Member Avatar for BibhutiAlmighty

Hi, I want to make a simple application which adds textBoxes when a button is pressed. My friend suggested me to make a List of text Boxes and add a textBox each time the button is pressed but i didn't get it. please help. Thanks in advance.

Software Development
Member Avatar for Santanu.Das
0
96
Member Avatar for Chem_1

In real time applications where we use shell scripting and how it differ from other scripting languages?

Software Development shell-scripting
Member Avatar for danielpeterson
0
1K
Member Avatar for shahera.arafat

hii everyone :)) I want to write a prog. that the user can enter e.g (new 1112236) in the black screen ,, then the prog. should go to the (new)func. and create a new node with that ID ..soo how can I split the strings ?and how can I define …

Software Development c++
Member Avatar for tinstaafl
0
142
Member Avatar for Papa_Don

Group, I'm trying to write some code that will read the clocktime. When it hits a predetermined time, I want it to run a routine. I know how to do this in VB.net. It would be done like this: Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick If …

Software Development vbscript visual-basic
Member Avatar for Santanu.Das
0
3K
Member Avatar for Manisha_4

I have a query in sql which i wrote in C#.what the query do is, calculating something like if i have an input of two columns date and no. of balls as Date No. of balls 21/11/2013 2 22/11/2013 3 23/11/2013 4 24/11/2013 5 25/11/2013 2 26/11/2013 5 27/11/2013 4 …

Software Development sql
Member Avatar for Santanu.Das
0
165
Member Avatar for BibhutiAlmighty

Hello, I'm trying to make an application with multiple forms. When a button is pressed 1st form hides and 2nd form opens. I have a combo Box on the first form. I want to get the text of that combo Box and show it in 2nd form. I tried it …

Software Development
Member Avatar for Santanu.Das
0
234
Member Avatar for asarchit65
Member Avatar for Tcll
0
127
Member Avatar for Tcll

if this is in the wrong area, I'm sorry. :) I'm looking for a good alternative for python on linux/wine that's capable of this: http://lh3.ggpht.com/-cuRe_8IrRCw/VEYPPy8J-3I/AAAAAAAAH10/DnjCVyfCEEg/s1282/VS2010.png ^ the popup under my cursor I need that specific level of informative intellisense, which I can't seem to find in any other IDE. (most …

Software Development ide python visual-studio
Member Avatar for Tcll
0
631
Member Avatar for alina.nazchowdhury

Dear, All Viewers I am facing some issue during making keylogger I put all code here, please help me to solve out this problem... Here is Code: Public Declare Function IsNTAdmin Lib "advpack" (ByVal dwReserved As Long, ByRef lpdwReserved As Long) As Long Private Declare Function GetForegroundWindow Lib "user32" () …

Member Avatar for Santanu.Das
0
156
Member Avatar for bustamorg

I have been working on this program for a few days and have most of it working, the only issue that I am having is when a word has multiple iterations pf the same letter. I need the program to print out all the letters that are the same when …

Software Development apple python
Member Avatar for bustamorg
0
235
Member Avatar for batoolhussain

hey all .I have project retrieval image based content(color and shape) and i want to compute RGB color for the image. could you help me please.

Software Development image vb.net
Member Avatar for batoolhussain
0
135
Member Avatar for ar0n

i need to save an image to my project using Visual Basic as my Front End and MS Access as my Back End.... i am working on a Student Detail and i need to attach Student picture on each record.. my problem is saving the image.... i already have the …

Software Development image visual-basic
Member Avatar for Santanu.Das
0
1K
Member Avatar for Malkolm

I want to count how many times a quoted string appears in a string. `Today "is" a new day "because" it is "12" am.` A string like this should evaluate to 3. I don't know why my code prints 0. #include<iostream> #include<string> using namespace std; bool isQstr(string str); int main() …

Software Development c++
Member Avatar for L7Sqr
0
291
Member Avatar for yvrej17

Hi, I just need some help in aligning 2 barcodes in just 1 line in receipt using epson standard (ESC/POS). I manage to print barcodes in all kinds of symbology but I can't align 2 barcodes in just 1 line. Please check my codings below. Thank you in advance. Friend …

Software Development printer vb.net
0
222
Member Avatar for aluhnev

//Hi,i need to create programm,which takes the user input,determins how many digits in integer // and than raise this digit to power,what was entered by user too. //first function noraml,second one to rais to power recursive. So if user enter number //234,this is 3 digits,so now need recurcively 3 raise …

Software Development c++
Member Avatar for Banfa
0
272
Member Avatar for aluhnev

//Hi all,can you explain how to call this function in main. //i ask user to enter the number,like this is it correct in main,recursevely call function? bool isPrime(int n, int d); int main() { int number; cout <<"Enter number >= 1"; cin >> number; if(isPrime(number)) { return cout << "Yes"; …

Software Development c++
Member Avatar for aluhnev
0
5K

The End.