43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for no1zson

Looks like I only made it a day and a half without a new question. I am not sure if that is good or bad. I have everything just about the way I want it. I am now putting new buttons in to my GUI to manipulate everything put in …

Software Development gui java java-swing
Member Avatar for peter_budo
0
272
Member Avatar for zandiago

Good day: We've just commenced our chapter on arrays. The way how it was presented just didn't click to me. The following is the assignment: " Use a one-dimensional array to solve the following problem. Read in 1000 numbers, each of which is between 10 and 100, inclusive. As each …

Software Development c++
Member Avatar for Lerner
0
417
Member Avatar for Naveed_Cn

Hi Everyone I m trying to open password protected Database for Data Report applying the following Code in Command Button1. Dim CN As ADODB.Connection Dim RS As ADODB.Recordset Set CN = New ADODB.Connection Set RS = New ADODB.Recordset CN.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0" & _ ";Data Source =" & App.Path & ".\MyDataBase.mdb" …

Software Development open-source visual-basic
Member Avatar for QVeen72
0
201
Member Avatar for ftom2

hi, i'm trying to create a shared object. the files i want to put in the shared object use a properties file to read some of the data. is there a way to include the properties file in the so file? if not, then how do i refer to the …

Software Development c++
Member Avatar for shouvik.d
0
91
Member Avatar for dilumjr

Does any one know how to configure [COLOR="Red"]VC++ 2005 [/COLOR]for a maya API project, to write a simple pulggin? I'm a beginer to Maya API.

Software Development api c++
Member Avatar for dilumjr
0
177
Member Avatar for GaryD.

1) An overview of what your program does. The entire program asks the user for a starting balance, then deposits and withdrawals, then asks the amounts of each, and then prints a record of all transactions and an ending balance. The area i'm having difficulty with is the part where …

Software Development c
Member Avatar for GaryD.
0
95
Member Avatar for no1zson

I am sure anyone here for more than an hour is familiar with the project I have been working on. I am currently researching listeners to try and get my fields to execute the proper calculations when moving from one to the next. Right now, even though I have those …

Software Development gui java java-swing
Member Avatar for no1zson
0
532
Member Avatar for DeathEvil

I have "converted" my prog to psedocode (I know, I should di it before writing source code" and everything is looking smoothly and easy to understand. The only problem I have is translating 2 lines involving array: [CODE] if (strcmp(full_name[index[inner]],full_name[index[inner+1]])>0)[/CODE] and [CODE]temp = index[inner],index[inner]= index[inner+1],index[inner+1]=temp;[/CODE] can anyone help me out? …

Software Development c
Member Avatar for DeathEvil
0
102
Member Avatar for dyoung02

Hi All, I am trying to use awk to strip out the java version after I run the java -version command. Unfortunately nothing I try works. Here is the command I am running along with the output: # /h/jre/bin/java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build …

Software Development shell-scripting
Member Avatar for dyoung02
0
134
Member Avatar for no1zson

Hedging my bets, I have coded a simpler version of the program Ezzaral is helping me with. I fear I am in over my head over there and may just begin to annoy him with silly questions. Most of what he and I are working on is beyond the scope …

Software Development java java-swing
Member Avatar for no1zson
0
77
Member Avatar for jaepi

Hello there, is there a corresponding function or struct in linux for the the struct SystemTime in windows? Thanks! :)

Software Development c++
Member Avatar for Ancient Dragon
0
120
Member Avatar for khalidxa

Hi guys, I am trying to pass a two dimensional array into a constructor. I am having hard time with it. Can anyone please tell me how to pass arrays into a parameter. the code is something like this : testCase::testCase(int i, int *matrix[][],float m) Your help is appreciated Khalid

Software Development c c# c++
Member Avatar for Lerner
0
116
Member Avatar for zite.1

Is there a way to create a GUI completely in C++ code?

Software Development c++ gui
Member Avatar for Arctic wolf
0
801
Member Avatar for Vikas Katara

I am making a script in Which FTP has to run automatically rather than providing user and password manualy...i just want to know the status that the file i am sending after FTP starts is reached successfully of not to destination by making a logfile ...which shows it is successful …

