132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dipps

hi, could some one help me to make a calculator connected to a DSP? This is for my real time systems project. the software used to complile is Code Composer Studio. DSP used in TI TMS320C6711. keypad is 4x4 Matrix X,Y type. I could not understand how to make the …

Software Development c
Member Avatar for dipps
0
130
Member Avatar for programmer321

[code] Hello, In one of my C codes, I have written a function for logging into a files. When the size of the file exceeds 10 MB, I close that file and open a new file. But at run time my Code is crashing at times during file closing. This …

Software Development c
Member Avatar for programmer321
0
2K
Member Avatar for jspear

Using VS 2003, I need to access Excel workbooks and sheets. anyone have some code snippets to do this? All help/advice gratefully appreciated Jim

Software Development vb.net
Member Avatar for GL.Za
0
139
Member Avatar for musicmancanora4

Basically im trying to design a dtd that represents a collection of movies Not sure why but when i try validate the dtd it says undetermined element declaration 'Movies' but i have declared it havnt i? could someone take a look at my code give me some pointers ? thanks …

Software Development xml
0
87
Member Avatar for sonia sardana

Private Sub Command3_Click() Dim a, b As Integer Dim divide As Double a = 10 b = 3 divide = div(a, b) MsgBox (divide) End Sub Private Function div(a, b) div = a / b End Function Function return type by default is integer in C. & if we do …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
86
Member Avatar for ITech

hi i aam trying to develop a project using vb and access i have got a problem i have 3 tables in access 1.Cust info table(fields are listed below) cust id,name,age,sex,country...etcxc(primary key cust id) 2,indate(fields are listed below) custid ,packageid,date,intime,outime(no primary key) 3.package info table(fields are listed below package id, …

Software Development visual-basic
Member Avatar for QVeen72
0
193
Member Avatar for InfinityArc

hi, i am new here. hello hello i have a few question about c++ (concept questions) can someone help me thanks. 1. if i want to make a boolean statement inside a class, do i need to have a accessor and mutator for it? and how do i declare it …

Software Development c++
Member Avatar for InfinityArc
0
156
Member Avatar for zawpai

Hi all, I haven't used 'Data Base' in VB 6.0. Now, I would like to create small data base with microsoft access 2003 for testing. Could anyone please give me some guidelines to do this or give me some good link to start to lean? Best Regards, zawpai

Software Development microsoft-access visual-basic
Member Avatar for zawpai
0
283
Member Avatar for Jasper11

Hey guys, im new here, Ive been learning python for the past month or two and have run into a bit of a problem. I have read a previous post on this forum with a similar problem. There answer was to flatten the list and then search it. This approach …

Software Development python
Member Avatar for Jasper11
0
8K
Member Avatar for cd0712

I have a project. please help me...... Write a program in C that do the following. 1. Accepts 1 parameter. The parameter is the filename to be processed. If there are no parameters, or if there are more than 1 parameters, show an error message. 2. Opens the file and …

Software Development c data-structure
Member Avatar for jephthah
0
141
Member Avatar for wollacott

g.c:12: warning: passing argument 1 of 'fgets' from incompatible pointer type g.c:12: error: too few arguments to function 'fgets' g.c:14: error: 'sc' undeclared (first use in this function) g.c:14: error: (Each undeclared identifier is reported only once g.c:14: error: for each function it appears in.) [CODE] #include <stdio.h> #include <string.h> …

Software Development c
Member Avatar for jephthah
0
288
Member Avatar for daviddoria

I had a global variable that could be seen by all of my functions. I was getting too many functions in the same file, so I made functions.h and functions.cpp. I put the function definitions in functions.cpp and the declarations in functions.h. In main.cpp, I include functions.h. The problem is, …

Software Development c++
Member Avatar for daviddoria
0
274
Member Avatar for clalexa2

I am trying to save a picture from a website ever hour. Can this be done? can anyone help me out?

Software Development python
Member Avatar for clalexa2
0
85
Member Avatar for knight fyre

I'm trying to create a function that will sort the contents of a file in alphabetical order. The problem I'm having is that the code doesn't seem to do anything. The only examples I could find have to do with arrays which I am not using but I tried to …

Software Development c
Member Avatar for knight fyre
0
1K
Member Avatar for Jennifer84

This for loop below sets 5 checkboxes in a checkedListBox. What I wonder is that when running the code below, 5 checkboxes is created and the checkboxes are "unchecked". What I am wondering is how it is possible to make these 5 created checkboxes "checked" and how it is possible …

Software Development c++
Member Avatar for Jennifer84
0
213
Member Avatar for enuff4life

I'm suppose return a change to user. Initially, the machine has Bills - 0 quarters - 5 dimes - 5 nickels - 5 user puts a money to machine(each coins are sum up to only maxium $1 i.e, user can only put 10 dimes maximum, or 20 nickels) but only …

Software Development java
Member Avatar for enuff4life
0
158
Member Avatar for ahjiefreak

Hi, I have a list of data in text files with :- ColA ColB ColC ColD ColE ColF 12 122 2280 30 0.012987 1.776 13 118 2280 30 0.012987 1.954 14 115 2620 30 0.011321 2.131 15 113 2654 30 0.011177 2.309 16 145 1882 25 0.013110 2.487 17 112 …

Software Development shell-scripting
Member Avatar for eggi
0
897
Member Avatar for bachmabt

This seems like a very simple process, but I cannot get the data out of the loop: I have a data file "slink.txt": [CODE]88 10112213 33332332 22011220 23110122 21231102 12222321 32131132 10023232[/CODE] I am trying to store the numbers in a 2 dimensional array: [CODE]f = open('slink.txt', 'r') rows = …

Software Development python
Member Avatar for bachmabt
0
147
Member Avatar for dnk

i wanna to get size of file. help me how to get this. anyone know how to do this. any help will be appreciated :)

