199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for emaellie

I have been a histogram assignments to do in C++ although i kno how to do in Visual Basic. I have tried to do it in C++ but it seems ive missed out a few steps. below is what i have done so far, please correct me where am wrong. …

Member Avatar for adityatandon
0
1K
Member Avatar for ferrari77

Problemo: My PHP Script (it's just a snippet) is not picking up my JavaScript code. It doesn't even see the zip code field. It says it doesn't exist: [CODE] <?php $zipCode = $_GET[zipCode]; //echo "data:".$zipCode; $json = "{data:.$zipCode}"; echo $json; //echo json_encode(array("data"=>$zipCode)); //print ("Zip Code:".$zipCode); ?> [/CODE] I'm passing it …

Member Avatar for diafol
0
324
Member Avatar for Zssffssz

Im Talken About The Basic (As in Simple not BASIC) DLL not Win32/OS/2 Kind. I Want The Dlls for the program to be in the 'bin' Directory thats is in the same folder as the .exe. Is there a simple (Not Moving Kansas) way to do this?

Member Avatar for Zssffssz
0
152
Member Avatar for Srinivas0

can some please explain what are command line parameters ? i read many books, read online didn't understand anything on what they are and when or how to use them. :(

Member Avatar for Srinivas0
0
189
Member Avatar for ila_asia

hye..can somebody help me with these problems as soon as possible?? really need your guys help Create a phone book program that allows users to enter names and phone numbers of friends and acquaintances. Create a structure to hold contact information .The user should be able to add phone book …

Member Avatar for adityatandon
0
205
Member Avatar for kkevinnnn

Well anybody pls try this: i will give an address that is 0xB8000 Now u write a function in which we can write a string and define its colour so you write the string in that memory area and increment it, and again write the colour info in that area …

Member Avatar for gusano79
0
164
Member Avatar for scsi

Hello, i would like to ask you help with my code, i can't understand why exactly it doesn't work like i am expecting :). I am working through "How to Think Like a Computer Scientist" by Jeffrey Elkner, Allen B. Downey, and Chris Meyers so i am still doing my …

Member Avatar for TrustyTony
0
151
Member Avatar for MJRdz

Hi, I have some problems with a script, look, i have an UltraWebGrid and I want it to give me a variable when i choose a row, that's ok, the problem is that I have an input buttom disabled and a label, I want the buttom to become enable and …

Member Avatar for stbuchok
0
196
Member Avatar for lxXTaCoXxl

I'm trying to create a struct for an 8 bit signed integer, seeing as how I'm creating a calculator it would be useful. Windows' calc.exe has this set up as precision for Qword, Dword, Word, and Bytes. I have 64, 32, and 16 because they're already programmed into Visual C#. …

Member Avatar for gusano79
0
132
Member Avatar for lrh9

I am doing some hobby coding regarding neural networks, and I was wondering if this is a correct and good use of abstract base classes or not. [code=PYTHON]import abc import collections import math import weakref class AbstractNeuron(metaclass=abc.ABCMeta): def __init__(self, weights, f=math.tanh, bias=1, biasWeight=0): self.weights = weights self.f = f self.bias …

Member Avatar for TrustyTony
0
206
Member Avatar for nikuki

I recently added a shout box to my page and I am interesting in adding emoticons. I have searched around and found no standalone emoticon script, at least none that I could get to work. I would appreciate any suggestions on how to add emoticons to my shout box script. …

Member Avatar for dean8710
0
193
Member Avatar for labise

i can not get mail from forgot_password.php why? I use a free hosting. [CODE] <?php // Require the configuration before any PHP code as the configuration controls error reporting: require ('./includes/config.inc.php'); // The config file also starts the session. // Include the header file: $page_title = 'Forgot Your Password?'; include …

Member Avatar for labise
0
379
Member Avatar for Tank50

Hi Guys I want to crete the SQL Tigger.There is table called Fruits.In fruits table it contain ITEM_CODE,ITEM_NAME and PRICE.So there is application that used to insert the values into fruits table. So I want once ITEM_Name or ITEM_CODE is update then sql trigger execute and It insert the update …

Member Avatar for adam_k
0
127
Member Avatar for torkolort

Hi, I'm making a scoreboard for a simple word-game. The easiest way for this seems to be a JTable. I need both column headers and row headers, I believe this is achievable in JTable? For each game, the column headers should represent a random selection of predetermined categories, and the …

Member Avatar for JamesCherrill
0
331
Member Avatar for mmazeemahmad

Hi All, I want to build my final year project in human resource management system in C#............. But after a lot of search on the web i didn't find any source code for it to develop.... kindly give me some references that make it easier for me to develop my …

Member Avatar for mmazeemahmad
0
545
Member Avatar for axwell

hy all, i'm trying to make a simple web browser using windows forms to connect to an FTP server. Everyting works ok. the problem is when a try to enter into a folder the Iexplorer opens with the content instead of the same program window. i have searched for a …

Member Avatar for lxXTaCoXxl
0
127
Member Avatar for u.j.chandler