Software Development shell-scripting
Member Avatar for masijade
0
103
Member Avatar for DeathEvil

The prototype [code]void Print_Sorted_Employee_Detail_To_File(FILE *report, int i, int i2, int index, char full_name, float pay_rate, float hours, float ovt_hours, float gross, float federal_tax, float state_tax, float ssi_tax, float deferred, float net_pay);[/code] The call: [code] Print_Sorted_Employee_Detail_To_File(report, i, i2, index[i], full_name[i], pay_rate[i], hours[i], ovt_hours[i], gross[i], federal_tax[i], state_tax[i], ssi_tax[i], deferred[i], net_pay[i]);[/code] This is …

Software Development c
Member Avatar for DeathEvil
0
124
Member Avatar for shouvik.d

recently while studying STL i came thru functors and facades > http://en.wikipedia.org/wiki/Function_object] > A typical use of a functor is in writing more intelligent callback functions. A callback in procedural languages, such as C, may be accomplished by using function pointers. However it can be difficult or awkward to pass …

Software Development c++
Member Avatar for vijayan121
0
310
Member Avatar for complete

I am looking for a good example of how to do a pop-up menu in MFC. I have found this bit of code: [CODE]void CMyView::OnRButtonDown(UINT nFlags, CPoint point) { CView::OnRButtonDown(nFlags, point); CMenu* menu_bar = AfxGetMainWnd()->GetMenu(); CMenu* file_menu = menu_bar->GetSubMenu(0); ASSERT(file_menu); file_menu->TrackPopupMenu(TPM_LEFTALIGN |TPM_RIGHTBUTTON, point.x, point.y, this); }[/CODE] But what if my …

Software Development c++
Member Avatar for complete
0
1K
Member Avatar for no1zson

I have spent the weekend reading about GUI and how Java uses it, and all I got was confused. :o) I decided the best way to learn it was just to get in to it and start coding, so that is what I did. Went better than I thought it …

Software Development gui java java-swing user-interface
Member Avatar for no1zson
0
235
Member Avatar for chihwei

Need some help , i don't know where went wrong Thank you "Reversing the elements of an array involves swapping the corresponding elements of the array: the first with the last, the second with the next to the last, and so on, all the way to the middle of the …

Software Development java
Member Avatar for chihwei
0
267
Member Avatar for coco86

Please help me!!! i've done somecode but it doesnt seems to match... error Out of stack space.. Public Function isEmpty() Dim MyVar As String, MyCheck As String MyCheck = isEmpty(MyVar) ' Returns True. MyVar = Null ' Assign Null. MyCheck = isEmpty(MyVar) ' Returns False. MyVar = Empty ' Assign …

Software Development visual-basic
0
73
Member Avatar for teklu

Hi I want to draw a stroke line starting from point (x1,y1)to another point (x2,y2) If any help .

Software Development java
Member Avatar for teklu
0
108
Member Avatar for jaasaria

this is my first letter here in daniweb.plsss help... actually Im only a beginner in VB. i would like to make a form that can browse picture and text file that will be display in my form... I have a sample here but there are so many error. pleaseee kindly …

Software Development visual-basic
0
124
Member Avatar for coco86

let's say i want to read the substring and compare so i make a function Public Function tracingFNHdr(h As String) Left(h, 2) = Spid Mid(h, 3, 5) = Loc Mid(h, 6, 6) = TermType Mid(h, 7, 8) = TermNo Mid(h, 9, 13) = BatchNo Mid(h, 14, 15) = BatchType Mid(h, …

Software Development visual-basic
0
76
Member Avatar for tygerberg

Hi Where can I find information on networking in java? Like programming applets/Jframes as IM's or programs sending emails?

Software Development java
Member Avatar for peter_budo
0
122
Member Avatar for coco86

hello guys... im having trouble to open up the 2 files , i tried so many times , but i can't think what's the right directory should i put at the '??????' .... the purpose is to pass the value of directory so it can read and open up 2 …

Software Development visual-basic
Member Avatar for coco86
0
102
Member Avatar for lavilare

