199,114 Archived Topics
Remove Filter ![]() | |
[CODE]$output[] = '<td><IMG SRC="../cart-demo/images/1.jpg" WIDTH="100" HEIGHT="100"></td>';[/CODE] hi, i am facing a small problem. can any one hint me or help me with the image property i wanna increase the 1.jpg to 2.jpg and so on.. kindly help With Regards danny | |
hi frndz.... i was wondering that given 1<n<1000000 & 1<r<1000000 how do i [B][I]efficiently[/I][/B] find nCr (combination) for any given values of n & r. please help with an efficient algorithm... | |
i have taken a TextBox in GridView ,Now i want to focus the cursor to the new rows TextBox whenever i move the Tab Key.,How i acn i do it. | |
I was create asp.net application...In that case I read value from "sql server" to "textbox" I want update that value & send it to database again at run time.. my question is my new value was ignore & again get my befour value as new value... how i update values | |
hey folks can someone help me how to use or connect database to visual basic hoping for your kindness. God bless !!!!!! | |
[CODE]import csv class Reader(object): def __init__(self): self.names = [] self.idigit = [] self.fileReader_list=[] self.fileReader = csv.reader(open("survey_result.csv", "rb")) self.fileReader_list.extend(self.fileReader) for column in self.fileReader_list: self.names.append(column[1]) self.idigit.append(column[2]) del self.names[0] del self.idigit[0] X = Reader() for i, names in enumerate(X.names): print names, X.idigit[i][/CODE] Ch, Sbb 6748 Oudfd, Sufdfdfy 8473 Sdfdfu, Radfdf 5667 Adfn, Mudfmmdfd … | |
Hi, I am kind of new to php, and have run into a problem. Whenever I try to pass on values from one page to another, using hyperlink, the variables in the session don't carry on. Any ideas as to why? Variables get passed when I use header(location:) code in … | |
Hi, I'm trying to figure out how to convert a hex number (that I read in from a file) to an 8 bit binary number. At the minute I'm converting the number from Hex to decimal to binary (which probably isn't the best way). The only problem I have with … | |
//ok i need to write a programme that asks the user to input student numbers as an array and check the initial number and allocate them into different classrooms.. my code looks lik ths: [CODE] #include <stdio.h> int number; int i; int student_number[10]; int total; int first[0]; int main (void) … | |
I have genuine VS 6 Keys as well as accompanying MSDN library. But VS set up CD is missing :( Where can I download VS 6 setup? I have wondered in MS site and all I see is no VS6, juststories about it! | |
Can someone explain to me why this shows up as Foothill (user input) : -9.222255e+061 ---------------------------------------------------- DeAnza (user input) : -9.222255e+061 ---------------------------------------------------- SJSU (user input) : -9.222255e+061 ---------------------------------------------------- : 10 ---------------------------------------------------- : 20 //my input ---------------------------------------------------- : 30 ---------------------------------------------------- [CODE]void VectorList::DailyReport() { cout << "==========NGS Daily Temperature Report==========" << endl; … ![]() | |
Hi all, I plan sometime to jump into IT business. I plan some tools that I will need. I will go for web as well as Desktop. So far I know that I need to know HTML/CSS/PHP/Javascript and hence I know I need IDE that will support those plus some … | |
I'm now stuck on trying to figure out why my letterGrade function isn't working....I'm trying to take the numerical values found right before it, in the Avg colum, and turn it into a letter grad (which I assume needs to be as a string). Any suggestions? [code] Total Number of … | |
Hey everyone, can I create a folder using c++, just the way we create a file? | |
Hello, can someone help me to figure out how i can print the content stored in si ? suppose i did: sub si,si inc si ---> repeated this few time. how can i print the number in SI on the screen? | |
new poster, need help with a pig latin translator. translation doesn't work properly, any tips or troubleshoots? sorry if it seems long... any help would be greatly appreciated [code] #include <iostream> #include <string> using namespace std; bool isVowel(char ch); string rotate(string pigStr); string pigLatinString(string pigStr); int main () { char … | |
Hi all, I need to draw simple lines on JFrame/JPanel. What is the easiest method to go? Also what do I need to display an image on JFrame/JPanel Thanks | |
Hey guys! I'm on a new topic and I'm finding it to be a bit frustrating. And basically the way I am learning classes and ADT's is by playing with them. So, I started and I [I]think[/I] I understand the basic concept. I am going to post the code below … | |
For some reason this is killing me, I am trying to update the field available to '-1' and don to '0' when the user submits the correct string into the input box, the thing I cant work out is why available wont update but don will the code is below … | |
I am trying to figure out why my letterGrades and highest function aren't working.....I'm more clueless on the letterGrade portion, as I believe that my highest function is a simple fix that I'm just not seeing. With the letterGrade function I am trying to assign a letter grade to each … | |
Hi! I need to split a list if item A is followed by item B. I'm really stuck at this and the only thing i could think of is that i should use regex, but i dont know how. Example of list: list = ['email@email.com', 'email@email.com', 'email@email.com', 'REF123', 'REF123', 'email@email.com', … | |
Hic.I need to create a dicussion forum page,but i don't know how create it.help me.Thankyou | |
Heya people i really would appreciate some help here.. The Program Works Just Fine At compiling but after like 1 second after ctrl + f10 to test it i get an error . I looked on google and it is something like Killed by signal 8(SIGFPE). [CODE] #include<cstdio> #include<cctype> #include<string> … | |
Hey everyone...... I was studying the course of Data Structures(DS) and in the end we have to make a Project.......so guyz its the time of project..... I thought of making something with suffix trees ..... so please anyone if you have any idea for a DS project concerning Suffix trees … | |
can get a step by step approach please? | |
I noticed that when i posted programs on here people gave me their versions, and had [CODE] import * def somethng_here(): while True: Try: pass except ValueError #or some other types of things liek that [/CODE] I don't understand how a function can be FALSE, as well as how these … | |
As I am working on my first application the thought occured to me: 1) Are "plug-ins" a common thing for applications to support? As in..."copy this .dll (or whatever) to this folder and bam! you get more features!" 2) How do most people handle updates? Replace the entire executable or … | |
I don't understand where the last line of my input is coming from....The program should stop reading with Hebb,Emily, but it seems that it's trying to bring in another line of information...any ideas? [code] Total Number of Students: 73 ID LName FName Q1 Q2 Q3 MT Q4 Q5 Q6 F … | |
I have this iterator that I want to format so the output is something like this. < "Index of first node"(first value of iterator)<<"Second index"(second value of iterator). Can anyone help me with this.[code]void Level::printAstarList(list<int> AstarList) { // cout<<"<"; std::list<int>::const_reverse_iterator it; for (it = AstarList.rbegin(); it != AstarList.rend(); ++it) { … | |
Lately I've been writing a lot of code involving the creation of new objects, and I quickly come to find that Python almost always creates a reference to an object instead of a new object. I understand the importance of conserving memory usage, but in this instance I actually need … | |
[CODE]class Car { public: Car(string name, const int wheels = 4){} private: string name; }; void main() { Car("Ford",3); // Why can I put in a 3? } [/CODE] | |
The program needs to read an excel file that contains a list of data (a list of students, thier module mark, student ID) The data needs to be presented in the following format: User ID : Name : Module ID : Mark The program also needs to have a menu … | |
Hi, I'm trying to incorporate a program title and welcome message into my code and I'm not sure if I have done it correctly. I would also like to know how to incorporate the following function calls into my code: Call Personnel Age Call Calculate Average Age Call Display Average … | |
can anyone help me determine it? from the looks of pages on google. it's just a bunch of 90 degree angles that are constantly rotated 45 degrees about it's axis. thanks. | |
My assignment is to write a c++ program which does statistical analysis of a group of exam scores. Up to 100 scores may be entered. All scores should be validated within the range of 0-100. A (-1) will be entered to signify the end of data. Scores may be decimal, … | |
Okay, this is what I am trying to do. I am attempting to create my own encrypter. I have the base encryption running, used just to encrypt a string you put in. I am going to add functionality to open a text file's contents and encrypt them, outputing them into … | |
Hello, I need to compare arrays in perl. Now the arrays are arrays of strings. The strings are similar to the following pattern: user:user@machinename.domain.com There are 4 machines. M1 M2 M3 M4 There are 4 arrays and each with a bunch of users. some users appear on multiple machines. I … | |
Hello! Here's what I wanted to do: [quote] Create an array with four elements holding the total corporate sales for the division. -Create a private static variable for holding the total corporate sales for all divisions for the entire year. -A member function that takes four arguments, each assumed to … | |
Hi, all I would like to creat site with online quiz with registration features. But i couldn't find PHP script with both registration script and online quiz system. So that my need is Someone who wants to take a quiz before must register then he/she can take a quiz. if … ![]() | |
I am writing a code which gives different colors to key works. I have written following code which will compare with key word say "ABC" when ever it finds "ABC" it will make it into blue color else red color.I am not getting whats wrong in my code. private void … | |
Hi, I have recently completed a bubble sort array program, which works fine. And is here : [CODE]#include <iostream> #include <ctime> using namespace std; void bubbleSort(int Array[], const int arraySize) { for(int j = 0 ; j < arraySize; j++) { for(int number = j + 1; number < arraySize; … | |
Hello, below is my polynomial code. I had to add and multiply 2 polynomials. 1) All i have to do more is to sort decreasingly the adding() and product() functions. Eg: 4x^6 + 6x^4 + 2x^2... etc. 2) Second, to add the coefficient with the similar exponents, same in the … | |
So my listname is men =[] How can i print just the 10 first elements of the list? It contains 15... And it's a matrix... I thought about making a while-loop while i > 9: but it didn't work. Can anybody help me please? :)[code]for gender in men: print gender[0] … | |
I need help with the two dimentiona array because this is a big program to start learning this. Here's what i have so far. [CODE]#include <iostream> #include <cstdlib> #include <cstddef> //typedef char* CharArrayPtr; //CharArrayPtr a; //a = new char[number_of_rows]; int NO_ROWS = 7; typedef char* SeatRow[4]; typedef SeatRow Seating[NO_ROWS]; //Seating … | |
when we create a file in c++. can we actually see it in the given folder.if yes then why cant i? when i run the program it display nothing.n no files by dat name is shown in that folder | |
Hey guys, I'm a php newbie that's trying to learn php on the job, and my deadline is quickly approaching. I'm attempting to learn php through a book, which is working just fine. The only problem is it's somewhat of a slow process. Anyway, I'm trying to search using a … | |
Hello all, I am getting a few errors with my code, I have been playing around with it but I guess I still needed a few tweaks. The errors and code are as follows: 23 C:\myC++projects\averageproj.cpp expected `;' before '}' token 27 C:\myC++projects\averageproj.cpp expected primary-expression before '<<' token 34 C:\myC++projects\averageproj.cpp … | |
My form's KeyPreview is set to True. I want to allow my users to use the Enter Key instead of just the Tab key. I have the following code in my form's KeyPress event: [code] Private Sub frmDesigner_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress If e.KeyChar = … | |
Hi dear all I have 2 question to be asked 1. everything is working fine but I couldnot understand [ICODE]$page = $_GET['page'];[/ICODE] what function is performing in the script? 2. when I change limit greater then 2 its not echo any record but for limit=1 or limit=2 its working perfectly. … | |
Hi, I read this line in creating window example with win32 API: [CODE]LRESULT CALLBACK WindowProcedure(HWND,UINT,WPARAM,LPARAM);[/CODE] please, can someone explain it to me..! i googled but i can't find enough explanation regards iammfa |
The End.