199,114 Archived Topics
Remove Filter ![]() | |
Hello, I have a huge issue with firefox and some versions of IE. I have a flash embedded into HTML and at some action in the flash, a javascript is called that changes the CSS properties of the div containing the flash (postion, from relative to fixed) the problem is, … | |
So, I need to make a program that draws a [URL="http://en.wikipedia.org/wiki/Automata_theory"]finite automata[/URL] from the input data. I had some experience with the [I]graphics.h[/I] header but as far as I know it's a Borland only header and VC++ doesn't support it. So I was wondering, is there a way to draw … | |
The below code gives an output of: [CODE] Allocated! Allocated! Deleted! Allocated! Allocated! Deleted! Size: 3 Capacity: 4 vector[0]: isAligned! 20 30 40 Deleted! Deleted! [/CODE] Can someone explain the first allocation and why there are 4 allocations instead of 2 (one for each reserve?). I figure the first is … | |
description of the program: 1. first i have to input a folder A by giving full filepath. this folder contains a benchmark program tcas.c, a text file universe.txt which contains 1500 lines, each line is a test case giving 12 arguments to the benchmark program, which are used to test … | |
Basically I need to read from a text file that looks like this customer Kevin checking myaccount 100.00 bond mybond1 1997 100 0.07 bond mybond2 2010 200 0.01 irabond myirabond1 1997 100 0.06 end customer Mark irabond hisirabond1 1999 200 0.08 bond hisbond1 1990 2000 0.10 end I need to … | |
Hi everyone, I'm new to php and I'm working on a project, it's very typical that when you type in a search box and press the submit button, it will link you to a table with minimal content, but upon clicking a list on the table, it will link you … | |
how can i create something of this sort: * *** ***** ******* ********* ******* ***** *** * this is my source code: #include <stdio.h> int main() { int i; i = 1; while(i <= 5) { printf("*\n"); i++; } getchar(); } | |
Ok I am stumped so bad. I am using a form to insert a topic and comment into a table and if the topic is new it creates a new table specific to that topic. So I pass the topic name through the url and Im trying to retrieve it … | |
Hi, I was reading on the net and could not find how to implement as loop something like twig's [CODE] <ul id="navigation"> {% for item in navigation %} <li><a href="{{ item.href }}">{{ item.caption }}</a></li> {% endfor %} </ul>[/CODE] I want to have idea of what is going on! | |
anyone please help me, whats wrong with this code: this is codeigniter, i can't upload file with this code/script: [code=php] class MUpload extends Model{ function MUpload() { parent::Model(); } function upload() { $data = array( 'my_file' => $_POST['userfile'], 'my_user' => $this->authniter->getUsername(), //this is user login name with my library 'authniter' … | |
I have an assignment to write a program that builds an array Usize determined by user inputs m,n. the hangup is that the first element in each row or column is equal to the number of the row or column,and all the elements inside are to be the value of … | |
Hey all I have a program that I have been working on and am having some trouble with keeping count of all the users grades. I know that now I am only counting the last grade earned for each category but I want to know how to keep count of … | |
how to run a vb.net application after menu item of internet explorer clicked | |
Hello, I have a problem with one basic method - saving a text file. I have no idea why it doesn't work: [CODE] static void Main() { Console.Write("Write the statement:"); string statement = Console.ReadLine(); Console.Write("Write the name of the file:"); string file_name = Console.ReadLine(); StreamWriter file = new StreamWriter("c:\\" + … | |
when i right click on web browser is it possible to get my application on right click option? | |
I am new to C++ and I am having problems with my code as you may imagine. As a newbie, I am creating an application in which converts celsius to fahrenheit and vice versa. The application has to ask what the user wants. I set up the application to run … | |
Hey, I have a volume/surface area calculating program, but the problem is that my program always runs through the first possible choice instead of choosing between two. It will always do the cube/rectangle function instead of going to the square pyramid function. Here's my code. [CODE] #include <iostream> #include <windows.h> … | |
Hello Everyone! I am unable to change permission of folders created on C-Panel with chmod('folderpath',0777); Please help on this. | |
I write a program but now got a problem. Everyone can help me. And this problem: + I have 2 form. - Form 1 have 3 combobox with some item load from database Access. - Form 2 load data when change item at combobox form 1. I close form 1 … | |
Is there any framework or sample java code to evaluate an arithmatic / logical / bitwise expression , which will provide the value for input parameters , to make the condition pass. For example , In the below sample arithmatic condition , if the values a=7 and b=6 are passed … | |
[CODE] cout<<"\n\n Please Input The Drive Letter Of Your Input Device \n"; cin>>DRL; string str(DRL); string str2(":"); string src; string hi; src=str.find_last_of(DRL); cout<<src; if(src!=str2) { hi=string(DRL)+string(str2); cout<<hi; } else*/ cout<<hi; [/CODE] [What am i dong wrong.i am trying to enure a colon input in the drive letter regardless of user … | |
Hey guys, it's been a while since i've had to do any assembly programming but it's come up again in a course of mine to haunt me :p We're trying to simulate reverse polish notation, which is fairly simple..and all we have to implement is addition/subtraction, with a few other … | |
Does anyone have a link to a good article or guide on creating help files that work with Windows XP, Vista and 7? I've used a program in the past to create help files, but it was a demo product and quite costly (and if I recall poorly supported). I … | |
Dear All, I have created a multi dimensional array and stored elements in that through while loop like $human = array(); and at every iteration the while loop will add elements like $human["IPI"]["Description"][] = $row; $human["IPI"]["link"][]= $link; but when i wanted to print this array contents in a table format … ![]() | |
How would I go about creating a loading screen or method that will load all my components and show the progress of loading through a progress bar. I would love to set something like this up for some of my larger form applications. I know how to do it with … | |
I'm writing a program as a beginner in assembly my program is about summing up all integers in array and then getting their average . I'm stuck with the average is that i need to divide the sum of numbers by my array size and i don't know according to … | |
Hi guys. I have a php script that reads some values off a website and prints to a file every second.. The thing is, the script is always ran in my browser and I don't like that. I want to write a c++ program that can run that script within … | |
In my company, we have a big excel sheet that we use it as a data entry. This matrix is filled with the data by many employees. each employee is required to fill specfic cells in that data entry. Now, we want to automate this matrix by developing a web-based … | |
Hey guys, I'm working on my game project for college, I have the code started, just enough to put the sprite on the screen and have a scrolling background. It is telling me there are no errors but when i go to run the game it terminates immediately, it's got … | |
Hi, I'm trying to put together a recursive function to count number of internal nodes, but I can't seem to grasp how to just grab internals. Any help? This so far only seems to count number of nodes [CODE] int numI(Node* p) { if(p== NULL) return 0; else return 1+numI(p->left)+numI(p->right); … | |
Hello. I am trying to get back into Java and wanted to start by trying to make a functioning GUI calculator. I have the basic framework for it, but I am having some trouble with the operator. I would like to take what is on the textfield and put that … | |
Hi Guys, Firstly, i'd like to state that this is a homework question which means i'm not looking for a direct solution to my problem. Just subtle hints on how to improve etc. I'm posting this here as I want to try and get a better understanding of Java's wait() … | |
I am working with Microsoft Visual C# and keep getting the error "Use of unassigned local variable 'letter'" and everything I've tried has not fixed it, not to mention looking on the web. What is the issue? [CODE=C#]private void Btn_Submit_Click(object sender, EventArgs e) { char letter; int number; Txt_Letter.Text = … | |
I need some help with this. For my class I have to make a game called hexo, basically "Hexo is a game loosely based on the television game show Lingo. Rather than trying to guess 5 letter words (as in Lingo) the Hexo player will have sixteen tries to guess … | |
am trying to open a file but the problem is on the third line (open...) sub open_file { local $/ = undef; ($filevar, $filemode, $filename) = @_; open ($filevar, $filemode . $filename) || die ("Can't open $filename"); } everytime i run it i get the error: Can't use string ("FILE1") … | |
I am new to php. I am trying to run a loop 5 times. Each time the loop runs I need to run a batch file and test the value of a query. If the query is > 0 exit the loop. Otherwise run a different batch file and continue. … | |
I have run into an interesting problem. I have inherited a database for daemon process that polls and accepts reports from remote embedded systems. Each site that has one of these systems can monitor over a dozen different fuel tanks. (In practice, most monitor 2, 3 or 4 tanks.) When … | |
public List<EventEntity> GetCurrentUpComingEventsByEstate(string EstName) { EventDBModelDataContext context = new EventDBModelDataContext(); var res = from e in context.EventEntities where e.eventDate >= DateTime.Now _estatename(?) select e; return res.ToList(); } Hi experts, How do i declare the estatename part so that when i test the program in web browser, i will only get … | |
Ok so i am writing a program to determine a users hat,jacket, and waist size. I have most of it done but i am still getting an error. Any help would be appreciated! [CODE]import java.util.*; public class Sizes1 { public static void main(String[] args) { int answer = 0; int … ![]() | |
OK. My 'logincontainer is hard coded HTML in the index.html page and is shown when a 'placeorder' button is clicked. The client enters their e-mail address in the only input visible and javascript addevent onchange checks to see if it is a valid e-mail or not. Above the input id … | |
How to return a list using string array method ? For eg. i want to display a list of all the estates name using string array ? | |
What is the best approach we can follow while trying to solve a cipher text without a key? I searched over web but was unable to find some good method.... Plz help guys... ![]() | |
hey guys, i have a C++ assignment and i have no idea where to start. my assignment is we have to capitalize first letter of the every word entered. if asked user to enter a their full name, the program should capitalize the first letter of their first name, middle … | |
I'm having a problem with my struct I believe. [CODE]struct GLPoint { int x; int y; }; int totalmarbles = 64; GLPoint midhold[64]; double dist(GLPoint a, GLPoint b) { double distance = sqrt(pow(a.x - b.x, 2) + pow(a.y - b.y, 2)); return distance; } void init(void) { glClearColor (1.0, 1.0, … | |
I am in an assembly class and we are now working on using files. Part of the assignment is to make a file and write an array full of values into it. I have been working on this assignment for some time and I am stuck on the file portion. … | |
I am using _getcwd() to get the full path of the current working directory but I am having a strange problem with this: When I run the program from within Visual Studio _getcwd returns "F:\...\ProgramName\bin" to which I append "\Debug\config.txt" to give the path of a text file. However, when … | |
In my cs2 class the assignment is to implement a sparse matrix with pointers without using a 2d array. Here is the exact text: A sparse matrix can be represented using an array of pointers called "arrayOfPointer" and an array of integer called "matrixInfo". The size of "arrayOfPointer" will be … | |
hi guys , 1)i wrote this bunch of codes but i can't get any result from part update . this part should update those cells that user want to change it. for example you want to change some music ranking so you must duble click on data gide viwe to … | |
Hi everyone....iam electronics engineering student and i have experienced some c++ ,i mean i know till oop basics... i want to learn scriptig language for EDA, i want to know which to learn...Perl or Python?....can python do everything perl can do??....i hear that perl is much harder to learn...is it … | |
I've been getting an error that says a class isn't declared when I try to pass it to a function. I got this error before, so I deleted the code and typed it out again and it worked. It's not working this time. The program starts in main, then goes … |
The End.