Hello I am new to this forum and was wondering if someone could give me advice regarding a good compiler to continue learning C++. I took a C++ course but used the gcc compiler in the labs, now that I got my laptop, I don't know where to start. Thanks …

Software Development c++ laptop
Member Avatar for jwenting
0
97
Member Avatar for Pastafarian

Hi, I'm just starting out in programming and I'm currently making a small program which shows how Bubble, selection and Insertion sorts work. I've found a small program which bubble sorts a user selected number of integers and shows each step at which these are sorted (each pass). However this …

Software Development visual-basic
Member Avatar for Pastafarian
0
165
Member Avatar for Akilah712

I am working on a project and I need to process a text file. I have read in the text file. What I want to do is break the textfile up. The textfile looks like this: >Name 1 ABCDEF GHIJKLM >Name2 GHIJKLM What I want is to store each name …

Software Development c++
Member Avatar for Akilah712
0
282
Member Avatar for no1zson

I want to learn more about how inheritance works, more like I NEED to learn more about it if I am to get any better at this. In my code I have the value of a cd defined as how many cds are in stock times the price of the …

Software Development java
Member Avatar for no1zson
0
97
Member Avatar for VISHOWNTAR

Hi, I am new in programming. I would appreciate if anyone can help me out to find maximum value of each column in the following matrix. int array[3][5]={{1,2,30,4,5},{3,41,5,6,7},{5,6,7,81,9}}; Thanks, Vishowntar

Software Development c++
Member Avatar for VISHOWNTAR
0
2K
Member Avatar for mohammadalipak

What's the difference between[CODE=c]char *Name; Name = malloc (13*sizeof(char)); strcpy (Name, "George Brown");[/CODE]and[CODE=c]char Name[13]; strcpy (Name, "George Brown");[/CODE]The compiler gives a warning in the second case: [INLINECODE]warning C4047: 'function' : 'char *' differs in levels of indirection from 'char *[13]'[/INLINECODE] & [INLINECODE]warning C4024: 'strcat' : different types for formal and …

Software Development c
Member Avatar for mohammadalipak
0
135
Member Avatar for nabilchampion

Hello to all there I m new to this forum and couldnt find the answer to my question so I am creating new thread for discussion on this topic. Recently I have taken some tests and one of many confusing question was this: "Maximum possible number of nodes in a …

Software Development c++
Member Avatar for Ancient Dragon
0
612
Member Avatar for Reg74

Program to demonstrate the Stack class #include <iostream> #include <vector> using namespace std; template<class T> class Stack { public: Stack(); bool empty() const; T top() const; T pop(); void push(T element); void Output(T element); private: vector <T> pool; }; //constructor template<class T> Stack<T>::Stack() { pool.reserve(10); } //function to output the …

Software Development c++
Member Avatar for Reg74
0
169
Member Avatar for plusplus

I want a certain form to be unloaded only when there is no other form loaded, how do I check if any of the other forms are still loaded

Software Development visual-basic
Member Avatar for jireh
0
108
Member Avatar for tformed

I am making a program where the user has to input text, and the program outputs the appropriate string. I made this program using if else statement, but professor said not to use if and else. So I want to know if I can use the switch statement. I know …

Software Development c++
Member Avatar for Killer_Typo
0
4K
Member Avatar for mohammadalipak

[B]strncpy[/B] is not working for me for the following variable. It is working fine elsewhere in the program. [CODE=c]char szQName[21]; strncpy(szQName, "Text", 20); //debugger shows szQName's value as -88D11B47-8F19-41CA-.[/CODE] Has it ever happened to anyone? [B]Details[/B] (context of the code): [CODE=c]char szQName[21]; LPSTR szFileName; //Long Pointer to a STRing (char*) …

Software Development c
Member Avatar for mohammadalipak
0
154
Member Avatar for mauro21pl

Hi guys where is the problem with that simple class program: #include<iostream> #include<conio.h> using namespace std; class DayOfYear { public: DayOfYear(int month,int day); void output(); void input(); private: int month_year; int day_year; }; DayOfYear::DayOfYear(int month,int day) { month_year=month; day_year=day; } void DayOfYear::output() { cout<<month_year<<"/"<<day_year; } void DayOfYear::input() { cout<<"What's your …