Software Development file-system visual-basic
Member Avatar for Jx_Man
0
144
Member Avatar for jitupatil_2007

hey friends i am reading a csv file and i have to read a specifice coloumn form the file and that coloumn contains date and i have to read the date first and then keep a validation that if the dates in the file are between some dates then the …

Software Development
Member Avatar for JerryShaw
0
112
Member Avatar for TheBeast32

Hi i have been making two programs: one that sends a file's filebuf made into a char*, and another that receives that and writes it to a file. They're like exe sending programs. I can send the char* and write it onto the console using cout.write(), but when I try …

Software Development c++ ios
Member Avatar for TheBeast32
0
241
Member Avatar for Tyster

Hi there everyone, Is it possible to use more than one Layout Manager in a single GUI interface? I have classes (with event handlers) for various buttons, jtext menus, etc... but so far I've only built simple programs that use a single layout manager. When I call the setLayout() method …

Software Development gui java
Member Avatar for Tyster
0
238
Member Avatar for IU34

[URL="http://corvettecraz92.pastebin.com/f59db1508"](new code)[/URL] so, my new error message is 'local variable 'gold' refferenced before assignment.' now what?

Software Development python
Member Avatar for IU34
0
109
Member Avatar for IU34

yeah, another one...but this time in python! yay, more errors! :) first off, [URL="http://corvettecraz92.pastebin.com/f65e1cd3c"]here's the code..[/URL] (based off of chris99's code...the only example i could find for a text adventure game!) Now, my problem is where it says [code=python] elif prompt_p == 'examine sign': print """Behold the mysterious grating! For …

Software Development python
Member Avatar for IU34
0
285
Member Avatar for tootypegs

I was wondering if there is a way to convert an OLE date and time into a readable format using c++? I have looked at some of what time.h offers but cant find anything to convert OLE thanks

Software Development c++
Member Avatar for tootypegs
0
306
Member Avatar for aot

I've been trying to get some .JPGs to show up in Tkinter but have had no luck so far. Up until now I was just using PhotoImage, which takes .GIFs, but it would be nice if I could expand and use other formats. Any ideas? Also, I know that wxPython …

Software Development python tkinter
Member Avatar for woooee
0
235
Member Avatar for aot

I've been using Eclipse as my IDE for python programming, mostly because it's free. However, as far as I can tell, its debugger is not that great. All I ever get are notices of what line the error occurs on (and what the error type is) and, while this can …

Software Development ide python
Member Avatar for ZZucker
0
149
Member Avatar for buzincarl

Please Delete or go to [url]http://www.daniweb.com/forums/thread117080.html[/url]

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
88
Member Avatar for USUAggie

Hello all, I am having some trouble I hope you can help me out with. I am trying to input a list of text, which has the name of a sub, the hull number, and the homeport of the sub, like this: [B]USS West Virginia [SSBN-736] Kings Bay, Georgia[/B] a …

Software Development java
Member Avatar for ~s.o.s~
0
126
Member Avatar for Black Magic

Hey, i saw this thread about some one needing homework help but it was solved so i made one and it's not real homework but i was wondering how i could do something if the user entered a letter eg "e". [CODE=C++]#include <iostream> using namespace std; int main() { int …

Software Development c++
Member Avatar for Ancient Dragon
0
112
Member Avatar for Trckst3

Hey guys i'm still having trouble with my bubble sort in else if(choice==2). Where am i going wrong i'm about ready to pull my hair out #include <iostream> #include <iomanip> #include <algorithm> using namespace std; int main() { int i,num[20],n,j,choice,tmp; cout<< "Please enter 20 integers"; for (i=0; i<20; i++) { …

Software Development algorithm c++
Member Avatar for Sky Diploma
0
118
Member Avatar for Naruse

how to play avi file using vb.net ?? preferable with full screen mode help me to do this.

Software Development vb.net
Member Avatar for Jx_Man
0
671
Member Avatar for d0ugg

Hi all, So i'm creating a program that will read a file into a linked list. And the user will be able to add, remove and display the list. Im suppose to create a search function in order to find the link to remove or add or display. Here is …

Software Development c++ linked-list
Member Avatar for unclepauly
0
89
Member Avatar for wonder_laptop

Hello guys... i came across this statement on the internet "java uses Preemtive scheduling?!!!" and i have NO idea what it means. i found 2 definitions online: [U]A preemptive[/U] operating system allows external interrupts ( such as timers, communication devices, etc.) to cause the task that is running to be …

Software Development java operating-system
Member Avatar for wonder_laptop
0
137
Member Avatar for mussa187

I am trying to check the input for 8 bit an unsigned integer is this the right why to go about it? struct int8bit { unsigned int number : 8; } .

Software Development c++
Member Avatar for chiwawa10
0
83
Member Avatar for Zay

hello; while downloading the Microsoft visual C++ from a CD , a massage appers to me saying that it can not read a specific file and then another massege after the installing complate saying that the installation was not sucsseful the problem start then in the program it self , …

Software Development c++
Member Avatar for Zay
0
110
Member Avatar for Luckychap

Hi guys, I need to understand the concept of inheritance in Oops. Can any one explain with real life example the use of inheritence to enhance a super class. It will be very helfull to me if you can explain me the use of inheritence to build a simple car. …

Software Development c++
Member Avatar for chiwawa10
0
123
Member Avatar for Juma

I am new in Java. I have to write a program that accept a person weight and display the number of Calories the person need in one day. A person needs 19 calories per pound of body weight, so the formula expressed in java is calories= bodyweight*19. Use JOptionPane claas …

Software Development java java-swing
Member Avatar for jasimp
0
155
Member Avatar for infernojmd

i wanna know how to set an certain number with commas, for instance if i had this [CODE] #include <iostream> #include <iomanip> using namespace std; int main() { int numItems; double total; const double costOfItems = 1050; cout << "enter number of items "; cin >> numItems; total = costOfItems …

Software Development c++
Member Avatar for Lerner
0
108
Member Avatar for sam18

I want to display result when a student enter their rollno in a text box and click on the submit button. I know there are errors as i have tried many times before and each time i have changed it so Please help me in locating errors.I need it early. …

Software Development java
Member Avatar for Juma
0
158
Member Avatar for harkw002_UniSA

I have created an iterator for a vector and i need to create a return type for an object found in the vector. vector<Student>::iterator StudentRecord::find(const string& studentName){ vector<Student>::iterator find; for(find = students.begin(); find != students.end(); find++) { if(find->getName() == studentName){ return find; // Not sure if i am allowed to …

Software Development c++
Member Avatar for harkw002_UniSA
0
7K
Member Avatar for noraantonia

hello i am building an application in Visual c++ 6 and i want to save some variable values. i tried in all ways, until i try just to save a value that i declared right in the "Serialize" function of my CDocument class : [code=cplusplus] void CDiplomaDoc::Serialize(CArchive& ar) { r=3; …

Software Development c++ opengl
Member Avatar for Ancient Dragon
0
137
Member Avatar for daviddoria

is there a package for c++ that will allow me to make a matlab/gnuplot style plot from within c++? I would like to skip the step of writing data to a file and then using something else to read in the data and then plot it. Let me know what …

Software Development c++
Member Avatar for daviddoria
0
266
Member Avatar for rockmania

I need C code or program to save the output of the following program into a jpg file(any picture file)? i need to save the output of this program in to a picture file..i need to take printouts of those output..help me with the code that does the above thing... …

Software Development algorithm c
Member Avatar for Salem
0
151
Member Avatar for theausum

What is the difference between #define n 10 and const int n=10

Software Development c++
Member Avatar for Laiq Ahmed
0
138
Member Avatar for dks1383

Hi I have a window , there are some texts on that window , I know the hwnd of that window , how can I write a program whit win32 API (in vb6) to access the texts. (the texts are not in any control such as textbox or label ,...) …

Software Development api visual-basic
Member Avatar for dks1383
0
84
Member Avatar for harkw002_UniSA

1. How do i convert an object (students) which is of type string into a string. 2. How do i remove all characters from a string after a space character. ie. i want to read an Object eg. "WILSON","MBCP" convert it to a string and then remove "MBCP". Then i …

Software Development c++
Member Avatar for harkw002_UniSA
0
157
Member Avatar for Jade_me

Hi... i want to make flash window... after program completed something task then that window will flash. i ask my friend and he said to use api function. but i don't have an idea to do this. please help me masters... any help will be appreciated. best regard Jade

Software Development api flash visual-basic
Member Avatar for Jx_Man
0
159
Member Avatar for ruchika beddy

UseMnemonic -> Set this property to true, if you want to display a character in the captio property of the label as an access key. Suppose I write in the Caption property of the label--? &Ruchi. I know access key is invoked by ALT + letter that is underlined. But …

Software Development visual-basic
Member Avatar for ruchika beddy
0
147
Member Avatar for sonia sardana

Hey when i select the control ,to move to another position,thet are not moving. I m moving the controls using CTRL+ Arrow keys. What feature is to be turned on for moving the controls by selecting them.

Software Development visual-basic
Member Avatar for sonia sardana
0
65

The End.