132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tomtetlaw

How would i go about storing the time it took to excecute my script into a variable? any help would be appreciated :)

Software Development shell-scripting
Member Avatar for wildog
0
95
Member Avatar for arunasingh

I have problem in my project ,that is ,i want that time clock is reduced by a specific time suppose in online exam given time is alloted and after a specified time admin will block the exam ,so i want that timer is decremented . Suppose aloted time is 01:00(hh:mm) …

Software Development vb.net
Member Avatar for Teme64
0
114
Member Avatar for Qousio

Hello. Recently I have started to learn C++, however I ran into some problems. First of all, take a look at this part of code: [CODE] while (Uncomplete) { if(counter > 8) draw = true; if(draw == true) { PlaceCursor(0, 10); cout << "Its a draw!\n" << "continue?"; getch(); Uncomplete …

Software Development c c# c++
Member Avatar for ArkM
0
150
Member Avatar for rosiecomsoft

[B]IN JAVA!!![/B] what is this "noclassdeffounderror"??? i m getting this error at run time what should i do? while searching on Google i found this "public NoClassDefFoundError(String s) Constructs a NoClassDefFoundError with the specified detail message. [B]Parameters[/B]: s - the detail message." :confused:

Software Development java
Member Avatar for Ezzaral
0
82
Member Avatar for Arw

Good day programmers I am a beginner and I am designing a game with C++ using Microsoft Office Visual Studio 2005. I need to add pictures to it, and I wonder if there could be some code to add or open a picture. Could someone please guide me? Thank you.

Software Development c++ microsoft-office visual-studio
Member Avatar for amrith92
0
1K
Member Avatar for BlueNN

I've finished my first Python program that might have future use for something of importance, (rather than just [code]print('Hello, world.')[/code]), however, in order to distribute this script I need to convert my script to an executable file so they aren't forced to download Python to view the script in action. …

Software Development python
Member Avatar for Stefano Mtangoo
0
450
Member Avatar for joker21

The program must allow the user to create a login by using Dr.Java GUI. After he creates a log in it will ask the user would he like to by an Xbox360 game or a PC game. After the user clicks the box it opens a selection of 10 different …

Software Development gui java
Member Avatar for Ezzaral
0
245
Member Avatar for towelee

[CODE]echo "Please enter a number between 0 & 100 followed by [ENTER]:” read NUMBER case $NUMBER in -ge 0 –le 49) echo "F”;; -ge 50 –le 59) echo "D”;; -ge 60 –le 69) echo "C”;; -ge 70 –le 79) echo "B”;; -ge 80 –le 100) echo "A” esac[/CODE] its syntax …

Software Development shell-scripting
Member Avatar for Salem
0
73
Member Avatar for csurage

I have a problem I'm trying to write to a list box but everytime I do the program states : Unhandled exception at 0x5c560a97 (msvcr90d.dll) in Dialog_Box.exe: 0xC0000005: Access violation reading location 0x00070000. when I take out SetWindowText(); the program is fine. here is a copy of my code: [code=cplusplus] …

Software Development c++
Member Avatar for amrith92
0
1K
Member Avatar for adrian_tc

hello guys, if u are kind please explain me why the following function is not correct : [ICODE]void insertAfter(char *);[/ICODE] Here is the implementation. Header File : [code=cplusplus] #ifndef _LinkedList_ #define _LinkedList_ class node { private : char *name; int age; public: node * next; node(); ~node(); char * getName() …

Software Development c++ linked-list
Member Avatar for Lerner
0
100
Member Avatar for seebharath

Hi, I am developing a C# Forms Applications that will run a process install.exe of a certain application. I want to click the NEXT,ACCEPT,etc buttons through C# code. The Install.exe is not something under my control.. Any Hellp please...

Software Development c#
Member Avatar for seebharath
0
100
Member Avatar for Srinivasa007

Good Evening All, I'm doing a small application using python. I want to check the special characters of the ASCII values with the given characters in the text box. if(string1.rindex!="char(32)" and string2.rindex!="char(32)") message("You have entered the special characters") else: check the values in the database and it follows. Thanks for …

