199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for daneuchar

[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

Member Avatar for daneuchar
0
95
Member Avatar for ayan2587

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...

Member Avatar for ayan2587
0
93
Member Avatar for guptaalok12

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.

Member Avatar for mail2saion
0
89
Member Avatar for iamchamith

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

Member Avatar for mail2saion
0
92
Member Avatar for cabsjonel

hey folks can someone help me how to use or connect database to visual basic hoping for your kindness. God bless !!!!!!

Member Avatar for abu taher
0
151
Member Avatar for jwxie

[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 …

Member Avatar for snippsat
0
154
Member Avatar for Tommy_101

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 …

Member Avatar for Tommy_101
0
75
Member Avatar for pmee

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 …

Member Avatar for iAmLast
0
983
Member Avatar for dewdropz

//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) …

Member Avatar for jonsca
0
102
Member Avatar for Stefano Mtangoo

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!

Member Avatar for Stefano Mtangoo
0
137
Member Avatar for Instinctlol

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; …

Member Avatar for stephen.id
0
89
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for kireol
0
81
Member Avatar for PDB1982

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 …

Member Avatar for Zjarek
0
234
Member Avatar for tkud

Hey everyone, can I create a folder using c++, just the way we create a file?

Member Avatar for tkud
0
99
Member Avatar for Blackeagle

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?

Member Avatar for NotNull
0
123
Member Avatar for camipr64

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 …

Member Avatar for camipr64
0
120
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
5K
Member Avatar for NitaB

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 …

Member Avatar for NitaB
0
156
Member Avatar for daryll1

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 …

Member Avatar for daryll1
0
103
Member Avatar for PDB1982

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 …

Member Avatar for mrnutty
0
164
Member Avatar for pluring

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', …

Member Avatar for Namibnat
0
110
Member Avatar for haiconsoba

Hic.I need to create a dicussion forum page,but i don't know how create it.help me.Thankyou

Member Avatar for Stefano Mtangoo
0
77
Member Avatar for Robyy14

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> …

Member Avatar for Robyy14
0
11K
Member Avatar for Adnan Saleem

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 …

Member Avatar for Adnan Saleem
0
443
Member Avatar for i are smart
Member Avatar for ffs82defxp

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 …

Member Avatar for vegaseat
0
332
Member Avatar for zachattack05

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 …

Member Avatar for zachattack05
0
133
Member Avatar for PDB1982

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 …

Member Avatar for Lerner
0
121
Member Avatar for tango2009

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) { …

Member Avatar for pac-man
0
102
Member Avatar for lrh9

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 …

Member Avatar for lrh9
0
190
Member Avatar for pac-man

[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]

Member Avatar for pac-man
0
108
Member Avatar for Izzywizz

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 …

Member Avatar for cale.macdonald
0
873
Member Avatar for confusedndazed

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 …

Member Avatar for Lerner
0
93
Member Avatar for MRWIGGLES

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.

Member Avatar for vegaseat
0
1K
Member Avatar for pbreezee

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, …

Member Avatar for pbreezee
0
173
Member Avatar for hondros

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 …

Member Avatar for vegaseat
0
166
Member Avatar for drjay1627

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 …

Member Avatar for d5e5
0
120
Member Avatar for XodoX1

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 …

Member Avatar for Lerner
0
154
Member Avatar for azegurb

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 …

Member Avatar for diafol
0
76
Member Avatar for Ashwin Vasnai

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 …

Member Avatar for Ashwin Vasnai
0
120
Member Avatar for nedsnurb

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; …

Member Avatar for mrnutty
0
2K
Member Avatar for fradiavolo

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 …

Member Avatar for Lerner
0
261
Member Avatar for goisagi

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] …

Member Avatar for goisagi
0
99
Member Avatar for dani2010

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 …

Member Avatar for dani2010
0
977
Member Avatar for sidra 100

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

Member Avatar for restrictment
0
65
Member Avatar for stoni23

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 …

Member Avatar for stoni23
0
101
Member Avatar for confusedndazed

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 …

Member Avatar for sidra 100
0
132
Member Avatar for Sheryl99

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 = …

Member Avatar for hlove4u
0
838
Member Avatar for ayesha789

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. …

Member Avatar for dasatti
0
1K
Member Avatar for iammfa

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

Member Avatar for Clinton Portis
0
130

The End.