199,114 Archived Topics
Remove Filter ![]() | |
Dear all, I have to use a funny structure in my code which has a 2D array and allocate it later in the program. I do it but I get error which is written below. I have urgently to finish this part of the code. Would be agreat help if … | |
how do i write a program that a user can input 3 numbers (between 0 and 100), then the program will compare if the numbers are bigger are smaller than each other, and weather each number is smaller than 100 or greater than 0. required 2 class file in one … | |
iam a noob at c++ and trying to learn it so go easy on me. basically i am trying to enter a some letters such as 'helody' and then check the letters it has in it and place the remaining letters of the alpahebet after it. so afterwords it would … | |
Oh do I need some serious help! lol. I'm working on a phone book in python. For some reason when I select the option, enter....say....the last name, even though it's on the file that my program is reading it tells me that it's not there. Can somebody please look at … | |
Hi! I've been looking through online materials on this matter with no concrete definitions of what I can do with this. I am trying to export some of the functions from my class residing in my executable. I have tried every which way I can imagine but the variables I … | |
i have a datalist,it's itemtemplate is inside an updatepanel,in which i have a button whose click event is not being fired plz help | |
Is there any function like this ? [url]http://wiki.sa-mp.com/wiki/Strmid[/url] Thank you :icon_cheesygrin: | |
Hi friend.I m faraz here for the first time. I m new in PHP and doing some basics. I m writing small scripts. I have prolem with $_POST varivle. I wanna get name from the form and print it on the screen. But my script iz not working. Plz check … | |
I was wondering if anyone helps me in the following case..? There're two prgs A.py and B.py A.py has two classes class x class y and class y has some print statements. I want to import 'class x' to B.py and using the following statement in B.py from A.py import … | |
hi ... im trying to write a function that tells you if the time you called is a correct military time .... heres what i have so far [CODE]def valid_mil_time(mtime): if mtime <= 2359 : print ("true") else: print ("false")[/CODE] but if i was to call it, it looks like … | |
First time poster, but longtime lurker. I've solved a million other problems with other threads, but this time I'm still stumped. My program is meant to take an array of dates and be able to change them, add days, and resize the array. It compiles OK, but I get a … | |
I have been attempting to write a program that takes an input from a button class and a graphics class that creates a gui for a game called three button monte. So far I've been able to get it to sort of work. The point is to have the "game" … | |
I am writing a VB.Net program in an .aspx page that searches for a particular .htm file. Once the file is found, I'd like to launch the .htm file in the client browser. Can this be done from my server-side code? | |
Hi, thats very weird..if I pass my RECT by reference notting wrong happens, bu if I pass by value, the numbers get crazy. The correct values are: {top=159 bottom=480 left=400 right=640} What I get passing by value is: {top=0 bottom=1 left=1964816 right=1058984360} This happens at the first moment it enters … | |
hi, everyone i want to ask about EOF in C++ when i learn C to use EOF in my code is like this : [CODE] while (scanf("%d",&a) != EOF){ statement ... } [/CODE] but, when i use in C++ { [CODE] while ((cin >> a) != EOF){ statement ... } … | |
Hi all, This is not a post about simply recvering user input with raw_input() and then using eval(), nor for input() use . I remember having used this once, but can't get a hold of the old code so I turn to you for fresh ideas. I am planning to … | |
what program will use with to problems.... write a program that will convert decimal to words... maximum exceed 3000. ex. 300= three hundred 32=thirty two 1002= one thousand two write a program that will convert a decimal to roman numeral.. maximum exceed 3000. 1= I 5= V 10=X | |
Hi To All, I want import contacts from gmail,yahoo,rediff,hotmail,e.t.c.., to my site.And inivte the friends[Contacts]. Thanks in Advance... | |
I am doing a system in drupal - and i am also coding in php in the drupal pages i create to connect to a database and display results for various requirements. How do you redirect a certian page to another page in drupal? do we use the node number … | |
Hello, I'm writing some C code for a class, and as part of it, I'm dynamically creating two two-dimensional arrays. One of them is a dynamic array of dynamic arrays - so I know that to clean that up I need to loop through each array and use free() before … | |
hey, im new here and i need help in installing vb.net express edition 2008 in windows virtual pc - win xp, i use win7ultimate anyway. When install, it goes like this. please help i badly need to run it. I have installed MSsql 2000 and 2005 in virtual xp w/ … | |
[code] #include <iostream> #include <string> using namespace std; class GuessAccount { private: string guestname; int guestid; double internetbill; string entrydate; int nodays; int noguest; double presentfees; double totalfees; public: void setguestname(); void setguestid(); void setinternetbill(); void setentrydate(); void setnodays(); void setnoguest(); void setpesentfees(); void settotalfees(); void displayinfo(); }; //implementation section … | |
I have a two input text field window in which users input an ID and Password. I then need to compare these passwords to allowable users. What would be the best method for associating each unique password with its specific user id? | |
i am new both to this forum and to the programming world but I know a little of java programming, html and am really interested in becoming a full time java programmer or developer.. But get confused when i read about visual basics Pls i need clarificatiions and opinions thanks | |
HI, i have written a j2me application using netbeans..can anybody tl me how to install this application to mobile????????????? | |
Hi im continuing to practise for c++ for when I go to uni next year and i have a problem with a practise example I have been given. I have set it up so the user can define the shapes and size etc, but I am unable to work out … | |
Hi Guys! I am doing a shopping Mall Project! I want that you people give me suggestions in order to make this project perfect... Regards Nouman Ayub. | |
Hi there, I'm setting up a multiple outlet online food ordering website and have a question regarding delivery charge options... Each individual outlet is going to have different delivery options, from FREE Delivery to £X cost. I simply would like to know how I include a simple piece of code … | |
//less than 10= "too cold", 10-20= "avarage", 21-30="hot",bigger than 30 ="Too Hot" import javax.swing.JOptionPane; public class TmaTwo { public static void main(String[] args) { int number; int temp; String numString; numString = JOptionPane.showInputDialog ("Enter temperature:"); number = Integer.parseInt(numString); if (number < 10 ) JOptionPane.showMessageDialog(null, "Too cold", "Output", JOptionPane.INFORMATION_MESSAGE); else if … | |
Hi, I am a student who has been given the following assignment. Before I am reprimanded for posting asking for assistance without providing an attempt at code, please allow me to explain. We have been given the assignment shown below with no explanation. We have not covered any of the … | |
I'm stumped with a somewhat complicated 'lookup table' situation. I've tried many different methods to output the data I need (and in the order I need it) but I think I'm just going around in circles. Basically I'm trying to output a <select> dropdown form element, with serveral different <options> … | |
I want to print each first character of a List of Array in upper case using C. For example, if I have Array of these elements char *d[] = {"water", "salt", "sugar", "milk", "soda"}; I want my function to print them like this Water Salt Sugar Milk Soda I will … | |
hi everyone i'm sorry i know i am asking simple questions but i really cannot understand the problem with my code here i wrote a code for the cash register ( except two buttons : clear and delete ) but it doesn't work i think something is wrong with the … | |
Hello friends... How can I change the order of the columns ? e.g. My columns order is: id name lastname and now I want to change the order of the columns like: id lastname name Thanks. | |
Please could someone help me? my merge sort code is not sorting properly. this is the code: [CODE]#include <iostream> #include <string> using namespace std; void mergeArray(int a[],int sizeA, int b[],int sizeB,int result[],int *size); void display (int c[],int num); int main () { int a[]={45, 88, 12, 23, 65 }; int … | |
I want to upload files through a web application and it works as long as the files are under 8 mb. But anything greater gives the following error in the Apache error log: [INDENT]POST Content-Length of 8593520 bytes exceeds the limit of 8388608 bytes[/INDENT] In php.ini I have: [INDENT]file_uploads = … | |
Hi :) Is there any way to look up a character's Unicode line number? Ex. Capital letter A's line number (hex) is 41 capital B is 42 etc. (more info [URL="http://www.utf8-chartable.de/"]here[/URL]) Or would I have to put them in an array manually? thanks :) | |
Hi, I want to create a scrapbook like orkut or in facebook. I am taking a text area on which the user have to write the text. The text can be any thing like "text with special characters as well as html codes. This text will be stored into mysql … | |
Hi Experts In VB .net form, How I can close/off Title Bar and how can set border width = 0 or close Border | |
hi there, im very much new in programming, and i'm having a hard time in comparing two datafiles using c#, when im adding the while loop it doesnt work, but when i remove it, it compares the first line of my datafile, what i want to do it to compare … | |
i installed wampserver yday and it worked fine when i typed in localhost in the browser. but today when i type localhost to see if apache was running without a problem - it displays the root directory that is the folders contained inside the www directory in a page named … | |
Please help me out with syntax mistakes [CODE] fun rappend(L1,L2) if null L2 then L1 else rappend(tl(L2) @ L1, hd(L2)) [/CODE] | |
hey guys, girls, others. i have a pop down widget and one of the options in the pop down screen is "Exit" which means quit. I want to know the code for clicking that "Exit" option and then it Quiting the whole program. here is my code for the pop … | |
Hi all, I'm new to JTable. I have two buttons "add Row", "Del Row" and I have some records displayed from db which contains an auto increment column. when ever "add row" is clicked a new record will be added to JTable with a auto increment column number displayed in … | |
hi i m new to learning perl please anyone tell me how do i start learn it? Which libraries are used in perl...? From where to i can get all these information? Give me brief introduction about perl....... | |
Hi All, Does anybody know how to [B]defragment windows registry[/B]. We googled and found several free tools doing the same.But no tool is having open source. One tool is there - '[U]UltraDefrag[/U]' which is open source tool written in 'C' for file defragmentation. Please provide help in searching open source/ … | |
How do i make a code so that i can open a file if the person that is using it types 1 for yes or 2 for no Heres my code, [CODE]#include <iostream> #include <fstream> using namespace std; int main(){ // for logging in int Pass, Name; Pass = 159876; … | |
Hey guys, I'm using a Point array to transfer to my panel class that draws the image. The reason I'm using coords is because it shows where the character is in the tileset for directions Ie. (20,5) is right step facing up. anyway its coming up with null pointer and … | |
Hey all, I wish to execute a shell script on click of a button from a simple html page. How do I do this? Need help!!! Thanx, Shreerang Patwardhan. | |
I'm stuck with goto. I need to stop cause sometimes, it screws up my code. I used to do something like this. [CODE] int command; start: command = NULL; // this was a random guess to see if it would work cin >> command; if(command == 1){ cout << "Your … |
The End.