Software Development python
Member Avatar for jlm699
0
76
Member Avatar for tintincute

Hi I'm new to programming and I'm starting to create a simple notepad, with only 4 buttons (Open, Save, New and Font). If I open or save I'm getting an error: This is my code: [CODE]//Declare save as a new SaveFileDailog SaveFileDialog save = new SaveFileDialog(); //Declare filename as a …

Software Development c#
Member Avatar for tintincute
0
133
Member Avatar for aveao

i am trying to put the contents of a listbox into an array using listcount so i can sort and manipulate the data in the listbox using linq. Everytime I try to use listcount it errors and tells me that listcount is not a member of systems.windows.forms.listbox It also gives …

Software Development vb.net
Member Avatar for samir_ibrahim
0
75
Member Avatar for v-n

hei, how do you create a javadoc in lates netbeans version.. -V

Software Development java java-netbeans
Member Avatar for peter_budo
0
46
Member Avatar for mmmusa

Hello everyone can someone please help me on my TMA..........i'm having problems in the following Q's....please provide me the codes SNIP I WILL BE REALLY THANKFUL TO YOU:pretty: C) - Translate the following scenario to a Java Program: [10 M] We assume that an array a of size n and …

Software Development java
Member Avatar for javaAddict
0
219
Member Avatar for Intercorp

Hi There. I'm fairly new to vb.net, and i've been battling with this for ages and ages. Up and till a point where i wanted to slit my wrists. I scouted all over google, and i still couldn't find any solution. So i'm really hoping you guys can help me …

Software Development vb.net
Member Avatar for mrclark
0
2K
Member Avatar for socksy

My code is fully functional, but I know that isn't the main point of programming. A few of my functions work in ways I know they probably shouldn't but I really just don't know how to fix them. Any other general pointers are appreciated as well, trying to learn as …

Software Development python
Member Avatar for socksy
0
120
Member Avatar for bekicot

Hi , I'm student and I'm need help from yours all. I have image as a result from canny edge detection process. I would like to get Mean & standart Deviation value from this image . Anyone can help Me ??? Please!!!!

Software Development c#
Member Avatar for bekicot
0
105
Member Avatar for 35nando

