132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for D_switch

problem: a list represented using cursor based implementation contains all ACT, BSCS, BSICT, BSIT and BSMATH students. A dictionary is created implemented using open hashing for BSCS and BSIT students. Each grouping the dictionary is a list implemented using cursor based. given below is the definition of the LIST, Dictionary, …

Software Development c
Member Avatar for Luther von Wulf
0
105
Member Avatar for Duki

Hey guys, I'm getting this error: [quote]1>GoblinRecruit.obj : error LNK2019: unresolved external symbol "public: void __thiscall Mob::set_data(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int,int,int,int,int,int,int,int,int)" (?set_data@Mob@@QAEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHHHHHHHH@Z) referenced in function "public: __thiscall GoblinRecruit::GoblinRecruit(void)" (??0GoblinRecruit@@QAE@XZ) [/quote] When I try to run this section of code: [code=c++] #include "Standard Libs.h" #include "Ability.h" class Mob { private: string …

Software Development c++
Member Avatar for Duki
0
99
Member Avatar for PixelExchange

Does anyone know how to "disable" the windows taskbar.. or at least "hide" it, using Win32? I've seen it done in another program.. but I was clueless as to how the person did it. I would like to be able to display one of my programs on the entire screen, …

Software Development c++ opengl
Member Avatar for PixelExchange
0
484
Member Avatar for sana_moi

hellow need your help there is my code i try to get the text from combobox & put it in request but when i wont to ut the result of the request in other texbox i figure out that the value is empty : [code]HSTMT hStmt; char* nbnk; int ret1; …

Software Development c c# c++
Member Avatar for sana_moi
0
101
Member Avatar for 333kyle333

Okay, this is probably gonna sound dumb, but I need to know if it's possible to take a variable held using C++ and make it an environment variable in a Linux terminal. If it makes a difference, I'm using Ubuntu Linux with the Gnome shell.

Software Development c c# c++ ubuntu
Member Avatar for 333kyle333
0
304
Member Avatar for ^Y^ nobody ^Y^

Hi, i'm making a program that outputs a lot of questions at 1 time. .... ?? .... ?? .... ?? and i want write the answers in front of the questions and input it in the same order... that would be like How are you? and i write the answer …

Software Development c++
Member Avatar for Kanoisa
0
164
Member Avatar for vgd

I am not getting a efficient way to solve the problem, the time taken i more than 5 sec while the time alloted for this problem is 1 sec .so please help me .please give me a answer using collections. ========== EASY - 2 ========== The great pirate Khurafati and …

Software Development java
Member Avatar for jon.kiparsky
0
158
Member Avatar for anz2050

Hi I want to capture the output into java varible of one of the command line statement. The command line statement is as below: [COLOR="Green"][B]..\_jvm\bin\java.exe -cp ..\DataLoader.jar com.salesforce.lexiloader.security.EncryptionUtil <option> <password>[/B][/COLOR] Infact this is the command line utility thru which I encrypte my password, if i do manually. [B]But I want …

Software Development java
Member Avatar for anz2050
0
248
Member Avatar for faizahamed
Member Avatar for Nick Evan
0
120
Member Avatar for TrueVb.NetNoob

