132,726 Archived Topics
Remove Filter ![]() | |
I am using Code::Blocks and mingcc to produce an executable from some heritage c code circa 1998. Compiles OK. Linking problems. Even though I can use the Code::Blocks IDE to see where the parameters are declared in header.h files and implemented in main code c files, I get "undefined reference" … | |
I need to merge these 3 properties in just a general one. How can I do it?? public class BonusImageHandler { private static IStorageProvider _BAstorageProvider; // 1 private static IStorageProvider _BAWP8storageProvider; // 2 private static IStorageProvider _M4MstorageProvider; // 3 private static IStorageProvider BAStorageProvider // for 1 { get { var … Software Development | |
http://www.daniweb.com/software-development/csharp/threads/202843/take-backup-of-sql-server-database-using-c Error : Back failed for Server I am using smo code from this thread , but it cant backup... Software Development | |
I am having problems accessing the Data Set, when i would type DataSet ds = new DataSet(); i will always get the red arrow line underneith, I then right clicked on the data > choose items in the toolbox and it is already checked yet i cant create it in … Software Development dataset | |
Greetings, i am doing a school project which basically deals with forms and an access database.I have various textboxes in a form.I want some textboxes to be filled automatically with a value when another textbox has been filled. For e.g , if the user fills in the 'Cost' textbox , … | |
Hi Buddy, I have a requirement to convert the below shown input.xml into result.xml and the XSLT which I am trying with is shown at the end. input.xml: <match> <FieldMatcherResult> <FieldPair> <Context>A</Context> <Field1>A1</Field1> <Field2>A2</Field2> </FieldPair> <FieldPair> <Context>B</Context> <Field1>B1</Field1> <Field2>B2</Field2> </FieldPair> </FieldMatcherResult> </match> result.xml: <result> <FieldMatcherResult> <FieldPair> <Context>A</Context> <Field1>A1</Field1> <Field2>A2</Field2> </FieldPair> … Software Development xml | |
how i can convert an integer value to percentage value (%) , using vb.net Software Development vb.net | |
hi, does textchange control for the textbox executes for every change in every character or for the full text? Software Development vb.net | |
Hey guys, I was wondering if anybody knew of a method to check if an element in a object array was empty. for example, lets say I have the class "XYZ" class XYZ { int x; string y; }; then in main if i declared the object array: int main() … Software Development c++ | |
i want to read each line of my file in seprated string what i have achieved till now is i can read the whole lines in one string and now i want to read each line in a sprated string any help; #include <cstdlib> #include <iostream> #include <fstream> using namespace … | |
Hi, I am working on Protein and DNA sequences. When you have a protein sequence it can be translated in to DNA sequence in many ways. A nice way to express this is using regular expression. I would like to create this long regular expression for a protein sequence, and … | |
How to set image of my own choice say baby.jpg as an icon on the title bar of the jFrame.. Please also help with codes if required ,, i am newbie in java and NetBeans.. Software Development image java java-netbeans | |
As i said earliar i am making HRMS , the last phase is logout button. when logout button is clicked , an option dialog should appear which ask for yes or no . PROBLEM is i dont know how to use JOptionPane.YES_NO_OPTION so that i can give user choice of … Software Development java | |
Well, here is my code: print "Welcome to the English to Pig Latin translator!" original = raw_input("Please enter a word: ") pyg = "ay" if len(original) >= 1 and original.isalpha() word = original.lower() first = word[0] if word == a or e or i or o or u print "Your … Software Development python | |
I have a question, been racking my brain trying to figure out why this is happening. Let me start off with a chunk of code. This takes values from a textbox and writes them to an Excel sheet: Public Sub printFrmDUIReportPreview() '// =============================== PRINT PREVIEW DUI REPORT FORM ================================== '// … Software Development operating-system printer vb.net | |
i hope someone here can help me with this quistion... Finding Tandem Repeats: Suppose that we want to find all short tied repeats w within a string A = xwwy, |w| < 8. This type of repeat is called a tandem repeat and it occurs very often in biological sequences. … | |
So, i've been redesigning the program I've been making to make reusable functions, rather than copy/pasting almost identical code to several different functions (which is what I would have ended up doing). These upcoming sections of code are functions designed to, on a button press, navigate to a URL, scrape … Software Development c++ | |
If a function present in Base class is overridden in derived class then Inheritance has ambiguity .So virtual keyword is used to overcome this and at run time which function to call can be decided by using Base class pointer to point to either Base class object or Derived class … Software Development c++ | |
Hi to ALL Plz help me i try my best to send sms from visual studio C# to mobile but i am not sucessfull so far if any one knows this yhen plz send me procedure as soon as possible thanx in advance Good bye......... Software Development c# visual-studio | |
#include<stdio.h> #include<stdlib.h> int input(int *a) { int n,i; printf("enter the no of elements:"); scanf("%d",&n); for(i=0;i<n;i++) { printf("enter the element:"); scanf("%d",a++); } return n; } int key_input(int *a,int key) { int k; printf("enter the key value which have to be searched in the array of no's provided:"); scanf("%d",&k); return k; } … Software Development c programming-construct | |
![]() | hi... Can you please help me by giving only some HINTS of algorithm used to solve this. I AM NOT ASKING ANY CODE OR SNIPPET FROM ANYONE. I just want hint or algorithm to use... There is a linked list where some nodes have similar number. Sort them such that … Software Development algorithm c linked-list ![]() |
The "progressive" center-star method is defined as follows: the SP MSA would be produced by aligning each successive string sk to the profile of the existing alignment Mk-1. M0= scentral. M1 is produced by aligning s1 to scentral. i need help to Write code for that Software Development | |
I am converting a program in python that is written and used on another OS that starts with the letter w. The script as written works on that OS, but on Linux it seems to fall flat on its face. First, I do not have access to any non Linux … Software Development audio file-stream python tkinter | |
Hi i am going to make a Binary Utility but I don't knnow how to program using extern uint16_t Bcdbin(const uint8_t* const pBcdBin) I have already read about extern and about unsigned int but I don't understand how to make a function for that code. please help. ty Software Development c++ | |
Hi programmers i need to have a GUI code for 4 cpu scheduling algorithms OR AT LEAST THE THREE, W/O THE ROUND ROBIN.. can you help me interface(menu): Cpu scheduling algorithms 1.FCFS 2.SJF 3.PRIORITY 4.ROUND ROBIN CHOICE:______ NOTE:5 DEFAULT PROCESSES ARE GIVEN. PLEASE HELP..THANKS! | |
So I have the code below. The whole program just reads from a text file and prints certain characters if it detects specific characters from the text file (in this case I just made it mimics what the text file has). My text file contains this: .........www... bbb..........ww ...bb....ww.... The … Software Development file-system java java-swing | |
**good day to all! i have a project all about color guess game. i just want to learn about using random functions in words because usually i only see random numbers. anyone can help me to create a source code that will randomize words? thank you! turbo c only.** Software Development c | |
I'm having a problem of displaying all the data of a column in a text file I can display only the first data, so please someone tell me what can I make to display them together in a text file. Connection con = DriverManager.getConnection(host, uname,password); Statement stmt = con.createStatement(); ResultSet … Software Development file-system java sql | |
![]() | **How to go back to** start_new_input: **of main() function?** #include <iostream> #include <string> #include <cmath> using namespace std; //global varibals: char entered_characters[9999]; int direction_of_rotor1; int direction_of_rotor2; char alphabet_of_rotor1[26]; char alphabet_of_rotor2[26]; char rotor1_backward(char Letter); char rotor1_forward(char Letter); char rotor2_backward(char Letter2); char rotor2_forward(char Letter2); char print(char print_char); int main() { cout << … Software Development c++ |
Hi All, Given an array of numbers, I want to find out the 2nd largest number in an array. Can anyone help me to solve the problem? Any help in terms of logic or code would be useful. Thanks, Vishal Software Development | |
I was asked to write code for consumer and producer threads accessing shared queue in an interview with the given primitives ADDNEW.Process PROCESS.SET PROCESS.RESET ENTER CS EXIT CS LOOP EXIT LOOP WAIT# PROCESS | |
Newton's Method to find polynomial solution Hi everyone, this is my first post and I am new to C++. I am trying to figure out how to do this project. Newtonโs method is an algorithm that can be used to solve an equation of the form f(x) = 0 using … Software Development algorithm c++ mathematics | |
This is basically the layout of my task at hand: I have one "host" program - the basic GUI for the entire application running at any given time. It contains a JTabbedPane. When the user adds a tab, I want the program to start a completely new process (new JVM … | |
void CRobotDlg::OnBnClickedSnip() { //---------- navigate to Snip CString sUrlSnip= L"http://Snip"; m_ctlBrowser.Navigate(sUrlSnip, 0,0,0,0); while (m_ctlBrowser.get_ReadyState() != READYSTATE_COMPLETE) { DelayMs( 100 ); } //------ page is ready to process IHTMLDocument2* pDoc= (IHTMLDocument2*)m_ctlBrowser.get_Document(); IHTMLElement* pElemBody= NULL; pDoc->get_body(&pElemBody); CComBSTR bstrHTML; pElemBody->get_innerHTML(&bstrHTML); CString sBody= bstrHTML; // easier to work with as a CString //MessageBox(sBody); // … Software Development c++ | |
Hello every one. I want to create a software in C sharp for electronic notice board purpose. The following work will be done by this software; ADMIN SIDE: USer(Admin) will post a new notice. This notice will have a title and short paragraph. The text will scroll from down to … Software Development | |
Hi new member here! i'm having a problem with my code here but I really don't know why, its in the line where i'll comment.. #include<iostream> using namespace std; void convert(char*); void main(){ char r, sen[200]; do{ cout<<"Enter text: "; cin.getline(sen, 200); convert(sen); cout<<"Try again?[Y/N] "; cin>>r; cin.ignore(); }while(r=='y' || … Software Development c++ | |
I'm working on a program driven by a menu. At the end of each menu component, the user will have the option of running that component again. If they enter an invalid entry (not a y or n) I want to go back to the main menu. I shortened my … Software Development c++ | |
Hello, I have 2 datatable, first table for customers personal information and second table for customers areas of interest. this two tables have same ID for same customers. So, when i want to check my some group of customers(like who intrests on sports stuffs) i need filter my first table … Software Development vb.net | |
How does one validate username and password from sql database? I have used parameters in doing validating my database, but have noticed that username and passwords are being accepted when i type it straight out(EG. username= e001 , password=dave@road) , even though they have characters in capital letters(such as username=E001 … | |
Just a short question Can you help me please? thank you so much :) **What is printed by the following C++ code? cout << "'\\\"'";** Software Development c++ | |
Does anyone have actual experience with pypdf with version 3.x python ? Maybe I am confused, but looked like only a 2.x version is available. thanks | |
I was thinking about making a TSR program in C++. I did some googling but found that most of them are using "dos.h" headers. This is obsolete and its use is frowned upon. So how can I make a simple TSR program in C++ ? Software Development c++ | |
![]() | When it gets to cout << "Chose direction of rotor 1:" << endl; cout << "*(i.e.:enter 1 for left and 2 for right)" << endl; and i enter 1 or 2 it couts "Wrong choice" #include <iostream> #include <string> #include <cmath> using namespace std; //global varibals: char alphabet_of_rotor1[26]; char alphabet_of_rotor2[26]; … Software Development c++ |
if (__comp(__a, __b)) this is the error referred to the file above. basically, it's just about this question : 5-6. Rewrite the extract_fails function from ยง5.1.1/77 so that instead of erasing each failing student from the input vector v, it copies the records for the passing students to the beginning … Software Development c++ | |
i want to know why the runtime error is coming in this code????? #include<stdio.h> #include<conio.h> #include<string.h> int main() { char *a,*b; scanf("%s",a); printf("%s",a); return 0; } there was no error when a declared first pointer i.e. a but as soon as i declared the 2nd pointer(b) i am getting a … Software Development c | |
can someone give me an idea how I limit the decimals in the output of this code: /** * @(#)Text1.java * * * @author Bryan Mark * @version 1.00 2012/8/4 */ import java.io.*; public class Converter { public static void main(String[] args)throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); … Software Development java | |
can someone please help me with this java application that will display the output below: "Enter Middle Name: Gosling" "You Middle Initial is: G" and also java program that will let the user to enter value for fahrenheit & convert it to celsius. can someone give me codes for this.. … | |
I am working on a program that updates a Database via ASP.NET (C#) using Microsoft Access and OleDb and have the following problem when loading my web form in FireFox: *"The INSERT INTO statement contains the following unknown field name: 'txtCustomerID'. Make sure you have typed the name correctly, and … Software Development asp c c# c++ microsoft-access | |
hi everyone, I wonder which is better :to start learning a new programming language or develop my skills in the C++ language ? As I started learning C++ since 7 months :) thanks ina advance for all :) Software Development c++ |
The End.