Hello! When my program in C++ exits, it throws errors like: EInvalidPinter with message 'Invalid Pointer operation' ... and later: EAccessViolation with mesage 'Access violation at address 00000010 ... and finally: Abonarmal Program Termination I can't locate the code responsible for it ( I am using many libraries in my …

Software Development c++ operating-system
Member Avatar for neigyl_noval
0
322
Member Avatar for zaimah

i have been google it for answers but still cannot find the main problem.. when i debug, this error msg coming from exception section, but before that, when i put my cursor at conn (Button1_Click) to see the value it shows conn = nothing. But conn in other function got …

Software Development dataset open-source vb.net
Member Avatar for Teme64
0
186
Member Avatar for k2k

hi, i am trying to write a script to generate a big number of users in perl.. it is actually my second time writting perl .. i used to write shell scripts before. my little script seems not working because "useradd" isn't found by the compiler. if anyone may point …

Software Development perl
Member Avatar for katharnakh
0
161
Member Avatar for skillincarnate

I am having problems with compiling some code in C++ which i am learing from Deitel and Deitels C++ how to program. When trying to compile one of their examples i get the following errors D:\Web Design\C++\C++ how to program\Fig03_15>g++ fig03_17.cpp C:\DOCUME~1\SKILLI~1\LOCALS~1\Temp/ccUzb5iL.o:fig03_17.cpp:(.text+0x1aa): undefined reference to `GradeBook::GradeBook(std::string)' C:\DOCUME~1\SKILLI~1\LOCALS~1\Temp/ccUzb5iL.o:fig03_17.cpp:(.text+0x283): undefined reference to …

Software Development c c# c++ web-design
Member Avatar for Stinomus
0
363
Member Avatar for mohankumar554

hi, can u tell me how to remove blank spaces in login and password fields in python language.

Software Development python
Member Avatar for mohankumar554
0
102
Member Avatar for bekicot

Hai, I'm Student in some college in indonesia. I have some problem to implement gabor filter. But I must do it to do texture feature extraction of image and finishing my Final Project in my college. Anyone can help me how to cretate gabor filter code in c# ??? Please …

Software Development c# image
Member Avatar for bekicot
0
132
Member Avatar for Mcdermid

I've been working on this project that works with a MS Access database. What I need to do with this and what I am having trouble with is I need to select a team name from a listbox and then calculate their total points. I'm struggling to figure out how …

Software Development vb.net
Member Avatar for Teme64
0
87
Member Avatar for graffil

I have two queues Q1 and Q2 ; Q1 :A1,A2, A3 Q2: B1, B2, B3 and i want to merge them to newQ: like A1,B1,A2,B2 and so on...till the both Qs are empty what is best Algorithm do you think? I'm kind of confused i was thinking about a priority …

Software Development algorithm c++ queue
Member Avatar for Stinomus
0
99
Member Avatar for ssalsicha

HEllo, I need to dynamically activate fields in a page according to the service that is going to be executed... Let me explain: There's a page with all the possible fields and a ListBox with all the selected services to be executed, then when the user selects which service to …

Software Development
Member Avatar for Ramy Mahrous
0
101
Member Avatar for ShadowScripter

Hi, I remember from when I learned PHP, how easy and fun OOP was, and how to call member functions in conjuction (after eachother) on the same line, like this: [CODE=PHP] MyClass->Foo()->Bar()->Pancakes("flour etc"); [/CODE] To be able to do that, all you needed to do was make a return holding …

Software Development c++ oop
Member Avatar for ShadowScripter
0
100
Member Avatar for Ravenn

hi... i have a project to make an mp3 player for school.. i came up with what's under here... by basically combining parts from 3..4 players i found around the net. For now if does browsing, play, pause and close. I want to make it show position in the file, …

Software Development
Member Avatar for Ramy Mahrous
0
807
Member Avatar for Daria Shmaria

In an assignment involving cyclic shift hash codes, the instructions include the following code: [code] int hashCode(const char* p, int len) { unsigned int h = 0; for (int i = 0; i < len; i++) { h = (h << 5)|(h >> 27); h += (unsigned int)p[i]; } return …

Software Development c++
Member Avatar for Daria Shmaria
0
718
Member Avatar for gotm

It keeps giving me this elif syntax error in line 103 and I have NO idea where it's coming from. UGH!!! [code=python] #!/usr/bin/python import os.path #nxn board, in this case n = 10 n = 10 #will hold the positions similar to n-queens allPositions = [] #current state of board …

Software Development python
Member Avatar for woooee
0
180
Member Avatar for lolaabbydawn128

I have this program, I went all over the place with it and I got confused. Its supposed to call the accelerate function 5 times and get the current speed of the car and then display it. Then, its supposed to call the brake function 5 times and then get …

Software Development c++
Member Avatar for VernonDozier
0
101
Member Avatar for havejeet

Hi All, I have a checkedlistbox on my windows form. whatever Items user selects - I want them to be remembered by application for next time run - Means next time same items should be checked. To my solution I stuck at a particular point I want itemindex of the …

Software Development
Member Avatar for Diamonddrake
0
121
Member Avatar for johnny_b_30

I write a program in C but i have not the right to use the standard library. I want to open a file so i use an assembly procedure that i have write, open_file. Here is what i mean: At C code part:[code] int fp; int open_file(char* filename); .... fp …

Software Development assembly file-system
Member Avatar for johnny_b_30
0
83
Member Avatar for jupkw

hello the problem that i am facing is that whenever i click on the tc icon to start the compiler, the screen turns black first (which is normal). and then after about two seconds the compiler is exited from even without starting it. Even when i try running the exe …

Software Development c
Member Avatar for vj4u99
0
256
Member Avatar for FallenPaladin

Hi i am having alot of trouble understanding how I can triger an event when a bool value changes. I have a very vague understanding that i require a delegate to handle the event ???? and I need to add the event to the event listner with += ???? I …

Software Development
Member Avatar for Diamonddrake
0
463
Member Avatar for ! !

[url="http://www-128.ibm.com/developerworks/opensource/library/os-cherrypy/?ca=dgr-lnxw01CherryPy"]http://www-128.ibm.com/developerworks/opensource/library/os-cherrypy/?ca=dgr-lnxw01CherryPy[/url] [url="http://pyre.third-bit.com/pyweb/index.html"]http://pyre.third-bit.com/pyweb/index.html[/url]

Software Development python
Member Avatar for Arkapravo
0
136
Member Avatar for gdreisen

I'm very new to C and am working on a card game. I've got my cards and shuffle down, but I want each card to have a name. I made my cards inside an array of structs: [code] struct card { int value; int suits; int points; char name[20]; }; …

Software Development c
Member Avatar for dmachop
0
126
Member Avatar for Arctic wolf

Hello everyone, I know this forum is more about asm86 but I thought maybe someone knows enough about assembly in general or had some expirience in asm51 as well and can help me with my questions(wich are simple), I needed a 16bit(word) counter and I didn't have appropriate register for …

Software Development assembly
Member Avatar for Arctic wolf
0
103
Member Avatar for rizillion

Please can someone tell me the difference between a struct and an enumeration?

Software Development c++
Member Avatar for tux4life
0
204
Member Avatar for flash121

Hello, i'm drawing a rectangle in my onpaint method, which id like to rotate around a certain point (mouse movement would rotate it - basically, one end of the rectangle would be static, the other would be change with mouse movement). Ive tried to look it up myself, but no …

Software Development
Member Avatar for flash121
0
80
Member Avatar for Usura

hey is it possible to create a pointer that points a struct value, like [CODE] struct person{ int name; int age; }; person me; person *ptr = me.name; [/CODE] any suggestions on how to do this?

Software Development c++
Member Avatar for Usura
0
72
Member Avatar for ebabes

Can anybody help me create a crystal report by merging two different tables in just a single report. I usually do it using the wizard of crystal report yet, I don't arrive with the format that I wanted to happen. The report looks like a report from a table plus …

Software Development
Member Avatar for jerry32uk
0
129
Member Avatar for Zibo

Hello. I've got simple JFrame and into that I put JPanel (object of subclass of JPanel class). I want to check, what's this panel's size from inside of this panel class, but every method (getSize, getBounds) returns [0,0]. If I call getSize method from JFrame class, then it's fine, but …

Software Development java
Member Avatar for Zibo
0
191
Member Avatar for rizillion

why does "Array out of bounds exception" error occur when tryin to complie

Software Development c++
Member Avatar for tux4life
0
454
Member Avatar for rickdanna

Hi, I am really, really new to VB .NET and cant get my head around loops, can someone suggest something to add to the end of my code. Description of Program/Events. I would like to come up with a number generator that takes the Total number (for this example I'll …

Software Development vb.net
Member Avatar for Teme64
0
97
Member Avatar for MrMackey

Hi everyone, Here I will keep you updated on my first java project that I do, excepting the school projects. The main Idea is to make a new window where calculations are done by [B]multiple inputs and outputs[/B]. At school I already learned to make windows, fields and buttons, but …

Software Development java
Member Avatar for verruckt24
0
86
Member Avatar for En-Motion

I need to write a simpe calc. program to add, mutiply, subtract and divide. I want to have two textboxes that I enter numbers in and when I click a button, +,-,/ or * a third text box will display the result. Rather than declaring my variables inside each instance …

Software Development vb.net
Member Avatar for Teme64
0
178
Member Avatar for dolly37

I have to read a bin file in perl/tk. I have been able to read and open the file, but the read in file only has every other line from the original file. I am using following to open the file. my @contents; open(FILE,"example_data4.bin") or die"cant open file: $!"; @contents …

Software Development file-system perl
Member Avatar for crb3
0
127

The End.