Hi Everyone! I have trouble in finding a way to hide or let certain amounts of items be unable to see in a listbox. Here is what I have done so far [CODE]Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged Select Case ComboBox1.Text Case "Snacks" ListBox1.Items.Insert(0, …

Software Development vb.net
Member Avatar for TrueVb.NetNoob
0
2K
Member Avatar for Ghost34

i recieving error on rs.open up to conn on private sub cmdlogin [CODE]Dim conn As ADODB.Connection Dim rs As ADODB.Recordset Dim sql As String Dim cmd As ADODB.Command Dim button As String Private Sub ConnectToDB() Set conn = New ADODB.Connection conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" _ & "Data Source=" & App.Path _ …

Software Development open-source visual-basic
Member Avatar for kinwang2009
0
210
Member Avatar for udaraps

Hi all im doing a project on bed ordering system. There i'm using some text boxes to display the selected bed item's description ( like manufacturer, size of bed & price of bed). When the user input the value for the quantity text box & click on the add button; …

Software Development display vb.net visual-basic
Member Avatar for abu taher
0
123
Member Avatar for parijat24

[QUOTE]The actual file is as follows [/QUOTE] [CODE]>sp|P81928|140U_DROME 67 198 Tim17 8.9e-19 No_clan >sp|P20905|5HT1R_DROME 179 507 7tm_1 1.1e-97 CL0192 >sp|P28285|5HT2A_DROME 243 805 7tm_1 3.2e-73 CL0192 >sp|P28286|5HT2B_DROME 107 588 7tm_1 7.2e-82 CL0192 >sp|P13368|7LESS_DROME 439 520 fn3 1.4e-10 CL0159 1313 1380 fn3 3.4e-05 CL0159 1800 1890 fn3 3.6e-12 CL0159 2209 2481 Pkinase_Tyr …

Software Development python
Member Avatar for TrustyTony
0
153
Member Avatar for ftl25

I have a look up table as follows: [CODE] // A structure to hold all the commands and function pointers typedef struct { char functionName[256];// The function name is used to refer to the function pointer int (_stdcall *myfunction)(char *, char *); // This defines the function pointer } LOOKUP_TABLE; …

Software Development c
0
40
Member Avatar for creeps

I'm going through K.N. King's introductory [i]C Programming: A Modern Approach (2e)[/i] and every time I see the code in the book, I can't help but wonder what's the better way to write your code in the following situation. Should I use the curly brackets or not, and how much …

Software Development c
Member Avatar for [Alpha]-0mega-
0
200
Member Avatar for parijat24

hi, I am again involve in solving one trivial problem , that is I have a text file in which large number of entry are there like proteinid[COLOR="red"][/COLOR] sp|P13368|7LESS_DROME fn3 fn3 fn3 Pkinase_Tyr sp|P14599|A4_DROME A4_EXTRA APP_amyloid sp|P09478|ACH1_DROME Neur_chan_LBD Neur_chan_memb sp|P17644|ACH2_DROME Neur_chan_LBD Neur_chan_memb sp|P04755|ACH3_DROME Neur_chan_LBD Neur_chan_memb sp|P25162|ACH4_DROME Neur_chan_LBD Neur_chan_memb sp|P16395|ACM1_DROME 7tm_1 …

Software Development python
Member Avatar for parijat24
0
135
Member Avatar for danholding

hiya guys n girls, i am making a prgram where it sorts a list of files and pulls the 6 most recent files.. that is fine but i need it to pull 6 different dates ie... (this is what it does now test1 - 24/06/10 test2 - 24/06/10 test3 - …

Software Development python
Member Avatar for danholding
0
146
Member Avatar for Ellitivity

OK. So I'm making a simple game that is a car that moves around the screen according to the arrow keys. i have made code to rotate the car inside the picturebox, but i don't know how to make the car move in the direction that it is facing after …

Software Development vb.net
0
58
Member Avatar for BLY

Hi all, I'm trying to create a method Load that will call a stored procedure,the source code has some problems,really need some guidance still new in C# Ok here's the code now with some minor adjustments rather than just getting one data,i'm planning on retrieving all the parameter just by …

Software Development open-source
Member Avatar for BLY
0
120
Member Avatar for hazeeel

[CODE] coordinates2[i][0]= Double.parseDouble(text2.substring(30,38));//X coordinates2[i][1]= Double.parseDouble(text2.substring(38,46));//Y coordinates2[i][2]= Double.parseDouble(text2.substring(46,56));//Z [/CODE] Can I do this: coordinates2[i][j]= coordinates2[i][0]+ coordinates2[i][1]+ coordinates2[i][2]; Is it possible to add them all together ?

Software Development java
Member Avatar for javaAddict
0
52
Member Avatar for SC0

Hey guys ... I'm using VB6 and I need some help I have 3 forms the first form contains "listbox" and "add" button and "edit" button the second one contains a bunch of textboxes and "save" button the third one contains labels now when I click add button it goes …

Software Development visual-basic
Member Avatar for SC0
0
109
Member Avatar for Maya Pawar

Hi friends, Anyone know how to take backup of Access database through Coding in vb.net. Means when i click on button ,the folder should be automaticaly created and that folder contains Access database file with current entered records means updated database. Plz if u know plz help me all. Thanks …

Software Development vb.net
Member Avatar for JRitchie777
0
136
Member Avatar for capsitan

I am doing a payroll program that requires a sentinel value. I cant seem to get it right no matter how much I try. here is my code so far: //Filename: Payroll3.java //Description: Payroll calculator with sentinel loop //Author Name: Chris Russo //Date: 08/15/2010 import java.util.Scanner; public class Payroll3New { …

Software Development java
Member Avatar for tong1
0
416
Member Avatar for Sunshineserene

I have 2 arrays that are in a while loop each. I have declared the array ouside of the main, declaring it 'public static'. I want to use the values store in the array outside of the while loop, but I can't seem to do it. May I know how …

Software Development java programming-construct
Member Avatar for Sunshineserene
0
817
Member Avatar for jemimaloh

hi. could some one help me. I am trying to read the tokens into the array but the datatypes are incompatible. what should i do to cast it into the same thing. the numbers from my text file are actually floats. But i can make do with just the integers …

Software Development java
Member Avatar for ~s.o.s~
0
133
Member Avatar for prem2

Hi, Can anyone send the download link of j2ee server. thank you, With regards, Prem

Software Development java
Member Avatar for prem2
0
39
Member Avatar for rapids79

Hi, Is anyone aware of a trial UML or a freeware UML that can generate a sequence diagram from a code written in C in visual studio 2008? Thanks, rapids79

Software Development c visual-studio
Member Avatar for rapids79
0
69
Member Avatar for phierzon

how to save a selected radio button in visual basic so that as you visit the form..its still selected???please help..

Software Development visual-basic
Member Avatar for phierzon
0
71
Member Avatar for PixelExchange

Hi everyone.. I've recently switched over from Visual Studio 6.0 to visual Studio 2010.. The problem is studio 2010 does not have an "execute .exe button," as version 6 does. Is there a way to manually place an execute .exe button inside of visual 2010?

Software Development c++ visual-studio
Member Avatar for PixelExchange
0
111
Member Avatar for shannon.archer

Hey I've just started using C# and wanted to start employing DirectX as well however before I can start all the tutorials I go to say I have to add a reference to the library. Now I've installed and reinstalled the June 2010 DirectX SDK a few times but the …

Software Development
Member Avatar for shannon.archer
0
236
Member Avatar for emchom

I have a question that i have to solve and that is to create a program that will calculate the surface are of somebodies body, then to calculate how much sunscreen they will need to cover their entire body using functions. This is what i have so far but i …

Software Development cms python
Member Avatar for Beat_Slayer
0
212
Member Avatar for Bigbrain99

[CODE]void addname(string name) { ofstream myfile(CONTACTS,ios::app ); myfile.open(CONTACTS); if (myfile.is_open()); { myfile<<i++<<name<<endl; myfile.close(); } }[/CODE] Initially the codes just kept on overwriting the existing file, but after that i was told to put ios::app. However, it is still now working....now even worse...ofstream is not even writing the file...hellp..

Software Development c++ ios
Member Avatar for Bigbrain99
0
117
Member Avatar for Garee

Hello, I am starting to learn java and I was wondering if anyone know of any resources/websites that have projects I could attempt to improve my skills and expand my java knowledge? Thanks.

Software Development java
Member Avatar for new_programmer
0
831
Member Avatar for Babyblues

Hello, I am having trouble with my Odd/ Even Code. Can anyone help me with this? Or has a current code?

Software Development java
Member Avatar for new_programmer
0
1K
Member Avatar for Naveed_786

I am using the following code to delete record it did not delete record but just only populate message record deleted successfully what should i do now please please help me. [CODE]If TextBox1.Text = "" Then MessageBox.Show("Please Select record to delete......", "ALI ENTERPRISES", MessageBoxButtons.OK, MessageBoxIcon.Information) Exit Sub End If If …

Software Development open-source vb.net
Member Avatar for PsychoCoder
0
164
Member Avatar for lambing

Could someone help me, figure out why is that my new table always display the last row of data only. the code goes like this: [CODE] string connection_string = @"Data Source=.;Initial Catalog=calendar;Integrated Security=True"; SqlConnection conn; SqlCommand cmd; SqlDataReader dr; string cssMonth = "calMonth"; int i = 0; string[] dateTo; string[] …

Software Development asp
Member Avatar for lambing
0
141
Member Avatar for xfrolox

well i didn't know how to name it, well my problem is that when i put center parent its centered from the form that was open obviously but when i put my program after the screen resolution like it cuts more then the half of the program and i open …

Software Development vb.net
Member Avatar for xfrolox
0
217
Member Avatar for come_again

Hello everyone, I don't have much experience with C++ and it has been a while since I have last used it. Right now I am writing my own class for quaternions. My problem which I cannot figure out is what is wrong with the operator overload shown below... No matter …

Software Development c c# c++
Member Avatar for StuXYZ
0
173
Member Avatar for fladei

Hello DaniWeb community! I have the following problem: I developed and OpenID authentication system on C#, it worked perfectly on my LocalHost, but when I published it, I keep getting this error messages about No OpenID endpoint found. I'm using Google, Yahoo, Chi.mp and myOpenID, and with none of them …

Software Development asp.net publishing
Member Avatar for Momerath
0
266
Member Avatar for Bigbrain99

when i tried to compile it, why i got expected primary-expression before input? [CODE]#include "mylibrary.h" #include "contadd.h" //for function declaration void Contact::setname(string name) { ofstream myfile; myfile.open(CONTACTS); if (myfile.is_open()); { myfile<<name<<endl; myfile.close(); } i++; } int main(int argc, char* argv[]) { vector <string> input; Contact addingname; if (argc == 2) …

Software Development c++
Member Avatar for Bigbrain99
0
333
Member Avatar for CloneXpert

Hi, I have a constantly rotating image and i want to get the pixel at a specific point (where i click). The problem is that after the rotation the image won't update the bitmap with the new position, so the pixels will remain exactly the same whether the image is …

Software Development image
Member Avatar for Momerath
0
153
Member Avatar for enkidu75

I need to write a program for class. I'm not necessarily looking for code, just help. I need to file input data in this format: 01 - 00:53 - 70 01 - 02:45 - 50 01 - 03:31 - 79 01 - 04:30 - 56 01 - 05:55 - 59 …

Software Development c++
Member Avatar for mrnutty
0
116
Member Avatar for jeevsmyd

I have been advised by many people that it is better to use integer return type for main function instead of void ! I actually dont understand what return 0 means .. main returns 0 value to program ! What does that mean ?! Could you please help me understand …

Software Development c
Member Avatar for gerard4143
0
142
Member Avatar for gaishi

Hello, everyone I just wrote a program by using vc 2010 and it won't compile. The reason was 1>------ Build started: Project: 17, Configuration: Debug Win32 ------ 1> 17.cpp 1>c:\users\yuan\documents\visual studio 2010\projects\17\17.cpp(101): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 1>17.obj : error LNK2019: unresolved …

Software Development c++ visual-studio
Member Avatar for NicAx64
0
194
Member Avatar for Xufyan

[CODE] class character1{ public static void main (String args[]){ float a,b; a=Integer.parseInt (args[0]); b=(float)Math.acos(a*(180/3.14)); System.out.println (b); } }[/CODE] the above program isn't working when entering angle other than 1 , why ?

Software Development java
Member Avatar for tesuji
0
698
Member Avatar for Bigbrain99

When i tried to compile it, it gave me this error "no match for operator". Any idea how could this happen? This program will take user input and add it into dat file [CODE]#define CONTACTS "contacts.dat" #include <iostream> //enable the used of cin and cout #include <fstream> //enable writing file …

Software Development c++
Member Avatar for Bigbrain99
0
225
Member Avatar for mike42intn

I am trying to make this project and im very new to this but i really want to learn this can anyone check this code for me and tell me whats wrong with it. I have to get it to add 2 fractions display result then display result in decimal …

Software Development c++
Member Avatar for mike42intn
0
154
Member Avatar for breakid

Hi, I build a project in visual basic 2008 with reference excel. I copy the project to my notebook and now I get 15 error. [CODE] Warning 1 There are updated custom wrappers available for the following referenced components: Excel ,Microsoft.Office.Core. Warning 2 Cannot load type library for reference "AxMSChart20Lib". …

Software Development microsoft-office vb.net visual-basic
Member Avatar for JRitchie777
0
270
Member Avatar for scottyg13

Hi I was wondering if someone could help me with a code for my website? Basically what I want to do is have a drop down list that is essentially a matrix in the sense that picking one option leads to another and eventually you can narrow down the results …

Software Development java
Member Avatar for scottyg13
0
74
Member Avatar for SeanC

I'm trying to create a method which checks if a certain text file is empty, and if so it deletes it. However, the program seems to freeze for one reason or another when executing this part. [CODE]try { BufferedReader in = new BufferedReader(new FileReader("File List.txt")); String str; while ((str = …

Software Development file-system java
Member Avatar for SeanC
0
2K

The End.