Hi, I'm pretty new with c#. And i'm learning now about delegates. I understand what they are (i think...) and how to use them. But i don't understand why would I need \ want to use them in the first place ? from what i get (which is probably wrong) …

Member Avatar for skatamatic
0
184
Member Avatar for lxXTaCoXxl

I've been reading on these for some time now, and as a long time code maker for video games I have a completely different look on them since back then I was just going by what I was teaching myself. But I'm wanting to know how to assign the pointer …

Member Avatar for lxXTaCoXxl
0
111
Member Avatar for Armanious

I am aware of the MouseInfo.getPointerInfo() method, but you can only get the mouse location using this. However, I also want to know the buttons pressed (specifically just the BUTTON1_DOWN_MASK), without any events. This is because the program will ask the user to create a rectangle by dragging the mouse …

Member Avatar for JamesCherrill
0
238
Member Avatar for fmasroor

This is a strange question, but it's very frustrating to me. In microsoft visual c++, when I open a cpp file, I can not compile it. Is there a specific way to open the file so that I can run it after opening? Thanks.

Member Avatar for NP-complete
0
101
Member Avatar for amir1990

i have a problem with this code: [CODE]s = "johnny" j = 'j' y = 'y' re.search(rj'\w+'+y, s).group[/CODE] i want to put the j variable instead of the string, with the y variable its ok but with the j i got an error!!!

Member Avatar for amir1990
0
99
Member Avatar for lbgladson

How do I get the console from closing immediatley upon opening in a Console Application program? I have all of the code written but when I run the program it pops up the console window and then immediatley exits so I am unable to read what is in the window …

Member Avatar for Begginnerdev
0
252
Member Avatar for awaresefere

hi guys:)if i have three lines saying "line1","line2"and "line3" and if i want to modify the first line to "line1 ok", the second to "line2 ok " and replace in there original location so i will have "line1 ok",line2 ok" ,"line3" for each line after modification.what should i do to …

Member Avatar for lxXTaCoXxl
0
3K
Member Avatar for VIPER5646

Hi all In the following Sub I'm sending an Attachment when the email has been sent I would like to delete the attachment but I get an system.IO.IOException Error. the file I'm trying to delete is being used by another process. How can I detect if the process has finished. …

Member Avatar for VIPER5646
0
655
Member Avatar for auwi987

hey guys need some help in string manipulation, example i have a string LFname = "Hello, world" and textbo1,textbo2. now i want to display "Hello" in textbox1 and display "world" in textbox2. by the way guys thanks for your patience :)

Member Avatar for auwi987
0
101
Member Avatar for weeraa

I'm a beginner to C# and going to develop a application using C# and SQL server 2005. one of my tables has a field named with DATE. data type is also 'datetime'. i can insert data to the database using my application properly. now i want to filter my data, …

Member Avatar for kamilacbe
0
161
Member Avatar for ocw91

Seriously need help here how can i wrte a program that read character only? i mean alphabert like people key in "i +am+ 12567 a",;. boy," and the program only read iamaboy is there another way other than lowercase the string and then compare a-z?

Member Avatar for JamesCherrill
0
162
Member Avatar for aashishn86