Software Development c++
Member Avatar for ~s.o.s~
0
158
Member Avatar for RohitSahni

Hi All, I want to convert char * to int. Plz help me out. Thanks in advance.

Software Development c++
Member Avatar for ~s.o.s~
0
32K
Member Avatar for staneja

I am trying to create a calss with a constructior that creates connection with MYSql database , i am using database name as dbetch . I have set the path varable but still it id throwing error package login; import java.sql.*; import java.sql.DriverManager; import com.mysql.jdbc.Connection; public class conn { Connection …

Software Development java mysql
Member Avatar for staneja
0
158
Member Avatar for plusplus

I want my program to do a search on a database [B][U]every few minutes [/U][/B]to check for something specific and if it's found, then to show a certain form. I have 8 forms in my project and I want the search to be done while any of them is open. …

Software Development visual-basic
Member Avatar for plusplus
0
81
Member Avatar for flaerpen

Hi there! How do I check if stdin is empty? This is how I write in the terminal to call my program: [CODE] >> cat file.txt | python script.py[/CODE] /flaerpen

Software Development python
Member Avatar for vegaseat
0
8K
Member Avatar for mayank_ati

hey i am new to visual basic programming...just 15-20 days into it... i wanna know how can i use command button to access the ms access files instead of using the data control....how can i do that???? i have tried a lot of things but to no effect .... please …

Software Development visual-basic
Member Avatar for mayank_ati
0
149
Member Avatar for patsfan4878

Hey all, back once again. I've got some more code that i need some help with. Thanks to Aia for his help as well. Anywho this time I've still got the fifty random integers and now I'm working on sorts. I've managed to complete the bubblesort portion of the book …

Software Development c
Member Avatar for patsfan4878
0
126
Member Avatar for jaepi

hello there, do anybody here have an idea of the Linux version of the GetTickCount() function. thanks! :)

Software Development c++
Member Avatar for jaepi
0
3K
Member Avatar for mauro21pl

Hi What is wrong with that piece of code.Why it doeasn't let me compile. It gives me that errors on Dev-C++ : 15 expected primary-expression before "void" 15 ISO C++ forbids declaration of `privite' with no type 15 expected `;' before "void" In member function `void DayOfYear::input()': 45 `check_date' undeclared …

Software Development c++
Member Avatar for Bench
0
143
Member Avatar for mohammadalipak

I need to create a data structure of data structures, but I can know "how many structs I need" only at runtime. [CODE=c]typedef struct tagPredefinedStruct{ int iSize; int iCount; } PREDEFINEDSTRUCT; int x; x = GetNumberofStructs(); //x is known only at runtime. typedef struct APIStruct { int iNumber; PREDEFINEDSTRUCT PreDefStruct[x]; …

Software Development api c data-structure
Member Avatar for mohammadalipak
0
288
Member Avatar for hinduengg

Hello once again . My teacher has given us the assignment to enter a string a [B]maximum of 7 charecters[/B] and permute it. Then print all of possible permutations . Like if the inputted word is JAY so Output would be JAY AJY AYJ JYA YAJ YJA I do not …

Software Development c++
Member Avatar for hinduengg
0
1K
Member Avatar for jaz854

hello guys, I have an access database table with ten columns and I want to be to load all the data from my table into a vb.net form. can somebody please guide me how to do this. thank you in advance.

Software Development vb.net
Member Avatar for jaz854
0
107
Member Avatar for nathanpacker

Hey, I didn't see a forum for shell scripting, so I hope this is the place to put it. As part of my new job, I'm learning a little shell scripting, working on an HP-UX system. I'm trying to automate a user account creation process, and I need to access …

Software Development shell-scripting
Member Avatar for jbennet
0
93
Member Avatar for no1zson

Of course I have to make things difficult. If I just put 5 cd names in to an array it would not be that hard to set up a sort for them, and get them in alphabetical order, but I have to have the user enter the names in, so …

Software Development java
Member Avatar for no1zson
0
133

The End.