43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for mameth

Hi, I'm looking for a plotting library for c that works under windows and unix. And the library must contain only one file(which is the header), so i can move it with my source code. It is required for a chem engineering project for school, i need to plot the …

Software Development c engineering unix
Member Avatar for mameth
0
119
Member Avatar for johnherbie

Hello, first post here. I am beginning with c# and I am writing a media player using the Irrklang audio engine. All is going well there. I am now looking to improve the interface and would like to change the sliders from basic Windows Forms style into dials and knobs …

Software Development audio
Member Avatar for johnherbie
0
145
Member Avatar for gcardonav

Hi everyone: I ahve this program to plot a graph using x and y coordinates. I cna plot the graph but I will also like to plot the x and y vlaues and name the xx and y coordinates. Anyone can help me ? Here is my code. [code] // …

Software Development java
Member Avatar for gcardonav
0
4K
Member Avatar for RehabReda

hi guys:) i am facing a problem:-/ it is a recursive function and one of its parameters is of type list when the function reaches its end and goes back the list won't be like the old one:?: but it will be updated with the newer on in the last …

Software Development
Member Avatar for DdoubleD
0
2K
Member Avatar for AssaultM16

Hi! I have two questions about functions. First how can I use a main() local variable in a function outside of main? And how can I use a variable in the function paramaters which already has stored information (stored in main() ), and not have to give it new information …

Software Development c++
Member Avatar for mrnutty
0
99
Member Avatar for zachabesh

Hi all, Here's my issue: [CODE=python]>>> a = [1,2,3] #all good so far >>> b = a #make a copy of a, called b >>> b.remove(1) #remove value 1 from b ONLY >>> print a #grrr, value has also been removed from a [2, 3] >>> print b #and b! …

Software Development python
Member Avatar for zachabesh
0
102
Member Avatar for turbomen

Dear Sir, I have made a question by myself. For example: I am playing the card game to my friend. The card has Spade, Heart, Club and Spade as usual but no number. How can I do if I only play five time and finally there is a record of …

Software Development pascal
Member Avatar for turbomen
0
110
Member Avatar for AceiferMaximus

I have a form that uses a background worker, and I was just wondering if I need to Dispose of it personally, or if it does it by itself when the event is compelted. I would assume it will Dispose of itself, but I just need to make sure I …

Software Development
Member Avatar for AceiferMaximus
0
117
Member Avatar for FearlessFourie

Hi ppl, I am having a problem with playing mp3's in my program. Let me explain, I am writing a program for my choire, I need to do it in a low base languege like pascal since the systems used are not great. My program is writen on exact timing …

Software Development flash pascal
Member Avatar for FearlessFourie
0
357
Member Avatar for FearlessFourie

Hey Dudes and Dudets, The program I'm writing requires a string of 200 char, the max for a string is 255, so everything works fine, if I readln the text more than 80 charecters (wich is eol) then it truncates and goes to next line, cool, but if I put …

Software Development display pascal
Member Avatar for FearlessFourie
0
155
Member Avatar for turbomen

Could you mind telling me what can I do for the following question? To write a skeleton program for the assignment. It should have a menu system with at least 5 options. The menu keeps repeating after each procedure is called. When one of the procedures is called just return …

Software Development pascal
Member Avatar for FlamingClaw
0
118
Member Avatar for papanyquiL

Hi, Let's say I have a form with a button on it. When I press the button, a messagebox pops up saying 'Hi.' Now let's say a user has this application installed on their computer via the installation project. My question is, how can I create an 'updated' app to …

Software Development
Member Avatar for papanyquiL
0
86
Member Avatar for java dummy

When I compile the program below I get the message "variable x may not have been initialized" yet as far as I see I did. I am trying to have a program where a person selects a number from 1 to 10 and it then shows the corresponding string from …

Software Development java java-swing
Member Avatar for cgeier
0
104
Member Avatar for leegeorg07