[code] var weekend = [0,6]; var weekendColor = "#e0e0e0"; var fontface = "Verdana"; var fontsize = 1; var gNow = new Date(); var ggWinCal; isNav = (navigator.appName.indexOf("Netscape") != -1) ? true : false; isIE = (navigator.appName.indexOf("Microsoft") != -1) ? true : false; Calendar.Months = ["January", "February", "March", "April", "May", "June", …

Member Avatar for Prashantchavan0
0
175
Member Avatar for ocw91

I successfully compile the code through cmd, however when i run it, when i enter my password with anything(which fulfill the first condition (6-20))it will show error. The question is to write a program that let user to create a password which is valid (more than 6 letters, must have …

Member Avatar for stultuske
0
193
Member Avatar for gopal1993

Hello all, Actually i had a program which i was unable to solve i hope youll help me out and post your solutions. The program is: A Bowler is called the Best, if the average wickets taken by him during the year is 5 and above. The number of matches …

Member Avatar for tkud
0
88
Member Avatar for ptara1

I have a section of code that takes a form, with numerous drop down boxes, and runs the results through a mysql database for rows that have the exact wording in them. So say in the drop down box you have three options, No Preference, Fun, Not Fun. Currently my …

Member Avatar for simplypixie
0
123
Member Avatar for fawadkhalil

Hi In my application i have used master page. I created a web form that DID NOT USE master page. Is it possible that from this form i can access master page controls. If yes then how can i access it?

Member Avatar for fawadkhalil
0
91
Member Avatar for ocw91

I have a serious problem here! i understand that the switch is wrong(the Str class should be fine). I wonder what datatype should it be? and if "char" how i am going to key in int value and how to use scanner on it ? The display menu is fix. …

Member Avatar for ocw91
0
181
Member Avatar for eawade

This is driving me crazy. I wrote a php api file and stored it on my server. When I run the url directly the JSON results are perfectly echoed to the screen, with no problem. However, when I attempt to access the results from another domain (e.g. Cross domain) I …

Member Avatar for Airshow
0
139
Member Avatar for sun_2588

Hello Everyone, I am making a GUI using Tkinter... I have completed that the GUI now i want to put the validation on those Entry Widget,,,,,... i know, i have to use the re module...... but i really cannot understand that....can someone please give me the simple example...like if i …

Member Avatar for TrustyTony
0
309
Member Avatar for adarshcu

Hi All, I have a JAR file that contains a .dll file. But during an ant build a ZIP Error is thrown [CODE]error reading D:\COE\Libraries\client\WSQUtil-1.0.jar; error in opening zip file[/CODE] Is there a way to overcome this ? The jar looks fine(opens in winzip) and eclipse build path also references …

Member Avatar for adarshcu
0
227
Member Avatar for felix001

Does anyone know the SQL statement for replacing a string in the whole of a database. My database is called DB1 and I want to remove any instance of "Table/". Many Thanks,

Member Avatar for smantscheff
0
150
Member Avatar for dany12

Hay everyone I want to learn(I need to learn java) java very fast. I have some knowledge of java but not the fundamentals like in html css php or sql and mysql. I know that the structure of a program in java starts with the imports than if you have …

Member Avatar for dany12
0
303
Member Avatar for cvanithakpm

plz help me... which file contains an applet that is to be run inside a browser? and is rmi is one language dependent architecture?[code]which file contains an applet that is to be run inside a browser[/code]

Member Avatar for cvanithakpm
0
60
Member Avatar for Majestics

I am using jcalendar... I want to bind it with a textfield, i am using button to display this calendar , but i want to display it below the date text field, any suggestions???

Member Avatar for Majestics
0
98
Member Avatar for BilalAKhan

Hi, I have created a blog and having a problem in managing the blogs where the user can delete their blogs. I want that if a person logs in, he or she should be able to see only their blogs. For this I am have made the blog table in …

Member Avatar for BilalAKhan
0
165
Member Avatar for theQube

Is it worth going out and using a program like JCreator or something like that compared to good-old notepad? They all should compile the same code, no? Ian

Member Avatar for zeroliken
0
274
Member Avatar for khelly

[CODE]#include<iostream> #include<fstream> #include<string> #include<vector> #include<algorithm> using std::cin; using std::cout; using std::string; // clothing codes struct codes { char code; const char* explanation_1; float total_sales; }; codes CODES[]={'A',"BABY WEAR",0.0F, 'B',"CHILDREN WEAR",0.0F, 'C',"LADIES WEAR",0.0F, 'D',"MENSWEAR",0.0F, 0,NULL,0.0F }; struct RECORD { char category; int item_number; float price; }; const string filename="jualan.dat"; int menu(); …

Member Avatar for khelly
0
122
Member Avatar for puppycrazy

my codes occur some problem inside.whn i answered 'N' to the last question(DO YOU WISH TO CONTINUE?(Y/N)), the program will repeat run again, but i cnt enter student name!anyone can help me solve the problem>? [CODE] import java.util.Scanner; public class homewok{ public static void main(String args[]){ Scanner xx = new …

Member Avatar for puppycrazy
0
358
Member Avatar for ben1996123

I want to start learning OpenGL. Codeblocks decided to break, so I downloaded Dev-C++ instead. I've tried loads of different websites to try and figure out how to install it, and I get some type of error every time. How should I install it with dev-c++?

Member Avatar for ben1996123
0
103
Member Avatar for smiley4080

This is a part of hospital diagram. Each nurse can be assigned to different wards on different days of the week so a nurse must be supervised by another one who is assigned to the same ward on the same day of the week as the nurse or the nurse …

Member Avatar for ChrisPadgham
0
289
Member Avatar for sirlink99

When I run my website I have random bits of php showing, and the background doesn't appear. Here is what bit is showing [CODE] "); } ?> [/CODE] and here is my code [CODE] <!DOCTYPE html> <head> <title>Website Name</title> <meta http-equiv="Content-Type" content="text/html; charSet=UTF-8"> <link rel="stylesheet" href="styles.css" media="screen" /> </head> <body> …

Member Avatar for sirlink99
0
158
Member Avatar for noamwegner

what are the diffrences between CREATE INDEX [WITH IGNORE_DUPLICATE_KEY OFF] and CREATE UNIQUE INDEX it sounds the same! and if anyone knows when creating a plain INDEX just CREATE INDEX whether it creates a clustered or nonclustered index couldnt find an anshwer to that thanks in advance

Member Avatar for darkagn
0
105
Member Avatar for mrnobody

Hi guys, I've been struggling for days to do this. I've got 2 form. The first form (Form1) is to assign a variable (Result) a value. Another form (DisplayResult) is to display out the value. Actually, my purpose is to learn how i can use global variables to share information …

Member Avatar for mrnobody
0
248
Member Avatar for ben25x

Before looking at the code, here's an explanation: NIDAQmx is a hardware-in-the-loop integration software from National Instruments. They give this sample code to create any voltage out of the card. The variable "float64 data[1]" is a double precision floating point that defines the actual voltage being emitted from the card; …

Member Avatar for ben25x
0
458

The End.