132,726 Archived Topics
Remove Filter ![]() | |
Hello. I'm still fairly new with C++. I started on a code with a friend, but I'm still very unsure about setting up loops and such. Some help on where to go next with this problem would be much appreciated! This program requires you to input information about vehicles in … Software Development c++ | |
Hi All! I'm creating a program using Python and compiling it with py2exe. I've the same problem of this topic, but I can't solve it because GUI2exe is not supported by Python26. [url]http://www.daniweb.com/forums/thread224403.html[/url] How could I solve this problem? Software Development python | |
Okay, I'm creating a webcam capture program that will take pictures and record video. The picture part works perfectly but I can't get the video part to work. No matter what I try it won't save the AVI file Heres my code [CODE] OOption Explicit On Imports System.Runtime.InteropServices Public Class … | |
The following project is considered appropriate for a graduation dissertation in Computer Science Graduation project if the supervising professor is good in Java An English Word Statistics in Java The function may include: 1. To ask client to select a text file to open (FileDialog would be good to start … Software Development gui java linked-list | |
i have a code that reads lowest and the highest number with inputs that are all Integer but, once i have an input (ex. apple 200)...it wont read anymore, need help in what to input code that ignores letters [CODE]//reads numbers only ex. 100 200 300 int main() { ifstream … | |
Hi All I have two tab-delimited files. I want to compare first column of testfile1 to first column of testfile2 to find if items in file2 are in file1 and write it to the new file. I have a following code but not working!! :(. [CODE]f1 = open('testfile1.txt') #f2 = … Software Development python | |
1. Define a structure called cricket that will describe the following information Player name Team name Batting average Using cricket, declare an array player with 10 elements and write a program to read the information about all the 10 players and print a team wise list containing names of players … Software Development c encryption | |
Hello! I am trying to write a function that looks for a desired string pattern within a table (Countries). Look at the code. [CODE]def selectCountry(): print 'Enter country:' country = raw_input('> ') sql = '''select idCountries,CountryEn from Countries where CountryEn REGEXP '%s'''' cursor.execute(sql,(country)) result = cursor.fetchall() rowHead = 'Country ID','Country … | |
Hello! I have this simple funcion [CODE]def newUser(): print 'Choose a username?' Username = raw_input('> ')[/CODE] The variable 'Username' has to be used by other functions. How can I do it? Cheers! Dani Software Development python | |
b=c/d++; In this, first d is incremented (because ++ has a higher priority than / or =), but c is divided by the unincremented value of d. Thus, the order of evaluation in this case is well-defined. But if we had written the above as: b=(c)/(d++) then which operand ( … Software Development c | |
Im looking to Delete a row of information in my datagrid, but also from my database. im not even really sure where to start. I want to use a button to do this. so that when i highlight a row, then click the button it brings up a message box … | |
Hello, I have created a datagridview with first column is checkbox like below: [CODE] dgv.Columns[0].Visible = false; dgv.Columns[1].HeaderText = "Name"; if (dgv.Name.Equals("dataGridView1")) dgv.Columns[1].Width = 100; if (dgv.Name.Equals("dataGridView2")) dgv.Columns[1].Width = 145; dgv.Columns[2].HeaderText = "Mobile Number"; dgv.Columns[2].Width = 115; dgv.Columns[3].HeaderText = "Date Added"; dgv.Columns[3].Width = 95; dgv.Columns[4].Visible = false; dgv.Columns[5].HeaderText = "Group"; … Software Development | |
Hello, I want to set the background image of form as per user selection. for that i have take openFileDialog but it only show the wallpapers when i click on open button it not applied to form. it show an error message that [B]"path not found"[/B] [B]this code is on … Software Development | |
Hello, I have created a query as follow in ms access: [CODE]SELECT cont.id, cont.name, cont.mobile_num, cont.date_created, memb.group_id, grp.name FROM (contact AS cont LEFT JOIN contact_group_member AS memb ON memb.contact_id=cont.id) LEFT JOIN contact_group AS grp ON grp.id=memb.group_id WHERE cont.removed=False ORDER BY cont.id DESC;[/CODE] and I created a 2nd query to query … Software Development dataset | |
i have made a Session which has as the EmailId as the session name....now i want to retrieve data in the user profile page ....which means the particular logged user will get to know their personal information....how do i do it???plz help n.b:the database has 1 table only where EmailId … Software Development session | |
Hello buddies, I have two datagrid views on my form. The first datagridview is bound to a table named contacts. And the second one is bound to a different tables say Group_members. Now My problem is that I want to add the selected row in DataGridView1 to datagridview2. And later … Software Development | |
How can I use 'like' keyword with wildcard characters(*) in RecordSelectionFormula of crystal report? [CODE] rptdoc = new ReportDocument(); rptdoc.RecordSelectionFormula = " {View1.RefNo}= '" + textbox1.Text + "'"; [/CODE] I need to use 'like' instead of '=' ..... Software Development | |
Hello! I have written a program where you have to give the path to directories and files as input. Is it possible to enable any kind of auto-completion when running the program? Cheers! Dani Software Development python | |
I am trying to run my program to test it. Actually I am trying to run second form to see it that its working properly or not. But it shows me error. First time I got this error message "Exception of type 'System.OutOfMemoryException' was thrown" & second time I got … Software Development vb.net | |
Palindrome is a popular title for programming training. You may compare a pair of chars in a string, or a pair of words in a String array. Many homeworks are made in this way. Further more, in Java we may play with all the speaking languages in the world, such … Software Development java java-swing | |
Hello, I've copied a multiarray into another multiarray and can't figure out how to convert an int of 1 into an asterik which is ascii 42 I believe. I need help to replace all 1's to an asterik. I've tried static cast which my instructor suggested but I must be … Software Development c++ | |
Hi, my assignment asked me to make a 3 row, 7 column array that asked the user to input amount of food for 3 monkeys. 7 represents the number of days. It should tell the user the average, highest and lowest amount for this.. Here is what I've got so … Software Development c++ | |
Hi guys, I'm looking for any help in converting image files to video files by reading a full image folder using C# .Net 2.0 onwards. thanks, Vishnu Shayan | |
Hi I am having a requirement in my project where User press '.' in his num pad and he wants the character ',' to be displayed (dats bcoz he is French User). I tried changing the e.KeyCode but it is a readonly property. Is there any other way to change … Software Development vb.net | |
[code] if (infile != null) { infile.Close(); } if (reader != null) { reader.Close(); } //Creating a File Stream object to Open a file called FILENAME for writing outfile = new FileStream(FILENAME, FileMode.Append, FileAccess.Write); //Creating a Stream Writer with the outFile File Stream object writer = new StreamWriter(outfile); writer.Write("Income : … Software Development file-stream | |
Can you help me to start with them I cant find any information about them the exactly thing i need its Array of pointers where the pointers are pointing a menu like this idea below. Pls just help me with the syntax ... Software Development c | |
I've got a program that has three different classes, all of which have their own pointer to an class called ObsFileName, who's main functionality is to store the name of an output file individual to the class, and return it with a function value(). All throughout the program, when a … | |
Hi All, I am Working in C#.Net Technology (Window Based Application).My Problem is that ,I Want to display a Image in DataGridView cell.Iam able to display different Images In different cell of particular Column,But my problem is that Iam getting the image of a Exact Size.What I wan is to … Software Development image | |
[CODE]import java.io.*; public class inout{ public static void main (String[] args){ int a; BufferedReader num= new BufferedReader(new InputStreamReader(System.in)); try {System.out.println("Enter a number: "); a = integer.parseInt(num.readLine()); System.out.println("THE NUMBER IS" + a); } catch(IOException e) {System.out.println("ERROR"); {}}[/CODE] [CODE]import javax.swing.*; public class jopt{ public static void main(String[]args){ int x; x = Integer.parseInt(JOptionPane.showInputDialog("enter … Software Development java java-swing | |
hello can you help me what method to be use in searching integers in string for example if the user will input this string having integers. "jemz 123" how can i add the existing integers and what method to be use...please help me...hoping for your positive responds... Software Development java | |
As I know that .c is the extension format for c coding while cpp is the extension for c++. But I noticed that there are some c++ project use .c extension instead of cpp, is it both extension is supported in c++ compiler? Software Development c++ | |
How to do this structures, any Idea? Given a program segment as follows: #include <stdio.h> struct book { char title[80]; int bar_code; float price; } ; struct book BOOK; void INPUT (struct book *B); float DISCOUNT (struct book *B); You are required to write a complete program that includes the … Software Development c | |
I just wondered if anyone had tried the new software yet or if anyone was planning to try the new certifications? Visual Studio 2010 is available and some of the exams are now available for programmers who wish to keep their certifications up to date. It is likely that other … Software Development visual-studio | |
how can i make vScrollBar that will scroll panel?? cus i made a program and its realy important there ScrollBar without ScrollBar its won't be the same thanks Software Development | |
i need help in controlling mouse click in python. Example would be 'clicking File menu --> Save Us--> Save' on its own. I have this code for launching an app, for example a textfile. but i dont know how to control its mouse click. Advice please. [CODE]import os class LaunchApp: … Software Development operating-system python ui-ux | |
![]() | Hi, I am trying to find this string "QuickSearchResultsCOnfig" in a text file. The text file will contain this in several places. I need the following var QuickSearchResultsConfig = ['a','b','v','d','e 'f','f']; I need to replace the above with var QuickSearchResultsConfig = [['a',{hidden:true}],['b', {hidden:true}],'v','d','e 'f','g ']; My original approach: Store a,b,c,d,e,f,g … |
Hi, I was recently asked in an interview the number of processes that are created when I enter in a command that contains a pipe. For eg. If I enter the command: $who | tee /dev/tty | wc -l Could anyone tell me how many(which) processes are created and in … Software Development shell-scripting | |
Hello! I'm fairly new to Python. Hopefully you can understand what I'm trying to accomplish here. I'm making a GUI that prints Parking Garage Tickets. I want to be able to post an expiration date on the ticket. I found out about timedelta, and it works if I put in, … | |
I'm creating a linked list,adding the data I've read from file in each node but as I'm trying to print what I hold in nodes my output is some symbols.And even when I cout what I hold in my nodes in ADD function it's ok but as it goes to … Software Development c++ linked-list | |
Hey- First time posting here so hopefully I explain everything correctly. [CODE] class sendbackcurricula(app.page): def GET(self): query = models.Curricula.query.all() map = dict() for x in query: x = x.to_dict() map[x['owner_id']] = x['title'] return json.dumps(map); [/CODE] The above code will return the last element held in the database at 'owner_id' and … | |
[CODE=java] public int decrypt(int num) { int number = num; // Encrypted: 4523 Original: 5678 int d0,d1,d2,d3; d0 = number%10; // 3 d1 = number%100/10; // 2 d2 = number%1000/100; // 5 d3 = number%10000/1000; // 4 d0 = (d0 < 3) ? d0 % 10 - 7 : d0 … Software Development java | |
Pretty interesting problem about linked list. This program is about autobuses. Each autobus is given by brand, registration number, number of seats, kilometres and year when the bus was made. The program is organised as menu and when you hit number it calls some function. Problematic function: it should NOT … Software Development c linked-list | |
Hi , How do I write a code that will print the first 10 even numbers in PERL Thank you Software Development perl | |
i'm a student of BSc IT. i have to submit my final year project but i've got no idea what i'm going to do. any idea on what i can do it? Software Development visual-basic | |
The basic idea for this program is to for me to enter a code to a corresponding website (which is already in a dictionary in the body of the program) and search that webpage for a specific phrase and return a value. This is so that I can check number … Software Development python web-browser | |
Hi Guys, what i am trying to acieve is, I have an xml file which has bunch of reference to html pages, pic and videos.Now this file and all other files are in the same folder or different subfolder under a main folder.What i want to do is to read … | |
how to reverse a string in character array without using string functions... Software Development c++ | |
I have an issue i need to get resolved fast. I cant seem to get my Dialog box to run properly. This is the code i have for it. The Problems i have are where the black arrows are. First arrow: "No matching prototype available Second and third arrow: "Invalid … Software Development c | |
#include <iostream> #include <cstring> using namespace std; int main() { int i,n,len; char x[3]; char status[15]; cout<<"This is an airplane passengers seats program"<<endl<<endl; for(n=1;n<=7;n++){ cout<<n<<" \tA\tB\tC\tD"<<endl<<endl; } cout<<"Please enter your seat accordingly : "; cin.getline(x,3); cout<<endl; len=strlen(x); // for (i=0;i<=len;i++) // x[i]=toupper(x[i]); for(int j=1;j<=7;j++){ cout<<j<<" \tA\tB\tC\tD"<<endl<<endl; } cout<<"Thank you for … Software Development c++ | |
I am checking on ways to update my text file existing record. For example I wanted to update the "Address" & "SSN" for Mary Rose to other information using the following code fragment. How can I make use of scanner to complete my code? Code Fragment [CODE] case 1: System.out.print("Address: … Software Development java |
The End.