i have a program that converts text into morse code and then outputs it using a module i found in the snippets section but whenever i try to run it, it raises the error that "utext is not iterable" here is the code: [code=python] morse_code={ "a":beeps.a(), "b":beeps.b(), "c":beeps.c(), "d":beeps.d(), "e":beeps.e(), …

Software Development python
Member Avatar for leegeorg07
0
102
Member Avatar for kk2628

Hi, I can use webbrowser.open_new(url) to open an browser window easily, but how do I close this browser window ? I have searched the web and still not able to find a solution. Another way of doing this might be to start the browser window in a separate program (progA) …

Software Development python web-browser
Member Avatar for kk2628
0
6K
Member Avatar for stevetaylor15

I want to specify a global variable and read/write that variable in various contexts, do you guys know how I do this? because I want to read from various context I want to be able set this global var within the public static void Main(string[] args) and then read this, …

Software Development
Member Avatar for sknake
0
139
Member Avatar for kevin.cochrane

Hi guys I wrote this program that interacts with Excel and it was working pretty darn well. I was off work sick for a week and came back to a fresh windows install and a program that now hangs on this line: oSheet = (Excel.Worksheet)oWB.ActiveSheet; with the following error: Invalid …

Software Development
Member Avatar for sknake
0
379
Member Avatar for ajschoeman111

Hi I am a new bee, I am trying to insert data into a database white the use of parameters. When I run this code I get an error message: "No value given for one or more required parameters." Any help will be appreciated conn.Open() sql = "INSERT INTO Categories(Name) …

Software Development vb.net
Member Avatar for ajschoeman111
0
100
Member Avatar for pao09

can someone please check my code because it doesnt update my database.. i set the room no. as the primary key.. can you please help, its urgent.. i need it tomorrow.. thanks. [CODE]Dim con As New OleDb.OleDbConnection con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=..\data\YayaDB.mdb" con.Open() Dim query = "UPDATE Rooms SET …

Software Development open-source vb.net
Member Avatar for pao09
0
132
Member Avatar for T3Roar

Hi all, I'm writing a program which will replace certain words in entered text and output the modified sentence. I've opted to use StringTokenizer to split the sentence, put the words into a string array, use a 'for' loop to replace the necessary words and then output the array once …

Software Development java
Member Avatar for T3Roar
0
117
Member Avatar for ihatestarch

How do you add a character containing a number char to a number int? What does it mean when '0'+3 is '3'? (3 being an int) I remember being told once, but never got the hang of it.

Software Development c++
Member Avatar for ihatestarch
0
151
Member Avatar for xfreebornx

[CODE]#include <iostream> using namespace std; struct student { int ID; char name; char nationality; char gender; }; void record(student array[]); int main() { cout <<"Welcome to student recording system"<<endl; cout <<"Please choose one of the following option"<<endl; cout <<"1.Insert new record"<<endl; cout <<"2.Delete record"<<endl; cout <<"3.Sort record"<<endl; cout <<"4.Display record"<<endl; …

Software Development c++
Member Avatar for Ancient Dragon
0
321
Member Avatar for Nathan Campos

Hello, I'm learning C++, then i want to know how i can do a convertion of an decimal number to an hexamal number, i know the calculation form to do this, but the thing that i don't know is how i can represent the remain in the formula. Here is …

Software Development c++
Member Avatar for Nathan Campos
0
102
Member Avatar for Nathan Campos

Hello, I'm beginning in the OS development(In Assembly, Nasm as Assembler) and i need to implement a command-line on it, but i don't know how to do this, but what i want to say as command-line is like MS-DOS or UNIX: [CODE]> ver BerlOS v.0.0.1 > _[/CODE] But i don't …

Software Development assembly unix
Member Avatar for Nathan Campos
0
214
Member Avatar for ShadowZ00

I have been trying for about 3 days now trying to find a way to open multiple instances of a simple program and have had no luck. It is being used to log into a site multiple times and the web browser component uses the same cookie which is stopping …

Software Development vb.net web-browser
Member Avatar for sknake
0
86
Member Avatar for ggl0rd

who know how to make data show at textbox from this code. from the below code, i only can check if that data got in database or not, if got it show a msgbox. but i want the all data show at text.. [B]example[/B] i search data use a NoIC …

Software Development open-source vb.net
Member Avatar for ggl0rd
0
137
Member Avatar for Andrew de Beer

I use a treeview control to show a logical hieracy. But I cant get it to refresh when the values change. Running the code again just add more detail to the bottom of the previous nodes. I know it must be a simple requery or refresh but am stuck. Please …

Software Development visual-basic
Member Avatar for debasisdas
0
159
Member Avatar for wil0022

hi I am talking C# this semester, can anybody help me with my assignment? Here is the problem: Determines whether a number is prime by checking whether 2,3,4,5,6..., n/2 is a divisor. If a divisor is found, not is not a prime number. A more efficient approach to determine whether …

Software Development
Member Avatar for DdoubleD
0
141
Member Avatar for guiman

I have a message Box with two options, Retry or Cancel. Upon clicking cancel, I want to close the MessageBox and then load the main Form. Any idea how to do that? This function is already within a button_click function and I want to get out of this function and …

Software Development c c# c++
Member Avatar for DdoubleD
0
124
Member Avatar for rhoit

cout<< worked out for every other pointer data type but... when char is fed it show the pointed address.....(which every one knows) but i want to see the address stored in the char pointer how to see it.. i was thinking using `printf()` but ruined out by not knowing what …

Software Development c++
Member Avatar for Tom Gunn
0
185
Member Avatar for acidnynex

I'm having a ton of trouble reading the text from a file into an integer array, the file contains 3 lines of 1,000 integers from 0 to 1. The array is myArray[3][1000]. So far I've tried to use a stringstream to no avail and I've attempted to use a few …

Software Development assembly c++ ios
Member Avatar for acidnynex
0
102
Member Avatar for especta

i have 1 combobox and i have auto Assign stringlist from advstringgrid its working ok . I need to activate filter sorting condition based on select string from combobox. hire is buton comand it work fine [code=delphi] advstringgrid1.Cells[9, 0] := 'some word '; CheckBox1Click(Sender); I need ,, ('some word';)" to …

Software Development delphi pascal
Member Avatar for especta
0
167
Member Avatar for hmortensen

Hi All, I'm trying to make a routine that returns node number XX from a BST. The nodes are as follows: [code=syntax] struct Node { signed int type; Node* child1; Node* child2; }; [/code] I can easily count the number of nodes by [code=syntax] long Pheno::CountNodes(Node* n) { if(n==NULL) return …

Software Development c++
Member Avatar for hmortensen
0
106
Member Avatar for rhoit

Why Can`t member function be called by pointer object of class/struct. i was trying to call the member fuction of struct though pointer object it showed me error like request for member 'Table::reveal' in `T1`, which is of non-class type 'Table*' where, Table is structure reveal is member function T1 …

Software Development c++
Member Avatar for rhoit
0
270
Member Avatar for chris5126

HI Guys, Prob a very simple one but im stumped, I run the following command and get: [code] date Wednesday, 19 August 2009 09:20:59 BST [/code] But when I run [code] date -u '+%y%m%d.%H:%M:%S' 090819.08:21:27 [/code] My question is why is the second command an hour behind? In my environment …

Software Development shell-scripting
Member Avatar for iceman29
0
196
Member Avatar for skelly16

Hi All Facing issue with using sed and globally replacing a word with date variable for a sql file. Any help would be appreciated. [code]sed -e "s/DATEST\/$DATESTART/g" $SQLREAD > $SQLNEW sed -e "s/DATEST\/08/25/2009:07:41:41/g" /uat/ut21_sysmon/quest/foglight/JJ/jjsql Suffix too large - 512 max: s/DATEST\/08/25/2009:07:41:41/g[/code] Thanks

Software Development shell-scripting
Member Avatar for skelly16
0
361
Member Avatar for Wenners

Hi, I strange thing is happening in my app. I have a main form (IsMdiContainer =True) containing a gridview, which when double clicking a record opens a form in Modal state containing a TabControl. When I close down form 2 and select another record, the form opens with the new …

Software Development vb.net
Member Avatar for samir_ibrahim
0
127
Member Avatar for Kakooty

Hi i wrote a program which get query from mysql and store in varible in C.but it can't convert Object mysql ro int.any idea?? [CODE]#include <stdio.h> #include <string.h> #include <mysql.h> #include <stdlib.h> int main(){ char *email, name[30], domain[30], query[100], tmp[200]; int i=0,j,k; unsigned int size; email = "test@example.com"; char ch; …

Software Development c
Member Avatar for Kakooty
0
98
Member Avatar for kernel>panic

I have this encryption program that I spend hours on. I thought I had it all worked out but no. What could be my problem can anyone help me. You can ignor the void doSet() I will ad that later. Thanks.

Software Development c++ encryption
Member Avatar for VernonDozier
0
394
Member Avatar for serkan sendur

although my code passes the test below, it cant delete a file and generates unauthorizedaccessexption. do you know why? FileIOPermission filePermission = new FileIOPermission(FileIOPermissionAccess.AllAccess, @"C:\helloworld.txt"); try { filePermission.Demand(); MessageBox.Show ("Permission demand successful"); } catch( SecurityException securityEx ) { MessageBox.Show( securityEx.Message, "Security Exception" ); }

Software Development
Member Avatar for serkan sendur
0
134
Member Avatar for xiikryssiix

hello everyone... i wrote a basic program for my C++ class that includes SUMs and while loops. its fairly self explanatory, but i am not getting the correct SUMs for my outputs. apparently, i am missing something extremely important somewhere here. can someone take a look and give me a …

Software Development c++ perl
Member Avatar for xiikryssiix
0
247
Member Avatar for stvrich

Hello This is a completely foreign thing to me, so, forgive my "Noob-ness" I'm so embarassed. You programmers out there are prob gonna say, "how much easier can we MAKE it for you?" I just installed the python gui on vista. (I will re-install it on THIS xp machine also …

Software Development gui python windows-vista
Member Avatar for stvrich
0
240
Member Avatar for darangho

Hi all I just have questions about how not to show messages after you execute a certain command. for example whenever you execute "which xxx" there will always be a message on the terminal saying its path or command not found will be written. is that possible to write a …

Software Development shell-scripting
Member Avatar for sknake
0
144
Member Avatar for nolesce

I had an issue getting data beck from a popup form and was assisted with a solution from Stevoni (thanks again). It has led to another problem however. In trying to send data to the popup I have over loaded the constructor to get the new data across. It appears …

Software Development vb.net
Member Avatar for Stevoni
0
104
Member Avatar for kernel>panic

I want to know how to seek to a point in a file. Example I have a database program with a text file named "info.txt" There are two lines in it: Password = user makes password Activated = true/false How do I make the program find if they have activated …

Software Development c++
Member Avatar for kernel>panic
0
184
Member Avatar for Steammike

Hi expert, i facing a problem when i try to connect to database by using vb.net below is my code: Imports System.Data Imports System.Data.OleDb Public Class Form1 Dim dSet As New DataSet Dim da As OleDb.OleDbDataAdapter Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim User, …

Member Avatar for Steammike
0
331
Member Avatar for TheWhite

I'm trying to make an app that will memorize 1 point on the screen and continuously click that point (running on a timer) until it is manually stopped. I've noticed that the mouse functions require you to be "inside" a component for it to recognize the mouse position or do …

Software Development java
Member Avatar for TheWhite
0
103
Member Avatar for mahela007

Hi.. I'm just curious as to how one would set about writing some python code to monitor the network usage in one session... The program should simply record how much data has been downloaded from the time the computer is switched on to the time it was switched off. What …

Software Development python session
Member Avatar for willygstyle
0
3K
Member Avatar for sab786

hi all, i still cant get myself out in my previous thread i wrote that i wanted to carry out a random sample function on an entire file.. now what i wish to do is read a file use a dictionary to search lines and then get this lines and …

Software Development python
Member Avatar for willygstyle
0
148
Member Avatar for acidleaf

I am currently working on a school assignment which requires us to read and write two kind of derived objects into a file, but i cant seem to read them in correctly once i have saved them into a .dat file. here's what i have got so far: the base …

Software Development c++ file-system ios
Member Avatar for acidleaf
0
217

The End.