199,114 Archived Topics
Remove Filter ![]() | |
Anyone who have experience or any prior knowledge in Image processing (especially using C) please help me..I am looking forward to do a project on 'Video Indexing Using Text Extraction'. I do believe that it can be done by using 'Text Extraction from Images' concept.If anyone have some code for … | |
Hi, I'm trying to write a program that will take an infix notation postifx RPN. My problem is that I can't get it to print out the new equation if someone could try and help me out with that, Iit would be greatly appreciated. [CODE]#include <iostream> #include <queue> #include <stack> … | |
I have to compute the olympic average(removing highest and lowest score and then taking the average of what's left) using a for loop and if statements. I can get the lowest value out, but I can't get the highest. Here's what I have so far: [CODE]// ,CMPSC , olympic average … | |
Trying to learn c# and dont understand why i cant compare string. [CODE] if (answere == 'j' || answere == 'J') { again = true; } else again = false; [/CODE] How do I do to make this happen in c#? | |
I can enable or disable task manager manually. like: start> run > gpedit.msc from group policy setting > user configuration > administrative templetes> system> ctrl+alt+del. I want to do it in vb6. If click a button then it disable or enable. Is it possible to do? If yes then how? | |
i want a script to upload image and display image in the same page....plus i want another thing that i have many fields in that page...so i want to only refresh image part after uploading to show image.... although i have tried to do so...but i can't do it without … | |
plz help me in creating a linked drop down button for date,month and year. means on clicking month like feb it will show date upto 29 and on clicking jan it will show 31. also i need it so that i can made a similar type of linked button for … | |
how to lock the taskbar, control panels & windows task manager on my VB program running time. I do not got a clue about it. help me to code. thank you for your attention | |
[CODE]TreeSet goodWords = new TreeSet(); ... Iterator iterGoodWords = goodWords.iterator(); while (iterGoodWords.hasnext()) { String word = iterGoodWords.next(); System.out.println(word); }[/CODE] Tell me, why doesn’t that print anything even if there are some items in the goodWords collection? I know there are items in the set because when I check the size, … | |
Hi, I'm doing some work for an Access Database but I caught a snag writing an event. I want the event to (among other things) change the Control Source of an object. This is no problem, except I have to set the control source as a string, and the string … | |
Hi, I am using cURL to grab the contents of a webpage which contains a table. I am trying to make an array out of the table contents, with the column headings as the array keys. Unfortunately the first row of the table, before the headers, has pagination which is … | |
it suppose to look like this Trapezoid with height 4, base1 3 and base2 9 EEE EEEEE EEEEEEE EEEEEEEEE but nothing is happening this is my code [code] else if (letter =='Q' || letter =='q') { cin>>hei>>wei>>draw; base = hei*2; cout<<"Trapezoid with height "<<hei<<"base1 "<<wei<<"and base2 "<<base; cout<<endl; for(i=1;i<hei;i++) { … | |
Hi, I am changing the sql database to database access (.mdb). The problem is when i run my application using sql connection its work well and all the tables are updated but when i use mdb connection it update some of the tables and few other table it does not … | |
hi I am looking for ideas to develop a map I'm looking for source code with c # to develop this map | |
I have an issue while creating a CSV file using the CSV module [CODE]csvFp = csv.writer(open(fileName,"w"), delimiter=',') csvFp .writerow('1') csvFp .writerow('2') csvFp .writerow('3')[/CODE] When i execute the above code,it creates the CSV file correctly but a blank line is inserted between each row eventhough i have not inserted that in … | |
The compiler is showing "not all code paths return a value" for the CalculateCharges. Help!! [CODE] public decimal CalculateCharges() { decimal pay; decimal decHoursParked; decHoursParked = Math.Ceiling(_hoursParked); if (decHoursParked <= 3) { pay = 4; } else if (decHoursParked > 3) { pay = decHoursParked * 2 - 2; } … | |
how come my code is not showing like the one in the picture below. [CODE] static void Main(string[] args) { Console.Title = "ICA18 - Methods"; Console.WriteLine("{0, 40}", "ICA 18 - Methods"); double dvelocity = GetDouble("Enter the velocity: ", 10.0, 200.0); double dangle = GetDouble("Enter the muzzle angle in degrees: ", … | |
Hi! I've recently converted some C code to a bit more native C++. This included changing printf() statements to std::cout statements. However, some printf()'s are rather lengthy and annoyingly long (and human-error-prone) to write in std::cout. Example (and this one is a short one): C-style: [CODE]printf("ERROR %d: %s: %s\n", event, … | |
This is my first time making a GUI and we're making a stopwatch...I figured everything out except for how to make the time elapsed have one decimal place ex: 1.1 seconds this is what I have so far [CODE]public void actionPerformed(ActionEvent ae){ stop.setEnabled(true); long endTime; if(ae.getActionCommand().equals("Start")){ display.setText("Start Button was Pressed"); … | |
dear Group256 i am a student who is doing my project on python platform...according to my project i has to have a client server public chat code which is very similar to the one u have posted here. i am currently working on a code for this puepose but i … | |
Currently working on an application with the following guidelines: The application is supposed to feature a program that calculates and displays a customer's bill using the interface and figures found here: [url]http://books.google.com/books?id=jGvseZN0g7gC&pg=PA468&lpg=PA468&dq=cable+direct+visual+basic&source=bl&ots=z0KhRX9BGS&sig=8zejHyLyd6Vb8kTVuJIrnsM1p4k&hl=en&ei=fLOHTev5EZOXtwf_zYzTBA&sa=X&oi=book_result&ct=result&resnum=3&ved=0CC4Q6AEwAg#v=onepage&q&f=false[/url] In addition, the following features are required: [LIST] [*]The premium channels ListBox (channelsListBox) has the following selection: 1, … ![]() | |
there are two text files, one called target.txt and template.txt i can only get my program to read in the text files.. im not sure how i can echo print them to the screen and format them to a table please any help would be appreciated! 1. Reads the target … | |
So, I've heard rumors that you can write web apps in C++. Is that true? | |
[CODE] // Hangman Redo Program #include <iostream> #include <string> #include <cstdlib> #include <ctime> #include <string> #include <vector> #include <algorithm> using namespace std; //Functions void welcome(); void instructions(); int game(string sofar, const string THE_WORD, int MAX_WRONG, int wrong, string used); // Types and Arrays string choice; string inst; const int MAX_WRONG … | |
Hi can somebody help me. This is my coding for button Next and Previous but when I click on next it just goes to next like from pictures 1 and 2 to pic 3 and 4 but not any more because i have pictures in two imagelist upto 20 but … | |
Hello... I am learning assembly, and am reading "The Art of Assembly" book. I'm on chapter 4, and I can't figure out where is the error in the following code: "The last problem with pointers is the lack of type-safe access. This can occur because HLA cannot and does not … | |
Hey guys.. thanks in advance for whosoever helps and gives their views.. So I am facing some problems with my CS program... which is in c++ and is about heaps.. its pretty basic stuff.. [B]Here's the Heap.cpp (implementation file)[/B] [ICODE]/** @file Heap.cpp */ #include "Heap.h" // header file for class … | |
when i release a library of code for example my "stack class" where should i put the exception handling code for it? for example... should it be stack.h stack.cpp stackExceptions.h stackExceptions.cpp or..... like this stack.h <--- embed stack exception interface in here stack.cpp <--- embed stack exception implementation in here … | |
can someone help me to write a query that will sum the information across the row and down the column (sum) in ms access table a b sum 1 10 11 2 20 22 total_all I tried the following select a,b, sum as (a+b) from table1 the error i get … | |
I have a little problem with my if statement. I have a code where I am comparing if a sprite has moved far enough for another one to generate behind it. Here it is (the dots are choped out code): [CODE]if (unit > 0) { if (moved > speed + … | |
Hello all, I am have a text file with a list of windows services. Is there a way to check if the computer I'm working on has a specific service installed(Currently Win7 but needs to work for Vista and XP too? I want to do something like this: [CODE]bool found … | |
I need to be able to display a screenshot grab of specific websites in thumbnail size. Instead of going to the site and screenshotting it, I would like PHP to do the job for me. Is this possible? | |
I have this litle problem, which is propably very futile, but still I cant't find the solution. I have this function which scans a directory for all kinds of files and returns all the filenames with the right extention. After that I cut of the directory string, put it into … | |
Hello there; I am new to object oriented programming need to use vectors. basically I have data from CSV file and I stored it in a vector. I need to partition this vector to n vectors and I need it to be dynamic. I started using class in order to … | |
#include <stdio.h> main() { double fahr,cel; char again; do{ printf("Enter Dgree"); scanf("%lf",&fahr); printf("In Celsius that is %.1lf\n",(fahr-32)*5.0/9.0); printf("agian?"); scanf("%c",&again); } while (again =='y'); } I don't understand why this won't loop any ideas? | |
How to create a website where a user logins to the site and takes the quiz. And each time the difficulty level should increase after clearing each level. How to put the questions and how to do. should i do it in windows application or different pages for each question. … | |
I'm a newbie at writing DOS batch files. I've tried to look for it, but I can't seem to figure out how to read from an input file. Is there an equivalent of a [I]cin[/I] statement in DOS Batch programming. | |
Dear All, If anybody can help a poor simpleton newbie I would really appreciate it. It maybe the monday syndrome but nothing i do works! I have a multi dimensional array made in the following manner. $datasq["$part_no"]["item_ver"]="$item_ver"; $datasq["$part_no"]["po_id"]="$po_id"; $datasq["$part_no"]["weeky"]="$weeky"; $datasq["$part_no"]["qnty"]="$qnty"; part_no = varchar part number po_id = varchar order number … | |
Dear Buddies, Need your help to make a simple regex to grab all codes from [B]<!-- Begin Code --[/B]> until [B]<!-- End Code -->[/B] I would like capture this code for deleting in Yahoo pipes. code: [code]<!-- Begin Code --> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({appId: '132829708015487', status: … | |
Hi everybody. I have a doubt in one of the command which is shown below. 1. I created my own adding and multiplication funtion definitions saved in two separate files named "sum.c" and "mul.c". The function calls are present in "main.c" ofcourse. 2. I got the assembler output files by … | |
Hey Guys, first year compsci student and I'm struggling with 2D arrays. Here is my code: [CODE] double classAverage(int assignments, int students) { double average,sum; int row,col; FILE *input_file; input_file=fopen("grades.txt","r"); for (col=0;col<assignments;col++) { sum=0; for (row=0;row<students;row++) { fscanf(input_file,"%lf",&grades[row][col]); while(fgetc(input_file) == ','); sum+=grades[row][col]; printf("%.2lf\n",sum); } } average=sum/students; fclose(input_file); return (average)[/CODE]; int … | |
Hi all i am try to pass the text input into the text boxes in form ( OrderScreen) into the text boxes in ( PrintOrderScreen)I don't get any error it just does not pass the text over to the second screen. the text boxes with OS at the end belong … ![]() | |
Ok i am having a blond moment(no offense haha). I got on my form textboxes, checboxes but also a groupbox which holds texboxes. The idea is to be able to clear and reset all of these by clicking a reset button. At the moment i got this [CODE] Private Sub … | |
:-/ my html form consists of drop down for selecting city and state. radio buttons for selecting gender. and a few check boxes. the form is filled and the values are stored in a database table. I am working on a php script, which retrieves values from database into an … | |
I am a newbie, so it might seems a silly question. I have a login form which calls other form where it says .. "please wait while it loads". in form 2 i have a label for that. Now the problem is that the text for that label doesnot appears … | |
[CODE]#include<iostream.h> int liner(int [], int ,int ); void main () { int a[1000]; int arraysize,element; int searchkey; cout<<"Enter how many elements in your array"; cin>>arraysize; cout<<"enter the elements of the array "; for(int i=0;i<arraysize;i++) cin>>a[i]; cout<<"Enter the searchkey"; cin>>searchkey; element=liner (a,searchkey,arraysize); if (element!=-1) cout<<"::::Found value in index \n"<<element<<"\n"; else cout<<"::::value … | |
![]() | hey, for an Application I want to let application Communicate with each other but how would that be done? I know of Commandlinearguments but that is only when starting up. I want them to communicate while they are running. how would I do such a thing? ![]() |
Hi guys, I want to create a use sql membership for my website but am recieving this error when trying to create a database 'Generating user instances in SQL server is disabled'. I have even run the command (exec sp_configure 'user instances enabled') but I still get the error. Please … | |
[I]<<mod edit: answer to [URL="http://www.daniweb.com/software-development/python/threads/32007/1496502#post1496502"]this post[/URL] from the sticky "[URL="http://www.daniweb.com/software-development/python/threads/32007"]projects for the beginner[/URL]">>[/I] [CODE] #1 * 8 + 1 = 9 #12 * 8 + 2 = 98 #123 * 8 + 3 = 987 #1234 * 8 + 4 = 9876 #12345 * 8 + 5 = 98765 #123456 … |
The End.